import type { IBlueprintTriggeredActions } from '../triggers'; import type { MigrationStepSystem } from '../migrations'; import type { BlueprintManifestBase, BlueprintManifestType } from './base'; import type { ICoreSystemApplyConfigContext } from '../context/systemApplyConfigContext'; import type { ICoreSystemSettings } from '@sofie-automation/shared-lib/dist/core/model/CoreSystemSettings'; export interface SystemBlueprintManifest extends BlueprintManifestBase { blueprintType: BlueprintManifestType.SYSTEM; /** A list of Migration steps related to the Core system * @deprecated This has been replaced with `applyConfig` */ coreMigrations: MigrationStepSystem[]; /** Translations connected to the studio (as stringified JSON) */ translations?: string; /** * Apply the config by generating the data to be saved into the db. * This should be written to give a predictable and stable result, it can be called with the same config multiple times */ applyConfig?: (context: ICoreSystemApplyConfigContext) => BlueprintResultApplySystemConfig; } export interface BlueprintResultApplySystemConfig { settings: ICoreSystemSettings; triggeredActions: IBlueprintTriggeredActions[]; } //# sourceMappingURL=system.d.ts.map