@saebyn/glowing-telegram-types 0.10.20 → 0.11.2

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 +45 -20
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.2",
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
  */
@@ -339,9 +339,15 @@ export interface Profile {
339
339
  id: string;
340
340
  }
341
341
 
342
+ /**
343
+ * Represents a project that combines cuts from multiple streams for episode creation
344
+ */
342
345
  export interface Project {
343
346
  created_at?: string;
344
- cut_list?: ProjectCutList;
347
+ /**
348
+ * List of cuts included in the project, with timing and source information
349
+ */
350
+ cuts?: CutElement[];
345
351
  /**
346
352
  * Optional reference to the episode this project is linked to
347
353
  */
@@ -354,33 +360,29 @@ export interface Project {
354
360
  title?: string;
355
361
  updated_at?: string;
356
362
  user_id?: string;
357
- /**
358
- * Array of video clip IDs that are part of this project
359
- */
360
- video_clip_ids?: string[];
361
363
  }
362
364
 
363
- export interface ProjectCutList {
364
- /**
365
- * Audio channel mixing and volume control configuration
366
- */
367
- audioMixing?: AudioChannelMixing[];
365
+ /**
366
+ * A clip representing a cut from a source stream, with start and end
367
+ */
368
+ export interface CutElement {
368
369
  /**
369
- * List of input media sources
370
+ * End time of the cut in seconds (relative to the start of the stream)
370
371
  */
371
- inputMedia: InputMedia[];
372
+ end_time: number;
372
373
  /**
373
- * Ordered media sections to form the output timeline sequence
374
+ * Start time of the cut in seconds (relative to the start of the stream)
374
375
  */
375
- outputTrack: OutputTrack[];
376
+ start_time: number;
376
377
  /**
377
- * One or more overlay tracks
378
+ * ID of the source stream for this cut
378
379
  */
379
- overlayTracks?: OverlayTrack[];
380
+ stream_id: string;
380
381
  /**
381
- * Schema version
382
+ * Title or description for this cut
382
383
  */
383
- version: "1.0.0";
384
+ title: string;
385
+ [property: string]: unknown;
384
386
  }
385
387
 
386
388
  export interface RenderRequest {
@@ -457,6 +459,29 @@ export interface Stream {
457
459
  video_clip_count?: number;
458
460
  }
459
461
 
462
+ /**
463
+ * A clip representing a cut from a source stream, with start and end
464
+ */
465
+ export interface StreamClip {
466
+ /**
467
+ * End time of the cut in seconds (relative to the start of the stream)
468
+ */
469
+ end_time: number;
470
+ /**
471
+ * Start time of the cut in seconds (relative to the start of the stream)
472
+ */
473
+ start_time: number;
474
+ /**
475
+ * ID of the source stream for this cut
476
+ */
477
+ stream_id: string;
478
+ /**
479
+ * Title or description for this cut
480
+ */
481
+ title: string;
482
+ [property: string]: unknown;
483
+ }
484
+
460
485
  export interface StreamIngestionRequest {
461
486
  initialPrompt: string;
462
487
  initialSummary: string;