15 lines
363 B
TypeScript
15 lines
363 B
TypeScript
import type { StepId } from '../value-objects/StepId';
|
|
|
|
/**
|
|
* Domain Type: StepExecution
|
|
*
|
|
* Represents execution metadata for a single automation step.
|
|
* This is a pure data shape (DTO-like), not an entity or value object.
|
|
*/
|
|
export interface StepExecution {
|
|
stepId: StepId;
|
|
startedAt: Date;
|
|
completedAt?: Date;
|
|
success: boolean;
|
|
error?: string;
|
|
} |