UNPKG

colyseus_social_custom

Version:

Authentication and Social features for Colyseus

17 lines (16 loc) 468 B
import mongoose, { Document } from 'mongoose'; import { ObjectId } from '..'; export interface Message { id: string; senderId: ObjectId; value: string; enableSent: boolean; enableReceived: boolean; } export interface IFriendChat<T = any> extends Document { friendshipId: string; userAMessages: Message[]; userBMessages: Message[]; } declare const _default: mongoose.Model<IFriendChat<any>, {}>; export default _default;