@saebyn/glowing-telegram-types 0.2.0 → 0.3.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 +1 -1
  2. package/src/types.ts +17 -7
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.2.0",
4
+ "version": "0.3.0",
5
5
  "main": "src/types.ts",
6
6
  "files": [
7
7
  "src/types.ts"
package/src/types.ts CHANGED
@@ -118,6 +118,10 @@ export interface OverlayTrack {
118
118
  * Start frame on the overlay track
119
119
  */
120
120
  startFrame: number;
121
+ /**
122
+ * Overlay type
123
+ */
124
+ type: OverlayTrackType;
121
125
  /**
122
126
  * X position of the overlay
123
127
  */
@@ -128,14 +132,20 @@ export interface OverlayTrack {
128
132
  y?: number;
129
133
  }
130
134
 
135
+ /**
136
+ * Overlay type
137
+ */
138
+ export type OverlayTrackType = "alpha" | "colorkey";
139
+
131
140
  export interface Episode {
132
- cut_list?: CutListClass;
133
- description?: string;
134
- id: string;
135
- order_index?: number;
136
- stream_id?: string;
137
- title?: string;
138
- tracks?: Track[];
141
+ cut_list?: CutListClass;
142
+ description?: string;
143
+ id: string;
144
+ is_published?: boolean;
145
+ order_index?: number;
146
+ stream_id?: string;
147
+ title?: string;
148
+ tracks?: Track[];
139
149
  }
140
150
 
141
151
  export interface CutListClass {