@saebyn/glowing-telegram-types 0.10.20 → 0.11.1

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 +36 -16
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.10.20",
4
+ "version": "0.11.1",
5
5
  "main": "src/types.ts",
6
6
  "files": [
7
7
  "src/types.ts"
package/src/types.ts CHANGED
@@ -278,7 +278,7 @@ export type OverlayTrackType = "alpha" | "colorkey";
278
278
  export interface Episode {
279
279
  category?: number;
280
280
  created_at?: string;
281
- cut_list?: EpisodeCutList;
281
+ cut_list?: CutListClass;
282
282
  description?: string;
283
283
  error_message?: string;
284
284
  id?: string;
@@ -301,7 +301,7 @@ export interface Episode {
301
301
  youtube_video_id?: string;
302
302
  }
303
303
 
304
- export interface EpisodeCutList {
304
+ export interface CutListClass {
305
305
  /**
306
306
  * Audio channel mixing and volume control configuration
307
307
  */
@@ -341,7 +341,10 @@ export interface Profile {
341
341
 
342
342
  export interface Project {
343
343
  created_at?: string;
344
- cut_list?: ProjectCutList;
344
+ /**
345
+ * List of cuts included in the project, with timing and source information
346
+ */
347
+ cuts?: Cut[];
345
348
  /**
346
349
  * Optional reference to the episode this project is linked to
347
350
  */
@@ -360,27 +363,24 @@ export interface Project {
360
363
  video_clip_ids?: string[];
361
364
  }
362
365
 
363
- export interface ProjectCutList {
366
+ export interface Cut {
364
367
  /**
365
- * Audio channel mixing and volume control configuration
366
- */
367
- audioMixing?: AudioChannelMixing[];
368
- /**
369
- * List of input media sources
368
+ * End time of the cut in seconds (relative to the start of the stream)
370
369
  */
371
- inputMedia: InputMedia[];
370
+ end: number;
372
371
  /**
373
- * Ordered media sections to form the output timeline sequence
372
+ * Start time of the cut in seconds (relative to the start of the stream)
374
373
  */
375
- outputTrack: OutputTrack[];
374
+ start: number;
376
375
  /**
377
- * One or more overlay tracks
376
+ * ID of the source stream for this cut
378
377
  */
379
- overlayTracks?: OverlayTrack[];
378
+ stream_id: string;
380
379
  /**
381
- * Schema version
380
+ * Title or description for this cut
382
381
  */
383
- version: "1.0.0";
382
+ title: string;
383
+ [property: string]: unknown;
384
384
  }
385
385
 
386
386
  export interface RenderRequest {
@@ -457,6 +457,26 @@ export interface Stream {
457
457
  video_clip_count?: number;
458
458
  }
459
459
 
460
+ export interface StreamClip {
461
+ /**
462
+ * End time of the cut in seconds (relative to the start of the stream)
463
+ */
464
+ end: number;
465
+ /**
466
+ * Start time of the cut in seconds (relative to the start of the stream)
467
+ */
468
+ start: number;
469
+ /**
470
+ * ID of the source stream for this cut
471
+ */
472
+ stream_id: string;
473
+ /**
474
+ * Title or description for this cut
475
+ */
476
+ title: string;
477
+ [property: string]: unknown;
478
+ }
479
+
460
480
  export interface StreamIngestionRequest {
461
481
  initialPrompt: string;
462
482
  initialSummary: string;