Files
t3code/apps/server/src/orchestration/services.ts
T
2026-02-26 13:20:36 -08:00

23 lines
661 B
TypeScript

import { Context } from "effect";
import { OrchestrationEngine } from "./engine";
import type { OrchestrationEventStore } from "./eventStore";
export interface OrchestrationConfigShape {
readonly stateDir: string;
}
export class OrchestrationConfig extends Context.Tag("orchestration/Config")<
OrchestrationConfig,
OrchestrationConfigShape
>() {}
export class OrchestrationEventStoreService extends Context.Tag(
"orchestration/EventStore",
)<OrchestrationEventStoreService, OrchestrationEventStore>() {}
export class OrchestrationEngineService extends Context.Tag("orchestration/Engine")<
OrchestrationEngineService,
OrchestrationEngine
>() {}