UNPKG

filestack-js

Version:

Official JavaScript library for Filestack

475 lines (474 loc) 12.3 kB
export declare const PickerParamsSchema: { $schema: string; title: string; description: string; type: string; additionalProperties: boolean; properties: { allowManualRetry: { type: string; }; accept: { additionalProperties: boolean; oneOf: ({ type: string; minItems?: undefined; items?: undefined; } | { type: string; minItems: number; items: { type: string; }[]; })[]; }; acceptFn: { format: string; }; websearch: { type: string; properties: { predefinedText: { type: string; }; }; }; fromSources: { type: string; items: { anyOf: ({ type: string; enum: string[]; } | { type: string; enum?: undefined; })[]; }; }; container: { format: string; }; cleanupImageExif: { oneOf: ({ type: string; additionalProperties?: undefined; properties?: undefined; } | { type: string; additionalProperties: boolean; properties: { keepOrientation: { type: string; }; keepICCandAPP: { type: string; }; }; })[]; }; displayMode: { type: string; enum: string[]; }; concurrency: { type: string; minimum: number; maximum: number; }; supportEmail: { type: string; }; customSourceContainer: { type: string; }; customSourcePath: { type: string; }; customSourceName: { type: string; }; disableStorageKey: { type: string; }; disableTransformer: { type: string; }; disableAltText: { type: string; }; disableThumbnails: { type: string; }; exposeOriginalFile: { type: string; }; globalDropZone: { type: string; }; hideModalWhenUploading: { type: string; }; imageDim: { type: string; minItems: number; maxItems: number; items: { type: string; minimum: number; }[]; }; imageMax: { type: string; minItems: number; maxItems: number; items: { type: string; minimum: number; }[]; }; imageMin: { type: string; minItems: number; maxItems: number; items: { type: string; minimum: number; }[]; }; imageMinMaxBlock: { type: string; default: boolean; }; lang: { type: string; enum: string[]; }; minFiles: { type: string; minimum: number; maximum: number; }; maxFiles: { type: string; minimum: number; maximum: number; }; maxSize: { type: string; minimum: number; }; modalSize: { type: string; minItems: number; maxItems: number; items: { type: string; minimum: number; maximum: number; }[]; }; rootId: { type: string; }; startUploadingWhenMaxFilesReached: { type: string; }; uploadInBackground: { type: string; }; videoResolution: { type: string; }; onCancel: { format: string; }; onClose: { format: string; }; onOpen: { format: string; }; onFileSelected: { format: string; }; onFileUploadCancel: { format: string; }; onFileUploadStarted: { format: string; }; onFileUploadFinished: { format: string; }; onFileUploadFailed: { format: string; }; onFileUploadProgress: { format: string; }; onUploadStarted: { format: string; }; onUploadDone: { format: string; }; onFileCropped: { format: string; }; storeTo: { additionalProperties: boolean; type: string; properties: { filename: { type: string; }; location: { $ref: string; }; container: { type: string; }; path: { type: string; }; region: { type: string; }; access: { type: string; enum: string[]; }; workflows: { $ref: string; }; }; }; viewType: { type: string; enum: string[]; }; transformations: { type: string; additionalProperties: boolean; properties: { config: { type: string; }; circle: { type: string; }; rotate: { type: string; }; force: { type: string; }; crop: { oneOf: ({ type: string; additionalProperties?: undefined; properties?: undefined; } | { type: string; additionalProperties: boolean; properties: { force: { type: string; }; aspectRatio: { type: string; }; }; })[]; }; }; }; customText: { type: string; patternProperties: { '.*': { type: string; }; }; }; cropFiles: { type: string; minItems: number; }; loadCss: { type: string; }; failOverMaxFiles: { type: string; }; dropPane: { type: string; properties: { cropFiles: { type: string; minItems: number; }; customText: { type: string; }; disableClick: { type: string; }; overlay: { type: string; }; showIcon: { type: string; }; showProgress: { type: string; }; onDragEnter: { format: string; }; onProgress: { format: string; }; onDragLeave: { format: string; }; onDragOver: { format: string; }; onDrop: { format: string; }; onSuccess: { format: string; }; onError: { format: string; }; onClick: { format: string; }; }; }; errorsTimeout: { type: string; minimum: number; }; customAuthText: { type: string; patternProperties: { '.*': { additionalProperties: boolean; type: string; required: string[]; properties: { top: { type: string; }; bottom: { type: string; }; }; }; }; }; uploadConfig: { type: string; additionalProperties: boolean; properties: { tags: { type: string; additionalProperties: { anyOf: ({ type: string; format?: undefined; } | { format: string; type?: undefined; })[]; }; }; partSize: { type: string; minimum: number; }; concurrency: { type: string; minimum: number; maximum: number; }; progressInterval: { type: string; minimum: number; }; retry: { type: string; minimum: number; maximum: number; }; retryFactor: { type: string; }; retryMaxTime: { type: string; }; timeout: { type: string; minimum: number; maximum: number; }; intelligent: { oneOf: ({ type: string; enum?: undefined; } | { type: string; enum: string[]; })[]; }; intelligentChunkSize: { type: string; }; onProgress: { format: string; }; onRetry: { format: string; }; disableIntegrityCheck: { type: string; }; altText: { type: string[]; maxLength: number; }; }; }; useSentryBreadcrumbs: { type: string; }; transformationsUI: { type: string; }; pasteMode: { type: string; additionalProperties: boolean; properties: { pasteToFirstInViewPort: { type: string; }; pasteToFirstInstance: { type: string; }; }; }; disableDirectoryUpload: { type: string; }; miniUploader: { type: string; }; multipleFileUpload: { type: string; }; }; };