ui/client/features/shell/domain/ProjectRequirement
Pure (DOMAIN-001): what the Cockpit frame shows for the state of the open project.
Cockpit client (features), next. Source: ui/client/features/shell/domain/ProjectRequirement.ts.
Variables#
PROJECT_FREE_ROUTES#
constPROJECT_FREE_ROUTES:string[]
Defined in: ui/client/features/shell/domain/ProjectRequirement.ts:9
Routes that do not need a project. Everything else shows the gate.
Functions#
isProjectFreeRoute()#
isProjectFreeRoute(
pathname):boolean
Defined in: ui/client/features/shell/domain/ProjectRequirement.ts:11
Parameters#
pathname
string
Returns#
boolean
shellMode()#
shellMode(
known,projectDir,pathname):ShellMode
Defined in: ui/client/features/shell/domain/ProjectRequirement.ts:15
Parameters#
known
boolean
projectDir
string | null
pathname
string