mirror of https://github.com/fantasticit/think.git
36 lines
690 B
TypeScript
36 lines
690 B
TypeScript
export declare const FileApiDefinition: {
|
|
/**
|
|
* 上传文件
|
|
*/
|
|
upload: {
|
|
method: "post";
|
|
server: "upload";
|
|
client: () => string;
|
|
};
|
|
/**
|
|
* 上传分块文件
|
|
*/
|
|
initChunk: {
|
|
method: "post";
|
|
server: "upload/initChunk";
|
|
client: () => string;
|
|
};
|
|
/**
|
|
* 上传分块文件
|
|
*/
|
|
uploadChunk: {
|
|
method: "post";
|
|
server: "upload/chunk";
|
|
client: () => string;
|
|
};
|
|
/**
|
|
* 上传分块文件
|
|
*/
|
|
mergeChunk: {
|
|
method: "post";
|
|
server: "merge/chunk";
|
|
client: () => string;
|
|
};
|
|
};
|
|
export declare const FILE_CHUNK_SIZE: number;
|