UNPKG

@kaaiot/services

Version:

Type definitions for KaaIoT platform REST API service communication

26 lines (25 loc) 528 B
export interface FileInfo { name: string; size: number; lastModified: string; isDirectory: boolean; path: string; } export interface CheckFileExistsParams { fileName: string; bucketName: string; } export interface CheckFileExistsResponse { exists: boolean; } export interface UploadFileParams { file: File; customFileName?: string; folder: string; isPublic: boolean; checksumAlgorithm?: string; } export interface UploadFileResponse { fileName: string; url: string; }