Files
boocode/apps/control/src/app-context.ts

16 lines
484 B
TypeScript

import type { Sql } from './db.js';
import type { Config } from './config.js';
import type { FleetState } from './services/fleet-state.js';
import type { DeltaEmitter } from './services/delta-emitter.js';
import type { ActionQueue } from './services/action-queue.js';
import type { LogRelay } from './services/log-relay.js';
export interface AppContext {
sql: Sql;
config: Config;
fleet: FleetState;
emitter: DeltaEmitter;
actionQueue: ActionQueue;
logRelay: LogRelay;
}