refactor: add cloud runtime

This commit is contained in:
Carlos Valente
2024-11-17 10:36:15 +01:00
committed by Carlos Valente
parent 18575fc558
commit d87542dcf7
11 changed files with 34 additions and 29 deletions
+2 -9
View File
@@ -1,16 +1,9 @@
import { Log, RundownCached, RuntimeStore } from 'ontime-types';
import { CLIENT_LIST, CUSTOM_FIELDS, isProduction, RUNDOWN, RUNTIME, websocketUrl } from '../api/constants';
import { isProduction, websocketUrl } from '../../externals';
import { invalidateAllCaches } from '../api/utils';
import { ontimeQueryClient } from '../queryClient';
import {
getClientId,
getClientName,
setClientId,
setClientName,
setClientRedirect,
setClients,
} from '../stores/clientStore';
import { getClientId, getClientName, setClientId, setClientName, setClients } from '../stores/clientStore';
import { addLog } from '../stores/logger';
import { patchRuntime, runtimeStore } from '../stores/runtime';