Line

ui/client/features/wizard/domain/WizardSteps

Pure (DOMAIN-001): the Import Wizard's framework blocks, in the order they run, and how each server step event moves them.

Cockpit client (features), v0.9. Source: ui/client/features/wizard/domain/WizardSteps.ts.

Type Aliases#

StepEvent#

StepEvent = object

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:7

Properties#

detail?

optional detail?: Record<string, unknown>

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:7

phase

phase: string

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:7


StepStatus#

StepStatus = "pending" | "active" | "done" | "skipped" | "cancelled" | "stopped"

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:5


WizardPhase#

WizardPhase = "tracing" | "analyzing" | "plan-ready" | "scaffolding" | "filling" | "validating" | "auto-fixing"

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:4


WizardStep#

WizardStep = object

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:6

Properties#

label

label: string

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:6

note

note: string

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:6

phase

phase: WizardPhase

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:6

status

status: StepStatus

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:6

Variables#

PHASE_ORDER#

const PHASE_ORDER: readonly WizardPhase[]

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:9

Functions#

applyStepEvent()#

applyStepEvent(steps, event): WizardStep[]

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:46

Apply one server step event. A block that is passed while still pending was not needed this run (skipped); the active one is done once the next begins; done/cancelled close the run.

Parameters#

steps

WizardStep[]

event

StepEvent

Returns#

WizardStep[]


endRun()#

endRun(steps): WizardStep[]

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:60

The session ended: anything still running stopped without finishing, anything not reached was skipped.

Parameters#

steps

WizardStep[]

Returns#

WizardStep[]


initialSteps()#

initialSteps(): WizardStep[]

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:21

Returns#

WizardStep[]


stepNote()#

stepNote(event): string

Defined in: ui/client/features/wizard/domain/WizardSteps.ts:28

A short human line for one step event: what the framework is doing right now.

Parameters#

event

StepEvent

Returns#

string