verdnatura-chat/app/definitions/ISubscriptions.ts

34 lines
662 B
TypeScript

import Model from '@nozbe/watermelondb/Model';
export interface ISubscriptions {
_id: string;
name: string;
fname: string;
rid: string;
unread: number;
tunread: string;
tunreadUser: string;
tunreadGroup: string;
joinCodeRequired: boolean;
alert: boolean;
userMentions: object;
ls: Date;
jitsiTimeout: number;
ignored: any;
announcement: string;
sysMes: string;
archived: string;
broadcast: string;
autoTranslateLanguage: string;
autoTranslate: boolean;
reactWhenReadOnly: boolean;
f: boolean;
ro: boolean;
blocked: boolean;
blocker: boolean;
muted: boolean;
roles: string;
}
export type TSubscriptionsModel = ISubscriptions & Model;