Skip to content

Commit

Permalink
chore: missed types
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Sep 30, 2024
1 parent 6caafdc commit 839ef3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion meteor/lib/api/rest/v1/buckets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export interface APIImportAdlib {
externalId: string
name: string
payloadType: string
payload?: unknown
payload: unknown | undefined

showStyleBaseId: string
}
8 changes: 4 additions & 4 deletions packages/shared-lib/src/peripheralDevice/ingest.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export interface IngestPlaylist {
export interface IngestPlaylist<TRundownPayload = unknown, TSegmentPayload = unknown, TPartPayload = unknown> {
/** Id of the playlist. */
externalId: string
/** Ingest cache of rundowns in this playlist. */
rundowns: IngestRundown[]
rundowns: IngestRundown<TRundownPayload, TSegmentPayload, TPartPayload>[]
}
export interface IngestRundown<TRundownPayload = unknown, TSegmentPayload = unknown, TPartPayload = unknown> {
/** Id of the rundown as reported by the ingest gateway. Must be unique for each rundown owned by the gateway */
Expand Down Expand Up @@ -45,7 +45,7 @@ export interface IngestPart<TPartPayload = unknown> {
payload: TPartPayload
}

export interface IngestAdlib {
export interface IngestAdlib<TPayload = unknown> {
/** Id of the adlib as reported by the ingest source. Must be unique for each adlib */
externalId: string
/** Name of the adlib */
Expand All @@ -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
}

0 comments on commit 839ef3a

Please sign in to comment.