Rocket.Chat.ReactNative/app/definitions/IUpload.ts

20 lines
354 B
TypeScript
Raw Normal View History

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 };
msg?: string;
}
export type TUploadModel = IUpload & Model;