import { RoomId, UserId, ProjectId, GroupId } from 'teambition-types'; export interface RoomSchema { _id: RoomId; _userIds: [UserId]; _projectId?: ProjectId; userChannel?: string; _boundToObjectId: string; boundToObjectType?: 'project' | 'group'; created: string; updated: string; noReply: boolean; users?: [object]; isMute?: boolean; project?: { isPublic: boolean; logo: string; modelType: string; name: string; pinyin: string; py: string; _id: ProjectId; }; group?: { logo: string; modelType: string; name: string; pinyin: string; py: string; _id: GroupId; }; }