@@ -34,7 +34,6 @@ import { PackageManagerIntegration } from './integration/expectedPackages'
3434import { profiler } from './profiler'
3535import { QueueStudioJob } from '../worker/worker'
3636import { StudioJobs } from '@sofie-automation/corelib/dist/worker/studio'
37- import { DeviceConfigManifest } from '@sofie-automation/corelib/dist/deviceConfig'
3837import {
3938 PlayoutChangedResults ,
4039 PeripheralDeviceInitOptions ,
@@ -58,7 +57,7 @@ import { insertInputDeviceTriggerIntoPreview } from '../publications/deviceTrigg
5857import { receiveInputDeviceTrigger } from './deviceTriggers/observer'
5958import { upsertBundles , generateTranslationBundleOriginId } from './translationsBundles'
6059import { isTranslatableMessage } from '@sofie-automation/corelib/dist/TranslatableMessage'
61- import { JSONBlobParse , JSONBlobStringify } from '@sofie-automation/shared-lib/dist/lib/JSONBlob'
60+ import { JSONBlobParse } from '@sofie-automation/shared-lib/dist/lib/JSONBlob'
6261import {
6362 applyAndValidateOverrides ,
6463 SomeObjectOverrideOp ,
@@ -128,16 +127,16 @@ export namespace ServerPeripheralDeviceAPI {
128127 ? {
129128 ...options . configManifest ,
130129 translations : undefined , // unset the translations
131- }
130+ }
132131 : undefined ,
133132
134133 documentationUrl : options . documentationUrl ,
135- } ,
134+ } satisfies Partial < PeripheralDevice > ,
136135 $unset :
137136 newVersionsStr !== oldVersionsStr
138137 ? {
139138 disableVersionChecks : 1 ,
140- }
139+ }
141140 : undefined ,
142141 } )
143142 } else {
@@ -167,11 +166,8 @@ export namespace ServerPeripheralDeviceAPI {
167166 ? {
168167 ...options . configManifest ,
169168 translations : undefined ,
170- }
171- : literal < DeviceConfigManifest > ( {
172- deviceConfigSchema : JSONBlobStringify ( { } ) ,
173- subdeviceManifest : { } ,
174- } ) ,
169+ }
170+ : undefined ,
175171
176172 documentationUrl : options . documentationUrl ,
177173 } )
0 commit comments