@files-ui/core
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -56,2 +56,21 @@ import { ExtFile } from "./ExtFile"; | ||
urlFromExtFile?: (f: ExtFile) => string; | ||
/** | ||
* If true, the file will be uploaded as blob rather than FormData | ||
* @default false | ||
*/ | ||
asBlob?: boolean; | ||
/** | ||
* If true, the file will be uploaded in chunks | ||
* @default false | ||
*/ | ||
/** | ||
* If given, the file will be uploaded in chunks. Also the size of each chunk will be this value in megabytes. | ||
* @default undefined | ||
*/ | ||
chunkSize?: number; | ||
/** | ||
* If given, the file will be uploaded in chunks. Also the number of chunks will be this value in megabytes. | ||
* @default undefined | ||
*/ | ||
numberOfChunks?: number; | ||
}; | ||
@@ -58,0 +77,0 @@ export declare const createUploadConfig: (url?: string, method?: Method, headers?: Record<string, string>, uploadLabel?: string, cleanonUpload?: boolean) => { |
{ | ||
"name": "@files-ui/core", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Base code for Files UI", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
941603
9662