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