verdnatura-chat/app/definitions/IUpload.ts

19 lines
339 B
TypeScript

import Model from '@nozbe/watermelondb/Model';
export interface IUpload {
id?: string;
rid?: string;
path: string;
name?: string;
tmid?: string;
description?: string;
size: number;
type?: string;
store?: string;
progress?: number;
error?: boolean;
subscription?: { id: string };
}
export type TUploadModel = IUpload & Model;