@@ -36,7 +36,6 @@ import type {
3636import {
3737 AdLibPieces ,
3838 CoreSystem ,
39- Parts ,
4039 Pieces ,
4140 RundownBaselineAdLibPieces ,
4241 RundownPlaylists ,
@@ -46,6 +45,7 @@ import {
4645 ShowStyleVariants ,
4746 Studios ,
4847} from '../../client/collections/index.js'
48+ import { UIParts } from '../../client/ui/Collections.js'
4949
5050export enum LAYER_IDS {
5151 SOURCE_CAM0 = 'cam0' ,
@@ -369,7 +369,7 @@ export async function setupDefaultRundown(
369369 title : 'Part 0 0' ,
370370 expectedDurationWithTransition : undefined ,
371371 }
372- MongoMock . getInnerMockCollection ( Parts ) . insert ( part00 )
372+ MongoMock . getInnerMockCollection ( UIParts ) . insert ( part00 )
373373
374374 const piece000 : Piece = {
375375 _id : protectString ( rundownId + '_piece000' ) ,
@@ -437,7 +437,7 @@ export async function setupDefaultRundown(
437437 title : 'Part 0 1' ,
438438 expectedDurationWithTransition : undefined ,
439439 }
440- MongoMock . getInnerMockCollection ( Parts ) . insert ( part01 )
440+ MongoMock . getInnerMockCollection ( UIParts ) . insert ( part01 )
441441
442442 const piece010 : Piece = {
443443 _id : protectString ( rundownId + '_piece010' ) ,
@@ -477,7 +477,7 @@ export async function setupDefaultRundown(
477477 title : 'Part 1 0' ,
478478 expectedDurationWithTransition : undefined ,
479479 }
480- MongoMock . getInnerMockCollection ( Parts ) . insert ( part10 )
480+ MongoMock . getInnerMockCollection ( UIParts ) . insert ( part10 )
481481
482482 const part11 : DBPart = {
483483 _id : protectString ( rundownId + '_part1_1' ) ,
@@ -488,7 +488,7 @@ export async function setupDefaultRundown(
488488 title : 'Part 1 1' ,
489489 expectedDurationWithTransition : undefined ,
490490 }
491- MongoMock . getInnerMockCollection ( Parts ) . insert ( part11 )
491+ MongoMock . getInnerMockCollection ( UIParts ) . insert ( part11 )
492492
493493 const part12 : DBPart = {
494494 _id : protectString ( rundownId + '_part1_2' ) ,
@@ -499,7 +499,7 @@ export async function setupDefaultRundown(
499499 title : 'Part 1 2' ,
500500 expectedDurationWithTransition : undefined ,
501501 }
502- MongoMock . getInnerMockCollection ( Parts ) . insert ( part12 )
502+ MongoMock . getInnerMockCollection ( UIParts ) . insert ( part12 )
503503
504504 const segment2 : DBSegment = {
505505 _id : protectString ( rundownId + '_segment2' ) ,
0 commit comments