Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ensureMapping('hyperdeck0', literal({
device: PlayoutDeviceType.HYPERDECK,
deviceId: 'hyperdeck0',
mappingType: MappingHyperdeckType.TRANSPORT,
lookahead: LookaheadMode.NONE,
})),
ensureMapping('ptz0_preset', literal({
device: PlayoutDeviceType.PANASONIC_PTZ,
deviceId: 'ptz0',
mappingType: MappingPanasonicPtzType.PRESET,
lookahead: LookaheadMode.WHEN_CLEAR,
})),
ensureMapping('ptz0_speed', literal({
device: PlayoutDeviceType.PANASONIC_PTZ,
deviceId: 'ptz0',
mappingType: MappingPanasonicPtzType.PRESET_SPEED,
lookahead: LookaheadMode.NONE,
})),
ensureStudioConfig('sources_kam_ptz', '1:ptz0'),
ensureDeviceVersion('ensureVersion.mosDevice', PeripheralDeviceAPI.DeviceType.MOSDEVICE, '_process', '0.1.1')
])
// 0.18.0: Release 4
addMigrationSteps( '0.18.0', [
removeMapping('nora_permanent_klokke'),
removeMapping('nora_permanent_logo'),
ensureMapping('nora_primary_klokke', literal({
device: PlayoutDeviceType.HTTPSEND,
deviceId: 'http0',
lookahead: LookaheadMode.NONE,
})),
ensureMapping('nora_primary_logo', literal({