mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 21:49:36 +02:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
15 lines
427 B
TypeScript
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 }>;
|
|
}
|