2022-01-24 20:12:36 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
|
|
|
export interface ILoggedUser {
|
|
|
|
id: string;
|
|
|
|
token: string;
|
|
|
|
username: string;
|
|
|
|
name: string;
|
|
|
|
language?: string;
|
|
|
|
status: string;
|
|
|
|
statusText?: string;
|
2022-02-28 18:00:47 +00:00
|
|
|
roles?: string[];
|
2022-01-24 20:12:36 +00:00
|
|
|
avatarETag?: string;
|
2022-02-28 18:00:47 +00:00
|
|
|
showMessageInMainThread?: boolean;
|
|
|
|
isFromWebView?: boolean;
|
2022-01-24 20:12:36 +00:00
|
|
|
enableMessageParserEarlyAdoption?: boolean;
|
|
|
|
}
|
|
|
|
|
2022-02-28 18:00:47 +00:00
|
|
|
export type TLoggedUserModel = ILoggedUser & Model;
|