@ttt-productions/upload-ui 0.7.3 → 0.7.4
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Generic mutation hook to clear a terminal pendingMedia item from the tray.
|
|
4
4
|
*
|
|
5
5
|
* Pure adapter: the consumer supplies `clearFn` (typically a wrapped Firebase
|
|
6
|
-
* callable in
|
|
6
|
+
* callable in the consuming app, or a fetch call elsewhere). The package owns the
|
|
7
7
|
* useMutation wiring and the optional `onError` toast hook; the consumer owns
|
|
8
8
|
* the network call.
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Generic mutation hook to mark terminal pendingMedia items as seen in the tray.
|
|
4
4
|
*
|
|
5
5
|
* Pure adapter: the consumer supplies `markFn` (typically a wrapped Firebase
|
|
6
|
-
* callable in
|
|
6
|
+
* callable in the consuming app that writes `uploadTraySeenAt`/`uploadTraySeenBy` on the
|
|
7
7
|
* caller's own terminal pendingMedia docs). The package owns the useMutation
|
|
8
8
|
* wiring and the optional `onError` hook; the consumer owns the network call.
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/upload-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Upload UI primitives: local upload guard provider, useGuardedUpload helper, DeferredUploadFormShell for forms that defer Firebase Storage upload until form submit.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"prepublishOnly": "npm run clean && npm run build"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ttt-productions/file-input": "^0.
|
|
44
|
-
"@ttt-productions/media-schemas": "^0.14.
|
|
45
|
-
"@ttt-productions/ui-core": "^0.11.
|
|
46
|
-
"@ttt-productions/upload-core": "^0.7.
|
|
43
|
+
"@ttt-productions/file-input": "^0.11.0",
|
|
44
|
+
"@ttt-productions/media-schemas": "^0.14.1",
|
|
45
|
+
"@ttt-productions/ui-core": "^0.11.4",
|
|
46
|
+
"@ttt-productions/upload-core": "^0.7.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@tanstack/react-query": ">=5.0.0",
|