2022-01-24 20:12:36 +00:00
|
|
|
import Model from '@nozbe/watermelondb/Model';
|
|
|
|
|
|
|
|
export interface IUpload {
|
2022-02-28 18:00:47 +00:00
|
|
|
id?: string;
|
|
|
|
rid?: string;
|
|
|
|
path: string;
|
2022-01-24 20:12:36 +00:00
|
|
|
name?: string;
|
|
|
|
description?: string;
|
|
|
|
size: number;
|
|
|
|
type?: string;
|
|
|
|
store?: string;
|
2022-02-28 18:00:47 +00:00
|
|
|
progress?: number;
|
|
|
|
error?: boolean;
|
|
|
|
subscription?: { id: string };
|
2022-01-24 20:12:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export type TUploadModel = IUpload & Model;
|