vn-verdnaturachat/app/definitions/ILoggedUser.ts

19 lines
404 B
TypeScript
Raw Normal View History

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;
}
export type TLoggedUserModel = ILoggedUser & Model;