import { MAIN_TOKEN_ID, SCHEMA_VERSION, START_PLACE_ID, type WorkflowState, } from "./types.ts"; export function createInitialState(): WorkflowState { return { schemaVersion: SCHEMA_VERSION, revision: 0, places: { [START_PLACE_ID]: { id: START_PLACE_ID, type: "Condition", label: "Session started", state: "satisfied", evidenceIds: [], }, }, transitions: {}, arcs: {}, refinements: {}, token: { id: MAIN_TOKEN_ID, placeId: START_PLACE_ID, status: "active", }, evidence: {}, appliedPatches: {}, }; }