Files
t3code/packages/contracts/src/applicationEvent.ts
T
Julius Marminge 9bf8cea6af Integrate orchestration v2 with the application runtime
Retain the existing event-sourced application data plane for projects and shell state while making orchestration v2 the sole agent runtime. Adapt v2 events and receipts to the shared infrastructure and remove the v1 provider reactors.
2026-08-14 11:22:52 +02:00

13 lines
454 B
TypeScript

import type { OrchestrationEvent } from "./orchestration.ts";
import type { OrchestrationV2StoredEvent } from "./orchestrationV2.ts";
export type ApplicationProjectEvent = Extract<
OrchestrationEvent,
{
readonly type: "project.created" | "project.meta-updated" | "project.deleted";
}
>;
/** Events exposed by the retained application event source. */
export type ApplicationStoredEvent = ApplicationProjectEvent | OrchestrationV2StoredEvent;