@platform/cell.client
Version:
A strongly typed HTTP client for operating with a CellOS service end-point.
16 lines (15 loc) • 433 B
TypeScript
import { t } from '../common';
import { FireUploadEvent } from './HttpClientCellFs.upload.event';
export declare function uploadToTarget(args: {
http: t.Http;
urls: t.IFilePresignedUploadUrl[];
files: t.IHttpClientCellFileUpload[];
fire: FireUploadEvent;
}): Promise<{
ok: boolean;
status: number;
uri: string;
filename: string;
expiresAt: number;
error: t.IFileUploadError | undefined;
}>[];