|
@@ -39,7 +39,7 @@ interface UploadProgressDetails {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type MinioMultipartUploadPolicy = InferResponseType<typeof fileClient["multipart-policy"]['$post'],200>
|
|
type MinioMultipartUploadPolicy = InferResponseType<typeof fileClient["multipart-policy"]['$post'],200>
|
|
|
-type MinioUploadPolicy = InferResponseType<typeof fileClient["policy"]['$post'],200>
|
|
|
|
|
|
|
+type MinioUploadPolicy = InferResponseType<typeof fileClient["upload-policy"]['$post'],200>
|
|
|
|
|
|
|
|
|
|
|
|
|
const PART_SIZE = 5 * 1024 * 1024; // 每部分5MB
|
|
const PART_SIZE = 5 * 1024 * 1024; // 每部分5MB
|