wicked-crew-api-types 0.118.0 → 0.119.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/index.d.ts +13 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -7984,6 +7984,19 @@ export interface DemoView {
|
|
|
7984
7984
|
seats: { recorder: string | null; reviewer: string | null };
|
|
7985
7985
|
/** The script says which data is synthetic. */
|
|
7986
7986
|
syntheticLabelled: boolean;
|
|
7987
|
+
/** The wicked-interactive document made from this run's demo (`POST /runs/:id/demo/document`), which the video
|
|
7988
|
+
* editor re-cuts through `/projects/:projectId/interactive/d/:docId/api/demo/*`; null until made. ABSENT from a
|
|
7989
|
+
* daemon before api-types 0.119.0. */
|
|
7990
|
+
document?: { projectId: string; docId: string } | null;
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
/** `POST /runs/:id/demo/document` → 200 (idempotent: `created:false` when it was made before). 404 not a demo run
|
|
7994
|
+
* or no such project; 409 the run has not completed (or been cancelled) yet, or a chapter without a recorded segment; 502 the interactive
|
|
7995
|
+
* bridge refused it; 503 the bridge is unavailable. */
|
|
7996
|
+
export interface DemoDocumentResponse {
|
|
7997
|
+
projectId: string;
|
|
7998
|
+
docId: string;
|
|
7999
|
+
created: boolean;
|
|
7987
8000
|
}
|
|
7988
8001
|
|
|
7989
8002
|
/** What `POST /runs/:id/demo/export` makes (EP-C3; api-types 0.72.0). The MP4 itself needs no export: download `video.path`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.119.0",
|
|
4
4
|
"description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|