2025-05-07 20:14:21 -07:00
|
|
|
import { Types } from "mongoose";
|
2025-05-18 19:06:24 -07:00
|
|
|
import { IMongoDate, IOidWithLegacySupport } from "./commonTypes";
|
2025-05-07 20:14:21 -07:00
|
|
|
|
|
|
|
export interface IFriendInfo {
|
2025-05-18 19:06:24 -07:00
|
|
|
_id: IOidWithLegacySupport;
|
2025-05-07 20:14:21 -07:00
|
|
|
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;
|
|
|
|
}
|