Skip to content

Add status enum to timeline entry type in types/timeline.ts #749

Description

@Kingsman-99

Description

types/timeline.ts defines timeline entries without a status field. Consumers must infer status from the presence or absence of timestamps, which is ambiguous and inconsistent.

Acceptance Criteria

  • A TimelineEntryStatus enum or string union is exported: "pending" | "in_progress" | "completed" | "failed"
  • The TimelineEntry type gains a required status: TimelineEntryStatus field
  • Existing fields are unchanged
  • Unit tests pass

Context

  • Target file: src/types/timeline.ts
  • Use a string union rather than a numeric enum for JSON serialisation compatibility

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions