forked from OpenWF/SpaceNinjaServer
		
	Reviewed-on: OpenWF/SpaceNinjaServer#2408 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			598 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			598 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { Types } from "mongoose";
 | 
						|
import { IMongoDate, IOidWithLegacySupport } from "@/src/types/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;
 | 
						|
}
 |