@saebyn/glowing-telegram-types 0.11.2 → 0.14.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/package.json +2 -2
  2. package/src/types.ts +8 -8
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saebyn/glowing-telegram-types",
3
3
  "license": "AGPL-3.0-only",
4
- "version": "0.11.2",
4
+ "version": "0.14.0",
5
5
  "main": "src/types.ts",
6
6
  "files": [
7
7
  "src/types.ts"
@@ -12,6 +12,6 @@
12
12
  "directory": "types"
13
13
  },
14
14
  "devDependencies": {
15
- "quicktype": "23"
15
+ "quicktype": "26"
16
16
  }
17
17
  }
package/src/types.ts CHANGED
@@ -119,7 +119,7 @@ export interface CutList {
119
119
  /**
120
120
  * Ordered media sections to form the output timeline sequence
121
121
  */
122
- outputTrack: OutputTrack[];
122
+ outputTrack: [OutputTrack, ...OutputTrack[]];
123
123
  /**
124
124
  * One or more overlay tracks
125
125
  */
@@ -313,7 +313,7 @@ export interface CutListClass {
313
313
  /**
314
314
  * Ordered media sections to form the output timeline sequence
315
315
  */
316
- outputTrack: OutputTrack[];
316
+ outputTrack: [OutputTrack, ...OutputTrack[]];
317
317
  /**
318
318
  * One or more overlay tracks
319
319
  */
@@ -500,7 +500,7 @@ export interface StreamWidget {
500
500
  /**
501
501
  * Widget configuration settings
502
502
  */
503
- config?: { [key: string]: any };
503
+ config?: { [key: string]: unknown };
504
504
  /**
505
505
  * ISO 8601 timestamp when the widget was created
506
506
  */
@@ -512,7 +512,7 @@ export interface StreamWidget {
512
512
  /**
513
513
  * Current widget state data
514
514
  */
515
- state?: { [key: string]: any };
515
+ state?: { [key: string]: unknown };
516
516
  /**
517
517
  * Display title for the widget
518
518
  */
@@ -697,11 +697,11 @@ export interface WebSocketMessage {
697
697
  type: WebSocketMessageType;
698
698
  widgetId?: string;
699
699
  action?: string;
700
- payload?: { [key: string]: any };
701
- config?: { [key: string]: any };
702
- state?: { [key: string]: any };
700
+ payload?: { [key: string]: unknown };
701
+ config?: { [key: string]: unknown };
702
+ state?: { [key: string]: unknown };
703
703
  error?: string;
704
- result?: { [key: string]: any };
704
+ result?: { [key: string]: unknown };
705
705
  success?: boolean;
706
706
  task?: Task;
707
707
  [property: string]: unknown;