Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/rules/hooks/useProjectSettings

Cockpit client (features), next. Source: ui/client/features/rules/hooks/useProjectSettings.ts.

Functions#

useProjectSettings()#

useProjectSettings(): ProjectSettingsApi

Defined in: ui/client/features/rules/hooks/useProjectSettings.ts:11

slice 5 -- project.framework (route adapter) + features.root: read on mount (same run-once-and-on-demand shape as useRules/useExceptions), plus one pending single-field edit as a reviewable diff. Only one field can be edited at a time, same as useRuleEdit's one-row-at-a-time editor.

Returns#

ProjectSettingsApi