SpaceNinjaServer/src/types/friendTypes.ts

25 lines
554 B
TypeScript
Raw Normal View History

2025-05-07 10:59:22 +02:00
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;
}