@mcurros2/microm 1.1.347-0 → 1.1.348-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1221,6 +1221,7 @@ export interface UseFileUploadProps {
|
|
|
1221
1221
|
onBeforeUpload?: (file: File) => Promise<boolean>;
|
|
1222
1222
|
onBeforeReplace?: (currentFile: UploadProgressReport, replacementFile?: File) => Promise<boolean>;
|
|
1223
1223
|
onUploadComplete?: (report: UploadProgressReport) => Promise<UploadCompletionResult | void>;
|
|
1224
|
+
onDeleteComplete?: (fileGUID: string) => Promise<void> | void;
|
|
1224
1225
|
thumbnailMaxSize?: number;
|
|
1225
1226
|
thumbnailQuality?: number;
|
|
1226
1227
|
loadFilesOnMount?: boolean;
|
|
@@ -2629,6 +2630,7 @@ export interface useAvatarUploaderProps {
|
|
|
2629
2630
|
maxFileSize?: number;
|
|
2630
2631
|
editor?: boolean;
|
|
2631
2632
|
imageProcessing?: AvatarImageProcessingOptions;
|
|
2633
|
+
onDeleteComplete?: (fileGUID: string) => Promise<void> | void;
|
|
2632
2634
|
}
|
|
2633
2635
|
export type AvatarUploaderLabels = {
|
|
2634
2636
|
modalTitle?: string;
|