@@ -39,7 +39,7 @@ import { Blueprint } from '@sofie-automation/corelib/dist/dataModel/Blueprint'
3939import { ICoreSystem , SYSTEM_ID } from '@sofie-automation/meteor-lib/dist/collections/CoreSystem'
4040import { stripVersion } from '../../server/systemStatus/semverUtils'
4141import { internalUploadBlueprint } from '../../server/api/blueprints/api'
42- import { literal , getRandomId , getRandomString , Complete , normalizeArray } from '@sofie-automation/corelib/dist/lib'
42+ import { literal , getRandomId , getRandomString , normalizeArray } from '@sofie-automation/corelib/dist/lib'
4343import { protectString , unprotectString } from '@sofie-automation/corelib/dist/protectedString'
4444import { DBRundown } from '@sofie-automation/corelib/dist/dataModel/Rundown'
4545import { DBSegment } from '@sofie-automation/corelib/dist/dataModel/Segment'
@@ -59,7 +59,6 @@ import {
5959 applyAndValidateOverrides ,
6060 wrapDefaultObject ,
6161} from '@sofie-automation/corelib/dist/settings/objectWithOverrides'
62- import { UIShowStyleBase } from '@sofie-automation/meteor-lib/dist/api/showStyles'
6362import {
6463 BlueprintId ,
6564 RundownId ,
@@ -888,18 +887,3 @@ export async function setupMockWorker(doc?: Partial<WorkerStatus>): Promise<{
888887
889888 return { worker, workerThreadStatuses : [ workerThreadStatus0 , workerThreadStatus1 ] }
890889}
891-
892- // const studioBlueprint
893- // const showStyleBlueprint
894- // const showStyleVariant
895-
896- export function convertToUIShowStyleBase ( showStyleBase : DBShowStyleBase ) : UIShowStyleBase {
897- return literal < Complete < UIShowStyleBase > > ( {
898- _id : showStyleBase . _id ,
899- name : showStyleBase . name ,
900- hotkeyLegend : showStyleBase . hotkeyLegend ,
901- sourceLayers : applyAndValidateOverrides ( showStyleBase . sourceLayersWithOverrides ) . obj ,
902- outputLayers : applyAndValidateOverrides ( showStyleBase . outputLayersWithOverrides ) . obj ,
903- abChannelDisplay : showStyleBase . abChannelDisplay ,
904- } )
905- }
0 commit comments