Skip to content

Commit 5bb60d0

Browse files
committed
chore: tidy
1 parent e69a4fc commit 5bb60d0

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

packages/blueprints-integration/src/documents/part.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UserEditingDefinition } from '../userEditing'
1+
import type { UserEditingDefinition } from '../userEditing'
22
import type { NoteSeverity } from '../lib'
33
import type { ITranslatableMessage } from '../translations'
44

packages/blueprints-integration/src/documents/piece.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UserEditingDefinition } from '../userEditing'
1+
import type { UserEditingDefinition } from '../userEditing'
22
import type { IBlueprintPieceGeneric } from './pieceGeneric'
33

44
/** Special types of pieces. Some are not always used in all circumstances */

packages/blueprints-integration/src/documents/rundown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UserEditingDefinition } from '../userEditing'
1+
import type { UserEditingDefinition } from '../userEditing'
22
import type { RundownPlaylistTiming } from './playlistTiming'
33

44
/** The Rundown generated from Blueprint */

packages/blueprints-integration/src/documents/segment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UserEditingDefinition } from '../userEditing'
1+
import type { UserEditingDefinition } from '../userEditing'
22

33
export enum SegmentDisplayMode {
44
Timeline = 'timeline',

packages/blueprints-integration/src/userEditing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { JSONBlob } from '@sofie-automation/shared-lib/dist/lib/JSONBlob'
1+
import type { JSONBlob } from '@sofie-automation/shared-lib/dist/lib/JSONBlob'
22
import type { ITranslatableMessage } from './translations'
3-
import { JSONSchema } from '@sofie-automation/shared-lib/dist/lib/JSONSchemaTypes'
3+
import type { JSONSchema } from '@sofie-automation/shared-lib/dist/lib/JSONSchemaTypes'
44

55
/**
66
* Description of a user performed editing operation allowed on an document

packages/job-worker/src/ingest/runOperation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ async function applyCalculatedIngestChangesToModel(
455455
context,
456456
ingestModel,
457457
newIngestRundown,
458-
GenerateRundownMode.MetadataChange // TODO - full vs metadata?
458+
GenerateRundownMode.MetadataChange
459459
)
460460
if (regenerateCommitData?.regenerateAllContents) {
461461
const regeneratedSegmentIds = await calculateSegmentsAndRemovalsFromIngestData(
@@ -488,7 +488,6 @@ async function applyCalculatedIngestChangesToModel(
488488
for (const segmentId of Object.keys(computedIngestChanges.segmentsUpdatedRanks)) {
489489
changedSegmentIdsSet.add(ingestModel.getSegmentIdFromExternalId(segmentId))
490490
}
491-
// TODO - include changed external ids?
492491

493492
// Remove/orphan old segments
494493
const orphanedSegmentIds: SegmentId[] = []

0 commit comments

Comments
 (0)