2022-01-11 13:51:48 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
2022-02-22 12:07:54 +00:00
|
|
|
import { IEnterpriseModules } from '../reducers/enterpriseModules';
|
|
|
|
|
2021-12-03 19:27:57 +00:00
|
|
|
export interface IServer {
|
|
|
|
name: string;
|
|
|
|
iconURL: string;
|
|
|
|
useRealName: boolean;
|
|
|
|
FileUpload_MediaTypeWhiteList: string;
|
|
|
|
FileUpload_MaxFileSize: number;
|
2022-02-10 12:10:42 +00:00
|
|
|
roomsUpdatedAt: Date | null;
|
2021-12-03 19:27:57 +00:00
|
|
|
version: string;
|
|
|
|
lastLocalAuthenticatedSession: Date;
|
|
|
|
autoLock: boolean;
|
2022-01-12 12:54:04 +00:00
|
|
|
autoLockTime?: number;
|
|
|
|
biometry?: boolean;
|
2021-12-03 19:27:57 +00:00
|
|
|
uniqueID: string;
|
2022-02-22 12:07:54 +00:00
|
|
|
enterpriseModules: IEnterpriseModules;
|
2021-12-03 19:27:57 +00:00
|
|
|
E2E_Enable: boolean;
|
|
|
|
}
|
2022-01-11 13:51:48 +00:00
|
|
|
|
|
|
|
export type TServerModel = IServer & Model;
|