ui/client/features/page-builder/workflows/BuilderFlow
The builder screen's own state: the page name, the export panel and the last status line.
Cockpit client (features), next. Source: ui/client/features/page-builder/workflows/BuilderFlow.ts.
Type Aliases#
BuilderAction#
BuilderAction = {
name:string;type:"RENAMED"; } | {tsx:string;type:"EXPORTED"; } | {type:"EXPORT_CLOSED"; } | {status:string;type:"STATUS"; }
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:11
BuilderState#
BuilderState =
object
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:4
Properties#
exported
exported:
string|null
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:7
The exported TSX while the export panel is open, null when it is closed.
name
name:
string
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:5
status
status:
string
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:8
Variables#
initialBuilder#
constinitialBuilder:BuilderState
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:17
Functions#
builderReducer()#
builderReducer(
state,action):BuilderState
Defined in: ui/client/features/page-builder/workflows/BuilderFlow.ts:19