From f84f50c32703137fc389d103dbaebb998dced07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Cr=C3=A8me?= Date: Fri, 30 Dec 2022 17:51:14 +0100 Subject: [PATCH] Update Types. --- src/types.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 62337c4..864c059 100644 --- a/src/types.ts +++ b/src/types.ts @@ -40,7 +40,7 @@ export interface Show { channels: unknown[]; invitations: unknown[]; timeline: unknown[]; - extras: unknown[]; + extras: File[]; activeBroadcastable: ActiveBroadcastable; previousBroadcastables: unknown[]; } @@ -81,6 +81,11 @@ export interface Material extends FileWrapper { deliveries: Delivery[]; segments: Segment[]; } +export interface Material extends File { + reportXml: FileClass; + reportPdf: FileClass; + deliveries: Delivery[]; +} export interface Container { fileId: string; @@ -479,7 +484,8 @@ export interface PurpleStream { typeVersion?: string; } -export interface Subtitle extends FileWrapper { +export interface Subtitle { + file: FileClass; container: null; streams: Array>; proxies: Proxies;