@radcliffetech/symbolos-core
Version:
Core symbolic simulation and execution engine for Symbolos
12 lines (11 loc) • 589 B
TypeScript
import type { WorldFrame } from "../types";
export type WorldStore = {
saveFrame(frame: WorldFrame): Promise<void>;
getFrame(pipelineId: string, runId: string, tick: number): Promise<WorldFrame | null>;
listFrames(pipelineId: string, runId: string): Promise<string[]>;
getLatestFrame(pipelineId: string, runId: string): Promise<WorldFrame | null>;
deleteRun(pipelineId: string, runId: string): Promise<void>;
listRuns(pipelineId: string): Promise<string[]>;
listPipelines(): Promise<string[]>;
indexRun(pipelineId: string, runId: string): Promise<void>;
};