@@ -94,7 +94,7 @@ export function getPlayheadTrackingInfinitesForPart(
9494 partsToReceiveOnSegmentEndFromSet : Set < PartId > ,
9595 segmentsToReceiveOnRundownEndFromSet : Set < SegmentId > ,
9696 rundownsToReceiveOnShowStyleEndFrom : RundownId [ ] ,
97- rundownsToShowstyles : Map < RundownId , ShowStyleBaseId > ,
97+ rundownsToShowstyles : ReadonlyMap < RundownId , ShowStyleBaseId > ,
9898 currentPartInstance : ReadonlyDeep < DBPartInstance > ,
9999 playingSegment : ReadonlyDeep < Pick < DBSegment , '_id' | 'orphaned' > > ,
100100 currentPartPieceInstances : ReadonlyDeep < PieceInstance [ ] > ,
@@ -282,7 +282,7 @@ export function isPiecePotentiallyActiveInPart(
282282 partsToReceiveOnSegmentEndFrom : Set < PartId > ,
283283 segmentsToReceiveOnRundownEndFrom : Set < SegmentId > ,
284284 rundownsToReceiveOnShowStyleEndFrom : RundownId [ ] ,
285- rundownsToShowstyles : Map < RundownId , ShowStyleBaseId > ,
285+ rundownsToShowstyles : ReadonlyMap < RundownId , ShowStyleBaseId > ,
286286 rundown : ReadonlyDeep < Pick < DBRundown , '_id' | 'showStyleBaseId' > > ,
287287 part : ReadonlyDeep < DBPart > ,
288288 pieceToCheck : ReadonlyDeep < Piece >
@@ -386,7 +386,7 @@ export function getPieceInstancesForPart(
386386 partsToReceiveOnSegmentEndFromSet : Set < PartId > ,
387387 segmentsToReceiveOnRundownEndFromSet : Set < SegmentId > ,
388388 rundownsToReceiveOnShowStyleEndFrom : RundownId [ ] ,
389- rundownsToShowstyles : Map < RundownId , ShowStyleBaseId > ,
389+ rundownsToShowstyles : ReadonlyMap < RundownId , ShowStyleBaseId > ,
390390 possiblePieces : ReadonlyDeep < Piece > [ ] ,
391391 orderedPartIds : PartId [ ] ,
392392 newInstanceId : PartInstanceId ,
@@ -597,7 +597,7 @@ export function isCandidateBetterToBeContinued(
597597
598598function continueShowStyleEndInfinites (
599599 rundownsToReceiveOnShowStyleEndFrom : RundownId [ ] ,
600- rundownsToShowstyles : Map < RundownId , ShowStyleBaseId > ,
600+ rundownsToShowstyles : ReadonlyMap < RundownId , ShowStyleBaseId > ,
601601 previousRundownId : RundownId ,
602602 targetRundown : ReadonlyDeep < Pick < DBRundown , '_id' | 'showStyleBaseId' > >
603603) : boolean {
0 commit comments