n8n/packages/@n8n/engine/src/execution/step-store.ts
mfsiega 1cabcbf38c
feat(core): Implement execution_start event handler (no-changelog) (#34795)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2026-07-28 14:27:55 +00:00

15 lines
427 B
TypeScript

import type { StepStatus } from './execution.types';
/** A new step to persist. `id` and timestamps are assigned by the store. */
export interface NewStepRecord {
executionId: string;
nodeId: string;
status: StepStatus;
}
/** Persistence interface for step records. */
export interface StepStore {
/** Persist a new step record; returns its generated id. */
createStep(record: NewStepRecord): Promise<{ id: string }>;
}