verdnatura-chat/app/definitions/IThreadMessage.ts

13 lines
251 B
TypeScript

import Model from '@nozbe/watermelondb/Model';
import { IMessage } from './IMessage';
export interface IThreadMessage extends IMessage {
tmsg?: string;
}
export type TThreadMessageModel = IThreadMessage &
Model & {
asPlain: () => IMessage;
};