ui/client/features/pages-editor/workflows/PagesEditor
Cockpit client (features), next. Source: ui/client/features/pages-editor/workflows/PagesEditor.ts.
Type Aliases#
PagesEditorAction#
PagesEditorAction = {
features:string[];type:"FEATURES_LOADED"; } | {feature:string;type:"SET_FEATURE"; } | {files:string[];type:"FILES_LOADED"; } | {error:string;type:"FILES_ERROR"; } | {file:string;type:"OPEN_FILE"; } | {tree:PageTree;type:"TREE_LOADED"; } | {error:string;type:"TREE_ERROR"; } | {nodeId:string;type:"SELECT_NODE"; } | {tree:PageTree;type:"TREE_UPDATED"; }
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:15
PagesEditorState#
PagesEditorState =
object
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:4
Properties#
error
error:
string|null
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:12
feature
feature:
string
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:6
features
features:
string[]
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:5
file
file:
string
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:9
files
files:
string[]
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:7
filesLoading
filesLoading:
boolean
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:8
selectedNodeId
selectedNodeId:
string|null
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:11
tree
tree:
PageTree|null
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:10
Variables#
initialPagesEditorState#
constinitialPagesEditorState:PagesEditorState
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:26
Functions#
pagesEditorReducer()#
pagesEditorReducer(
state,action):PagesEditorState
Defined in: ui/client/features/pages-editor/workflows/PagesEditor.ts:37