ui/client/features/project-gate/workflows/ProjectGate
Cockpit client (features), next. Source: ui/client/features/project-gate/workflows/ProjectGate.tsx.
Type Aliases#
ProjectGateAction#
ProjectGateAction = {
status:ProjectStatus;type:"STATUS_LOADED"; } | {message:string;type:"STATUS_FAILED"; } | {type:"STATUS_RETRY"; } | {type:"INIT_START"; } | {status:ProjectStatus;type:"INIT_SUCCESS"; } | {error:string;type:"INIT_ERROR"; } | {type:"OPEN_START"; } | {error:string;type:"OPEN_ERROR"; }
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:16
ProjectGateState#
ProjectGateState =
object
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:6
Properties#
error
error:
string|null
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:9
initializing
initializing:
boolean
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:8
loadError
loadError:
string|null
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:10
openError
openError:
string|null
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:13
opening
opening:
boolean
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:12
: opening a folder as the project (the "Open a project" screen).
status
status:
ProjectStatus|null
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:7
Variables#
initialProjectGateState#
constinitialProjectGateState:ProjectGateState
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:26
Functions#
projectGateReducer()#
projectGateReducer(
state,action):ProjectGateState
Defined in: ui/client/features/project-gate/workflows/ProjectGate.tsx:35