@kumwe/studio-testkit 0.1.0-alpha.2 → 0.1.0-alpha.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.
@@ -0,0 +1,26 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "media-vector",
4
+ "id": "vector.media-vector.retry.fresh-session",
5
+ "description": "Retrying a failed upload is legal only from the failed state and always runs under a fresh session identity with the identical request; a deterministic policy rejection therefore repeats identically.",
6
+ "policy": {
7
+ "acceptedMediaTypes": ["image/jpeg", "image/png"],
8
+ "chunkBytes": 1024,
9
+ "maximumBytes": 4096,
10
+ "resumable": true
11
+ },
12
+ "request": {
13
+ "filename": "clip.mp4",
14
+ "mediaType": "video/mp4",
15
+ "byteSize": 2048,
16
+ "purpose": "studio.media/entry-image"
17
+ },
18
+ "expect": {
19
+ "outcome": "rejected",
20
+ "code": "studio.media/upload-failed",
21
+ "messageMustNotContain": ["video/mp4"]
22
+ },
23
+ "retry": {
24
+ "freshSession": true
25
+ }
26
+ }