Automation should use event store for data (#1962)

* fix: automation should use RuntimeStore for data

* add: aux timer template help
This commit is contained in:
Alex Christoffer Rasmussen
2026-03-02 11:54:46 -08:00
committed by GitHub
parent c1fcdf7065
commit 358ad79ae4
7 changed files with 87 additions and 56 deletions
@@ -0,0 +1,10 @@
import { RuntimeStore, runtimeStorePlaceholder } from 'ontime-types';
import { deepmerge } from 'ontime-utils';
const baseStore: RuntimeStore = {
...runtimeStorePlaceholder
};
export function makeRuntimeStoreData(patch?: Partial<RuntimeStore>): RuntimeStore {
return deepmerge(baseStore, patch) as RuntimeStore;
}