@@ -108,7 +108,7 @@ const SIMULATION_INVALIDATION = 3000
108108 * @param {boolean } nextPartIsAfterCurrentPart
109109 * @param {(PartInstance | undefined) } currentPartInstance
110110 * @param {(PieceInstance[] | undefined) } currentPartInstancePieceInstances
111- * @param {boolean } allowInfiniteAdlibToPersist Studio config parameter to allow infinite adlibs from adlib testing to persist in the rundown
111+ * @param {boolean } allowTestingAdlibsToPersist Studio config parameter to allow infinite adlibs from adlib testing to persist in the rundown
112112 * @param {FindOptions<PieceInstance> } [options]
113113 * @param {boolean } [pieceInstanceSimulation] If there are no PieceInstances in the PartInstance, create temporary
114114 * PieceInstances based on the Pieces collection and register a reactive dependancy to recalculate the current
@@ -129,7 +129,7 @@ export function getPieceInstancesForPartInstance(
129129 currentPartInstance : PartInstance | undefined ,
130130 currentSegment : Pick < DBSegment , '_id' | 'orphaned' > | undefined ,
131131 currentPartInstancePieceInstances : PieceInstance [ ] | undefined ,
132- allowInfiniteAdlibToPersist : boolean ,
132+ allowTestingAdlibsToPersist : boolean ,
133133 /** Map of Pieces on Parts, passed through for performance */
134134 allPiecesCache ?: Map < PartId , Piece [ ] > ,
135135 options ?: FindOptions < PieceInstance > ,
@@ -165,7 +165,7 @@ export function getPieceInstancesForPartInstance(
165165 partInstance . _id ,
166166 nextPartIsAfterCurrentPart ,
167167 partInstance . isTemporary ,
168- allowInfiniteAdlibToPersist
168+ allowTestingAdlibsToPersist
169169 )
170170 } else {
171171 const results =
@@ -213,7 +213,7 @@ export function getPieceInstancesForPartInstance(
213213 partInstance . _id ,
214214 nextPartIsAfterCurrentPart ,
215215 true ,
216- allowInfiniteAdlibToPersist
216+ allowTestingAdlibsToPersist
217217 )
218218 } else {
219219 // otherwise, return results as they are
0 commit comments