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;
|
|
|
|
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;
|