@micromerce/media-fileuploader 1.0.1911 → 1.0.1919
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/cjs/types/FileUploader/FileUploader.lifecycle.test.d.ts +1 -0
- package/dist/cjs/types/FileUploader/components/Uploader/components/ImagePreview/ImagePreview.test.d.ts +1 -0
- package/dist/cjs/types/FileUploader/utils/fakeTus.d.ts +6 -2
- package/dist/cjs/types/FileUploader/utils/mediaType.test.d.ts +1 -0
- package/dist/cjs/types/FileUploader/utils/uppyInstance.test.d.ts +1 -0
- package/dist/cjs/types/FileUploader/utils/utils.test.d.ts +1 -0
- package/dist/esm/types/FileUploader/FileUploader.lifecycle.test.d.ts +1 -0
- package/dist/esm/types/FileUploader/components/Uploader/components/ImagePreview/ImagePreview.test.d.ts +1 -0
- package/dist/esm/types/FileUploader/utils/fakeTus.d.ts +6 -2
- package/dist/esm/types/FileUploader/utils/mediaType.test.d.ts +1 -0
- package/dist/esm/types/FileUploader/utils/uppyInstance.test.d.ts +1 -0
- package/dist/esm/types/FileUploader/utils/utils.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A stand-in for @uppy/tus, used by FileUploader.upload.test.tsx
|
|
2
|
+
* A stand-in for @uppy/tus, used by FileUploader.upload.test.tsx and
|
|
3
|
+
* FileUploader.lifecycle.test.tsx.
|
|
3
4
|
*
|
|
4
5
|
* It is a real Uppy uploader plugin rather than a jest.fn(), on purpose: the
|
|
5
6
|
* component's error and progress handling depends on Uppy's *internal* event
|
|
@@ -11,7 +12,10 @@
|
|
|
11
12
|
* exactly what a major Uppy upgrade changes silently. Driving the events through
|
|
12
13
|
* `uppy.emit` keeps the whole chain under test.
|
|
13
14
|
*
|
|
14
|
-
* Faithful to @uppy/tus 3.x in
|
|
15
|
+
* Faithful to @uppy/tus 3.x in three details that matter:
|
|
16
|
+
* - `upload-start` is emitted for the batch before uploading, because Uppy core
|
|
17
|
+
* is what turns that into `progress.uploadStarted`, which the unmount path
|
|
18
|
+
* reads via uploadInProgress;
|
|
15
19
|
* - per-file failures do not reject the uploader (Tus collects them with
|
|
16
20
|
* Promise.allSettled), so the global `error` event is not raised by us;
|
|
17
21
|
* - `onBeforeRequest` / `onAfterResponse` are invoked with the same shape the
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A stand-in for @uppy/tus, used by FileUploader.upload.test.tsx
|
|
2
|
+
* A stand-in for @uppy/tus, used by FileUploader.upload.test.tsx and
|
|
3
|
+
* FileUploader.lifecycle.test.tsx.
|
|
3
4
|
*
|
|
4
5
|
* It is a real Uppy uploader plugin rather than a jest.fn(), on purpose: the
|
|
5
6
|
* component's error and progress handling depends on Uppy's *internal* event
|
|
@@ -11,7 +12,10 @@
|
|
|
11
12
|
* exactly what a major Uppy upgrade changes silently. Driving the events through
|
|
12
13
|
* `uppy.emit` keeps the whole chain under test.
|
|
13
14
|
*
|
|
14
|
-
* Faithful to @uppy/tus 3.x in
|
|
15
|
+
* Faithful to @uppy/tus 3.x in three details that matter:
|
|
16
|
+
* - `upload-start` is emitted for the batch before uploading, because Uppy core
|
|
17
|
+
* is what turns that into `progress.uploadStarted`, which the unmount path
|
|
18
|
+
* reads via uploadInProgress;
|
|
15
19
|
* - per-file failures do not reject the uploader (Tus collects them with
|
|
16
20
|
* Promise.allSettled), so the global `error` event is not raised by us;
|
|
17
21
|
* - `onBeforeRequest` / `onAfterResponse` are invoked with the same shape the
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|