2022-01-11 13:51:48 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
2021-12-03 19:27:57 +00:00
|
|
|
|
2022-01-11 13:51:48 +00:00
|
|
|
import { IServedBy } from './IServedBy';
|
2021-12-03 19:27:57 +00:00
|
|
|
|
2022-01-11 13:51:48 +00:00
|
|
|
export interface IRoom {
|
|
|
|
id: string;
|
|
|
|
customFields: string[];
|
|
|
|
broadcast: boolean;
|
|
|
|
encrypted: boolean;
|
|
|
|
ro: boolean;
|
|
|
|
v?: string[];
|
|
|
|
servedBy?: IServedBy;
|
|
|
|
departmentId?: string;
|
|
|
|
livechatData?: any;
|
|
|
|
tags?: string[];
|
|
|
|
e2eKeyId?: string;
|
|
|
|
avatarETag?: string;
|
2021-12-03 19:27:57 +00:00
|
|
|
}
|
2022-01-11 13:51:48 +00:00
|
|
|
|
|
|
|
export type TRoomModel = IRoom & Model;
|