diff --git a/meteor/lib/api/rest/v1/buckets.ts b/meteor/lib/api/rest/v1/buckets.ts index 6df295761d..7358e38a67 100644 --- a/meteor/lib/api/rest/v1/buckets.ts +++ b/meteor/lib/api/rest/v1/buckets.ts @@ -114,7 +114,7 @@ export interface APIImportAdlib { externalId: string name: string payloadType: string - payload?: unknown + payload: unknown | undefined showStyleBaseId: string } diff --git a/packages/shared-lib/src/peripheralDevice/ingest.ts b/packages/shared-lib/src/peripheralDevice/ingest.ts index af01f05d1e..c53739f87e 100644 --- a/packages/shared-lib/src/peripheralDevice/ingest.ts +++ b/packages/shared-lib/src/peripheralDevice/ingest.ts @@ -1,8 +1,8 @@ -export interface IngestPlaylist { +export interface IngestPlaylist { /** Id of the playlist. */ externalId: string /** Ingest cache of rundowns in this playlist. */ - rundowns: IngestRundown[] + rundowns: IngestRundown[] } export interface IngestRundown { /** Id of the rundown as reported by the ingest gateway. Must be unique for each rundown owned by the gateway */ @@ -45,7 +45,7 @@ export interface IngestPart { payload: TPartPayload } -export interface IngestAdlib { +export interface IngestAdlib { /** Id of the adlib as reported by the ingest source. Must be unique for each adlib */ externalId: string /** Name of the adlib */ @@ -54,5 +54,5 @@ export interface IngestAdlib { /** Type of the raw payload. Only used by the blueprints */ payloadType: string /** Raw payload of the adlib. Only used by the blueprints */ - payload?: any + payload: TPayload }