2022-01-11 13:51:48 +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-21 16:06:57 +00:00
|
|
|
roles?: string[];
|
2022-01-11 13:51:48 +00:00
|
|
|
avatarETag?: string;
|
2022-02-21 16:06:57 +00:00
|
|
|
showMessageInMainThread?: boolean;
|
|
|
|
isFromWebView?: boolean;
|
2022-01-11 13:51:48 +00:00
|
|
|
enableMessageParserEarlyAdoption?: boolean;
|
|
|
|
}
|
|
|
|
|
2022-02-01 13:39:09 +00:00
|
|
|
export type TLoggedUserModel = ILoggedUser & Model;
|