UNPKG

sim-sdk-web

Version:

Sim SDK for Web

21 lines (20 loc) 376 B
export type LoginParams = { username: string; token: string; appKey?: string; anonLogin?: boolean; }; export declare type UploadFileParams = { name?: string; contentType?: string; uuid?: string; file: File; }; /** * 上传返回结构 */ export type UploadResult = { originalUrl?: string; thumbnailUrl?: string; error?: Error; };