@ttt-productions/media-viewer 0.10.1 → 0.10.2
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/recovery.d.ts +4 -4
- package/package.json +3 -3
package/dist/recovery.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Opaque diagnosis result returned by the app's probe(). The package treats
|
|
10
10
|
* this value OPAQUELY — it only checks the `kind` discriminant; all
|
|
11
|
-
* domain-specific interpretation (
|
|
12
|
-
* in the app adapter.
|
|
11
|
+
* domain-specific interpretation (a product-specific deny header, HTTP status
|
|
12
|
+
* codes, etc.) lives in the app adapter.
|
|
13
13
|
*/
|
|
14
14
|
export type DiagnosisResult = {
|
|
15
15
|
kind: "transient";
|
|
@@ -21,12 +21,12 @@ export type DiagnosisResult = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Optional hint from the app about the asset's known server-side lifecycle
|
|
23
23
|
* state. When provided it informs which recovery states are applicable.
|
|
24
|
-
* The package treats these opaquely — it does not interpret
|
|
24
|
+
* The package treats these opaquely — it does not interpret product-specific
|
|
25
25
|
* pendingMedia.publicationState fields directly.
|
|
26
26
|
*/
|
|
27
27
|
export type AssetStatusHint = "processing" | "finalizing" | "live" | "failed" | "rejected";
|
|
28
28
|
/**
|
|
29
|
-
* Injected adapter interface. The
|
|
29
|
+
* Injected adapter interface. The consuming app implements this; generic consumers
|
|
30
30
|
* may supply a no-op or partial adapter.
|
|
31
31
|
*
|
|
32
32
|
* Every method is optional — callers guard before invoking.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/media-viewer",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/ttt-productions/ttt-packages.git",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"prepublishOnly": "npm run clean && npm run build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ttt-productions/media-schemas": "^0.14.
|
|
37
|
-
"@ttt-productions/ui-core": "^0.11.
|
|
36
|
+
"@ttt-productions/media-schemas": "^0.14.1",
|
|
37
|
+
"@ttt-productions/ui-core": "^0.11.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=19.0.0",
|