ui/client/features/wizard/workflows/Wizard
Cockpit client (features), v0.8. Source: ui/client/features/wizard/workflows/Wizard.tsx.
Type Aliases#
WizardAction#
WizardAction = {
type:"CONNECTED"; } | {type:"DISCONNECTED"; } | {type:"SOCKET_ERROR"; } | {event:ServerWizardEvent;type:"SERVER_EVENT"; } | {type:"START"; } | {text:string;type:"ANSWER_SENT"; }
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:13
WizardState#
WizardState =
object
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:6
Properties#
awaitingAnswer
awaitingAnswer:
boolean
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:9
messages
messages:
ChatMessageData[]
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:7
nextId
nextId:
number
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:10
status
status:
WizardStatus
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:8
Variables#
initialWizardState#
constinitialWizardState:WizardState
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:21
Functions#
wizardReducer()#
wizardReducer(
state,action):WizardState
Defined in: ui/client/features/wizard/workflows/Wizard.tsx:38