SpaceNinjaServer/src/types/friendTypes.ts
Sainan 8c0ff5d150
All checks were successful
Build / build (push) Successful in 58s
Build / build (pull_request) Successful in 1m48s
feat: friends
2025-05-07 10:59:22 +02:00

25 lines
554 B
TypeScript

import { Types } from "mongoose";
import { IMongoDate, IOid } from "./commonTypes";
export interface IFriendInfo {
_id: IOid;
DisplayName?: string;
PlatformNames?: string[];
PlatformAccountId?: string;
Status?: number;
ActiveAvatarImageType?: string;
LastLogin?: IMongoDate;
PlayerLevel?: number;
Suffix?: number;
Note?: string;
Favorite?: boolean;
NewRequest?: boolean;
}
export interface IFriendship {
owner: Types.ObjectId;
friend: Types.ObjectId;
Note?: string;
Favorite?: boolean;
}