wicked-crew-api-types 0.117.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 +44 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5472,6 +5472,37 @@ export interface SystemSettings {
|
|
|
5472
5472
|
[key: `studio.${string}`]: unknown;
|
|
5473
5473
|
}
|
|
5474
5474
|
|
|
5475
|
+
/**
|
|
5476
|
+
* The demo video's palette from the operator's studio skin (`studio.appearance`): each colour `#rrggbb`. Renderers
|
|
5477
|
+
* use it by default; a storyline's own brand colour or a custom video style overrides it.
|
|
5478
|
+
*/
|
|
5479
|
+
export interface VideoPalette {
|
|
5480
|
+
/** The page ground (title and end cards, the stage behind the app). */
|
|
5481
|
+
canvas: string;
|
|
5482
|
+
/** A raised surface (chips, caption band). */
|
|
5483
|
+
surface: string;
|
|
5484
|
+
/** Primary text. */
|
|
5485
|
+
ink: string;
|
|
5486
|
+
/** Secondary text. */
|
|
5487
|
+
ink2: string;
|
|
5488
|
+
/** Quiet text (kickers, counters). */
|
|
5489
|
+
muted: string;
|
|
5490
|
+
/** Hairlines and inactive progress. */
|
|
5491
|
+
line: string;
|
|
5492
|
+
/** The skin's accent, adjusted per theme and until it reads on `canvas` (≥ 3:1): chapter numbers, highlights, the cursor ring. */
|
|
5493
|
+
accent: string;
|
|
5494
|
+
/** The skin's typeface family name. */
|
|
5495
|
+
font: string;
|
|
5496
|
+
scheme: 'light' | 'dark';
|
|
5497
|
+
}
|
|
5498
|
+
|
|
5499
|
+
/** `GET /appearance/video-palette` → 200. `studio-default` = no skin stored: studio's new-install look. */
|
|
5500
|
+
export interface VideoPaletteResponse {
|
|
5501
|
+
source: 'studio-skin' | 'studio-default';
|
|
5502
|
+
theme: 'dark' | 'light' | 'wicked-light' | 'wicked-dark';
|
|
5503
|
+
palette: VideoPalette;
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5475
5506
|
/**
|
|
5476
5507
|
* `GET /settings` → 200 (api-types 0.38.0 — the body's first named type; the shape `{ settings }`
|
|
5477
5508
|
* is unchanged since 0.1). `path` (additive; DES-L10 PR-L10-6, crew ≥ 0.7.35) is the ABSOLUTE
|
|
@@ -7953,6 +7984,19 @@ export interface DemoView {
|
|
|
7953
7984
|
seats: { recorder: string | null; reviewer: string | null };
|
|
7954
7985
|
/** The script says which data is synthetic. */
|
|
7955
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;
|
|
7956
8000
|
}
|
|
7957
8001
|
|
|
7958
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",
|