2022-01-11 13:51:48 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
|
|
|
export interface IUpload {
|
2022-02-21 16:06:57 +00:00
|
|
|
id?: string;
|
|
|
|
rid?: string;
|
|
|
|
path: string;
|
2022-01-11 13:51:48 +00:00
|
|
|
name?: string;
|
2022-12-21 17:34:48 +00:00
|
|
|
tmid?: string;
|
2022-01-11 13:51:48 +00:00
|
|
|
description?: string;
|
|
|
|
size: number;
|
|
|
|
type?: string;
|
|
|
|
store?: string;
|
2022-02-21 16:06:57 +00:00
|
|
|
progress?: number;
|
|
|
|
error?: boolean;
|
|
|
|
subscription?: { id: string };
|
2022-01-11 13:51:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type TUploadModel = IUpload & Model;
|