@saebyn/glowing-telegram-types 0.11.2 → 0.15.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/package.json +2 -2
- package/src/types.ts +17 -11
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.
|
|
4
|
+
"version": "0.15.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": "
|
|
15
|
+
"quicktype": "26"
|
|
16
16
|
}
|
|
17
17
|
}
|
package/src/types.ts
CHANGED
|
@@ -109,7 +109,9 @@ export type Method = "webhook" | "websocket";
|
|
|
109
109
|
|
|
110
110
|
export interface CutList {
|
|
111
111
|
/**
|
|
112
|
-
* Audio channel
|
|
112
|
+
* Audio channel routes applied to the assembled output timeline. Routes to the same output
|
|
113
|
+
* channel are summed; output channels without routes are silent. An absent or empty array
|
|
114
|
+
* preserves the original audio.
|
|
113
115
|
*/
|
|
114
116
|
audioMixing?: AudioChannelMixing[];
|
|
115
117
|
/**
|
|
@@ -119,7 +121,7 @@ export interface CutList {
|
|
|
119
121
|
/**
|
|
120
122
|
* Ordered media sections to form the output timeline sequence
|
|
121
123
|
*/
|
|
122
|
-
outputTrack: OutputTrack[];
|
|
124
|
+
outputTrack: [OutputTrack, ...OutputTrack[]];
|
|
123
125
|
/**
|
|
124
126
|
* One or more overlay tracks
|
|
125
127
|
*/
|
|
@@ -135,7 +137,9 @@ export interface CutList {
|
|
|
135
137
|
*/
|
|
136
138
|
export interface AudioChannelMixing {
|
|
137
139
|
/**
|
|
138
|
-
* Volume keyframes
|
|
140
|
+
* Volume keyframes on the output timeline. Levels interpolate linearly between keyframes
|
|
141
|
+
* and hold the nearest level outside them; absent or empty keyframes use volume 1.
|
|
142
|
+
* Duplicate frames use the last value.
|
|
139
143
|
*/
|
|
140
144
|
keyframes?: AudioChannelKeyframe[];
|
|
141
145
|
/**
|
|
@@ -303,7 +307,9 @@ export interface Episode {
|
|
|
303
307
|
|
|
304
308
|
export interface CutListClass {
|
|
305
309
|
/**
|
|
306
|
-
* Audio channel
|
|
310
|
+
* Audio channel routes applied to the assembled output timeline. Routes to the same output
|
|
311
|
+
* channel are summed; output channels without routes are silent. An absent or empty array
|
|
312
|
+
* preserves the original audio.
|
|
307
313
|
*/
|
|
308
314
|
audioMixing?: AudioChannelMixing[];
|
|
309
315
|
/**
|
|
@@ -313,7 +319,7 @@ export interface CutListClass {
|
|
|
313
319
|
/**
|
|
314
320
|
* Ordered media sections to form the output timeline sequence
|
|
315
321
|
*/
|
|
316
|
-
outputTrack: OutputTrack[];
|
|
322
|
+
outputTrack: [OutputTrack, ...OutputTrack[]];
|
|
317
323
|
/**
|
|
318
324
|
* One or more overlay tracks
|
|
319
325
|
*/
|
|
@@ -500,7 +506,7 @@ export interface StreamWidget {
|
|
|
500
506
|
/**
|
|
501
507
|
* Widget configuration settings
|
|
502
508
|
*/
|
|
503
|
-
config?: { [key: string]:
|
|
509
|
+
config?: { [key: string]: unknown };
|
|
504
510
|
/**
|
|
505
511
|
* ISO 8601 timestamp when the widget was created
|
|
506
512
|
*/
|
|
@@ -512,7 +518,7 @@ export interface StreamWidget {
|
|
|
512
518
|
/**
|
|
513
519
|
* Current widget state data
|
|
514
520
|
*/
|
|
515
|
-
state?: { [key: string]:
|
|
521
|
+
state?: { [key: string]: unknown };
|
|
516
522
|
/**
|
|
517
523
|
* Display title for the widget
|
|
518
524
|
*/
|
|
@@ -697,11 +703,11 @@ export interface WebSocketMessage {
|
|
|
697
703
|
type: WebSocketMessageType;
|
|
698
704
|
widgetId?: string;
|
|
699
705
|
action?: string;
|
|
700
|
-
payload?: { [key: string]:
|
|
701
|
-
config?: { [key: string]:
|
|
702
|
-
state?: { [key: string]:
|
|
706
|
+
payload?: { [key: string]: unknown };
|
|
707
|
+
config?: { [key: string]: unknown };
|
|
708
|
+
state?: { [key: string]: unknown };
|
|
703
709
|
error?: string;
|
|
704
|
-
result?: { [key: string]:
|
|
710
|
+
result?: { [key: string]: unknown };
|
|
705
711
|
success?: boolean;
|
|
706
712
|
task?: Task;
|
|
707
713
|
[property: string]: unknown;
|