History

fix(server): align receipt service typing

Julius Marminge committed 2 months ago

Commit c0323391 parent b72f8611 file · +2 −2Browse files

Unified · Split

apps/server/src/orchestration-v2/Orchestrator.ts+2−2
@@ -41,7 +41,7 @@ import * as Stream from "effect/Stream"; · 40 unmodified lines
4141
4242 import { CheckpointServiceV2 } from "./CheckpointService.ts";
4343 import { CommandPolicyV2 } from "./CommandPolicy.ts";
44−import { CommandReceiptStoreV2, type CommandReceiptStoreV2Shape } from "./CommandReceiptStore.ts";
44+import { CommandReceiptStoreV2 } from "./CommandReceiptStore.ts";
4545 import { ContextHandoffServiceV2 } from "./ContextHandoffService.ts";
4646 import { EventSinkV2 } from "./EventSink.ts";
4747 import type { OrchestrationEffectRequestV2, PendingOrchestrationEffectV2 } from "./EffectOutbox.ts";
@@ -183,7 +183,7 @@ export interface OrchestratorV2Shape { · 135 unmodified lines
183183 readonly dispatch: (
184184 command: OrchestrationV2Command,
185185 ) => Effect.Effect<OrchestratorV2DispatchResult, OrchestratorV2Error>;
186− readonly getCommandReceipt: CommandReceiptStoreV2Shape["getByCommandId"];
186+ readonly getCommandReceipt: CommandReceiptStoreV2["Service"]["getByCommandId"];
187187 readonly getThreadProjection: (
188188 threadId: ThreadId,
189189 ) => Effect.Effect<OrchestrationV2ThreadProjection, OrchestratorV2Error>;