feat: add RuntimeStep union type for procedural custom steps

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-02-24 21:43:17 -05:00
parent 3f6e126f97
commit bb8d2fbcb2

View File

@@ -123,6 +123,18 @@ export interface ProceduralStep {
reference_url?: string
}
export interface CustomProceduralStep {
id: string
type: 'procedure_step'
title: string
description?: string
content_type: 'action'
commands?: CommandBlock[]
isCustom: true
}
export type RuntimeStep = ProceduralStep | CustomProceduralStep
export interface ProceduralTreeStructure {
steps: ProceduralStep[]
}