Commit f54d9ca 1 parent c8e669f commit f54d9ca Copy full SHA for f54d9ca
File tree 10 files changed +11
-107
lines changed
blueprints-integration/src/api
10 files changed +11
-107
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ import type {
29
29
import type { StudioPackageContainer } from '@sofie-automation/shared-lib/dist/core/model/PackageContainer'
30
30
import type { IStudioSettings } from '@sofie-automation/shared-lib/dist/core/model/StudioSettings'
31
31
import type { MosDeviceConfig } from '@sofie-automation/shared-lib/dist/generated/MosGatewayDevicesTypes'
32
+ import type { MosGatewayConfig } from '@sofie-automation/shared-lib/dist/generated/MosGatewayOptionsTypes'
32
33
import type { PlayoutGatewayConfig } from '@sofie-automation/shared-lib/dist/generated/PlayoutGatewayConfigTypes'
34
+ import type { LiveStatusGatewayConfig } from '@sofie-automation/shared-lib/dist/generated/LiveStatusGatewayOptionsTypes'
33
35
34
36
export interface StudioBlueprintManifest < TRawConfig = IBlueprintConfig , TProcessedConfig = unknown >
35
37
extends BlueprintManifestBase {
@@ -172,10 +174,14 @@ export interface BlueprintParentDeviceSettings {
172
174
options : Record < string , any >
173
175
}
174
176
177
+ export type BlueprintMosGatewayConfig = MosGatewayConfig
178
+
175
179
export type BlueprintMosDeviceConfig = MosDeviceConfig
176
180
177
181
export type BlueprintPlayoutGatewayConfig = PlayoutGatewayConfig
178
182
183
+ export type BlueprintLiveStatusGatewayConfig = LiveStatusGatewayConfig
184
+
179
185
export interface IStudioConfigPreset < TConfig = IBlueprintConfig > {
180
186
name : string
181
187
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { protectString } from '@sofie-automation/shared-lib/dist/lib/protectedSt
23
23
import { PeripheralDeviceCommandId , StudioId } from '@sofie-automation/shared-lib/dist/core/model/Ids'
24
24
import { StatusCode } from '@sofie-automation/shared-lib/dist/lib/status'
25
25
import { PeripheralDeviceCommand } from '@sofie-automation/shared-lib/dist/core/model/PeripheralDeviceCommand'
26
- import { LiveStatusGatewayConfig } from './ generated/options '
26
+ import { LiveStatusGatewayConfig } from '@sofie-automation/shared-lib/dist/ generated/LiveStatusGatewayOptionsTypes '
27
27
import { CorelibPubSubTypes , CorelibPubSubCollections } from '@sofie-automation/corelib/dist/pubsub'
28
28
import { ParametersOfFunctionOrNever } from '@sofie-automation/server-core-integration/dist/lib/subscriptions'
29
29
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ import {
32
32
DEFAULT_MOS_TIMEOUT_TIME ,
33
33
DEFAULT_MOS_HEARTBEAT_INTERVAL ,
34
34
} from '@sofie-automation/shared-lib/dist/core/constants'
35
- import { MosGatewayConfig } from './ generated/options '
36
- import { MosDeviceConfig } from './ generated/devices '
35
+ import { MosGatewayConfig } from '@sofie-automation/shared-lib/dist/ generated/MosGatewayOptionsTypes '
36
+ import { MosDeviceConfig } from '@sofie-automation/shared-lib/dist/ generated/MosGatewayDevicesTypes '
37
37
import { PeripheralDeviceForDevice } from '@sofie-automation/server-core-integration'
38
38
39
39
export interface MosConfig {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { PLAYOUT_DEVICE_CONFIG } from './configManifest'
23
23
import { BaseRemoteDeviceIntegration } from 'timeline-state-resolver/dist/service/remoteDeviceInstance'
24
24
import { getVersions } from './versions'
25
25
import { CoreConnectionChild } from '@sofie-automation/server-core-integration/dist/lib/CoreConnectionChild'
26
- import { PlayoutGatewayConfig } from './ generated/options '
26
+ import { PlayoutGatewayConfig } from '@sofie-automation/shared-lib/dist/ generated/PlayoutGatewayConfigTypes '
27
27
import { PeripheralDeviceCommandId } from '@sofie-automation/shared-lib/dist/core/model/Ids'
28
28
29
29
export interface CoreConfig {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {
37
37
TimelineObjGeneric ,
38
38
} from '@sofie-automation/shared-lib/dist/core/model/Timeline'
39
39
import { PLAYOUT_DEVICE_CONFIG } from './configManifest'
40
- import { PlayoutGatewayConfig } from './ generated/options '
40
+ import { PlayoutGatewayConfig } from '@sofie-automation/shared-lib/dist/ generated/PlayoutGatewayConfigTypes '
41
41
import {
42
42
assertNever ,
43
43
getSchemaDefaultValues ,
Original file line number Diff line number Diff line change 22
22
bannerComment : '' ,
23
23
} )
24
24
25
- await fs . writeFile ( './playout-gateway/src/generated/options.ts' , BANNER + '\n' + schema )
26
25
await fs . writeFile ( './shared-lib/src/generated/PlayoutGatewayConfigTypes.ts' , BANNER + '\n' + schema )
27
26
} catch ( e ) {
28
27
console . error ( 'Error while generating playout-gateway options.json, continuing...' )
37
36
bannerComment : '' ,
38
37
} )
39
38
40
- await fs . writeFile ( './mos-gateway/src/generated/options.ts' , BANNER + '\n' + schema )
41
39
await fs . writeFile ( './shared-lib/src/generated/MosGatewayOptionsTypes.ts' , BANNER + '\n' + schema )
42
40
} catch ( e ) {
43
41
console . error ( 'Error while generating mos-gateway options.json, continuing...' )
50
48
bannerComment : '' ,
51
49
} )
52
50
53
- await fs . writeFile ( './mos-gateway/src/generated/devices.ts' , BANNER + '\n' + schema )
54
51
await fs . writeFile ( './shared-lib/src/generated/MosGatewayDevicesTypes.ts' , BANNER + '\n' + schema )
55
52
} catch ( e ) {
56
53
console . error ( 'Error while generating mos-gateway devices.json, continuing...' )
65
62
bannerComment : '' ,
66
63
} )
67
64
68
- await fs . writeFile ( './live-status-gateway/src/generated/options.ts' , BANNER + '\n' + schema )
69
65
await fs . writeFile ( './shared-lib/src/generated/LiveStatusGatewayOptionsTypes.ts' , BANNER + '\n' + schema )
70
66
} catch ( e ) {
71
67
console . error ( 'Error while generating live-status-gateway options.json, continuing...' )
You can’t perform that action at this time.
0 commit comments