SpaceNinjaServer/src/types/friendTypes.ts
Sainan c56507e12d feat: friends (#2004)
Closes #1288

Reviewed-on: OpenWF/SpaceNinjaServer#2004
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-05-07 20:14:21 -07: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;
}