SpaceNinjaServer/src/types/friendTypes.ts
Sainan 21164554a3
Some checks failed
Build / build (push) Has been cancelled
Build Docker image / docker (push) Has been cancelled
chore: some fixes to enter guild dojo on U15 (#2088)
Reviewed-on: #2088
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-05-18 19:06:24 -07:00

25 lines
588 B
TypeScript

import { Types } from "mongoose";
import { IMongoDate, IOidWithLegacySupport } from "./commonTypes";
export interface IFriendInfo {
_id: IOidWithLegacySupport;
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;
}