wicked-crew-api-types 0.117.0 → 0.118.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.
Files changed (2) hide show
  1. package/index.d.ts +31 -0
  2. 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.117.0",
3
+ "version": "0.118.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",