Line

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

ui/client/features/pages-editor/domain/AllPages

Pure (DOMAIN-001): the rows of the Pages screen's list of all pages.

Cockpit client (features), next. Source: ui/client/features/pages-editor/domain/AllPages.ts.

Type Aliases#

PageRef#

PageRef = object

Defined in: ui/client/features/pages-editor/domain/AllPages.ts:3

Properties#

feature

feature: string

Defined in: ui/client/features/pages-editor/domain/AllPages.ts:3

file

file: string

Defined in: ui/client/features/pages-editor/domain/AllPages.ts:3

Functions#

allPageItems()#

allPageItems(pages): object[]

Defined in: ui/client/features/pages-editor/domain/AllPages.ts:7

Parameters#

pages

PageRef[]

Returns#

object[]


pageOfItem()#

pageOfItem(pages, id): PageRef | null

Defined in: ui/client/features/pages-editor/domain/AllPages.ts:12

The page for a row id, or null when it is not in the list.

Parameters#

pages

PageRef[]

id

string

Returns#

PageRef | null