@h-rig/core 0.0.6-alpha.155 → 0.0.6-alpha.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +0,0 @@
1
- import { EngineEvent, EngineReadModel, QueueEntry, RunSummary, TaskSummary } from "@rig/contracts";
2
- type EngineApplyStatus = "applied" | "ignored" | "requires-resync";
3
- export type ApplyStatus = EngineApplyStatus;
4
- export interface EngineEventApplyResult {
5
- readonly status: EngineApplyStatus;
6
- readonly snapshot: EngineReadModel;
7
- }
8
- export declare function mapTaskStatusFromRunStatus(status: RunSummary["status"], fallback: TaskSummary["status"]): TaskSummary["status"];
9
- export declare function applyEngineEvent(snapshot: EngineReadModel, event: EngineEvent): EngineEventApplyResult;
10
- export declare function applyEngineEvents(snapshot: EngineReadModel, events: ReadonlyArray<EngineEvent>): EngineEventApplyResult;
11
- export declare function pruneQueueEntries(snapshot: EngineReadModel): QueueEntry[];
12
- export {};