@tv2media/blueprints-integration
Advanced tools
Comparing version 1.37.0-rc18 to 1.37.0-rc19
import { TSRTimelineObjBase } from 'timeline-state-resolver-types'; | ||
import { ActionUserData, IBlueprintActionManifest } from './action'; | ||
import { ConfigManifestEntry } from './config'; | ||
import { IActionExecutionContext, ISyncIngestUpdateToPartInstanceContext, IPartEventContext, IRundownContext, IStudioUserContext, ISegmentUserContext, IShowStyleUserContext, ICommonContext, ITimelineEventContext, IRundownDataChangedEventContext, IRundownTimingEventContext, IStudioBaselineContext } from './context'; | ||
import { IActionExecutionContext, ISyncIngestUpdateToPartInstanceContext, IPartEventContext, IRundownContext, IStudioUserContext, ISegmentUserContext, IShowStyleUserContext, ICommonContext, ITimelineEventContext, IRundownDataChangedEventContext, IRundownTimingEventContext, IStudioBaselineContext, IRemoveOrphanedPartInstanceContext } from './context'; | ||
import { IngestAdlib, ExtendedIngestRundown, IngestSegment } from './ingest'; | ||
@@ -77,2 +77,7 @@ import { IBlueprintExternalMessageQueueObj } from './message'; | ||
syncIngestUpdateToPartInstance?: (context: ISyncIngestUpdateToPartInstanceContext, existingPartInstance: BlueprintSyncIngestPartInstance, newData: BlueprintSyncIngestNewData, playoutStatus: 'current' | 'next') => void; | ||
/** | ||
* Allows the blueprint to remove the next part instance if it has become orphaned. | ||
* This call will only be made if the part instance has been orphaned. | ||
*/ | ||
shouldRemoveOrphanedPartInstance?: (context: IRemoveOrphanedPartInstanceContext, partInstance: BlueprintRemoveOrphanedPartInstance) => void; | ||
/** Execute an action defined by an IBlueprintActionManifest */ | ||
@@ -147,2 +152,6 @@ executeAction?: (context: IActionExecutionContext, actionId: string, userData: ActionUserData, triggerMode?: string) => void; | ||
} | ||
export interface BlueprintRemoveOrphanedPartInstance { | ||
partInstance: IBlueprintPartInstance; | ||
pieceInstances: IBlueprintPieceInstance[]; | ||
} | ||
/** Key is the ID of the external ID of the Rundown, Value is the rank to be assigned */ | ||
@@ -149,0 +158,0 @@ export interface BlueprintResultOrderedRundowns { |
@@ -147,2 +147,5 @@ import { IBlueprintExternalMessageQueueObj } from './message'; | ||
} | ||
export interface IRemoveOrphanedPartInstanceContext extends IRundownUserContext { | ||
removePartInstance(): void; | ||
} | ||
/** Events */ | ||
@@ -149,0 +152,0 @@ export interface IEventContext { |
{ | ||
"name": "@tv2media/blueprints-integration", | ||
"version": "1.37.0-rc18", | ||
"version": "1.37.0-rc19", | ||
"description": "Library to define the interaction between core and the blueprints.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
254871
2355