think/packages/domains/lib/api/file.d.ts

65 lines
1.2 KiB
TypeScript
Raw Normal View History

2022-05-23 05:05:59 +00:00
export declare const FileApiDefinition: {
/**
*
*/
upload: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "upload";
client: () => string;
};
2022-06-04 19:14:47 +00:00
/**
*
2022-06-04 19:14:47 +00:00
*/
initChunk: {
method: "post";
server: "upload/initChunk";
client: () => string;
};
2022-06-04 09:01:33 +00:00
/**
*
*/
uploadChunk: {
method: "post";
server: "upload/chunk";
client: () => string;
};
/**
*
*/
mergeChunk: {
method: "post";
server: "merge/chunk";
client: () => string;
};
/**
*
*/
ossSign:{
method: "post";
server: "upload/ossSign";
client: () => string;
};
/**
*
*/
ossChunk:{
method: "post";
server: "upload/ossChunk";
client: () => string;
};
/**
*
*/
ossMerge:{
method: "post";
server: "upload/ossMerge";
client: () => string;
};
2022-05-23 05:05:59 +00:00
};
2022-06-04 09:01:33 +00:00
export declare const FILE_CHUNK_SIZE: number;