Line

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

ui/client/features/processes/domain/ApprovalRows

Pure (DOMAIN-001): which processes have files waiting on a human decision, and how many.

Cockpit client (features), next. Source: ui/client/features/processes/domain/ApprovalRows.ts.

Type Aliases#

ApprovalRow#

ApprovalRow = object

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:4

Properties#

id

id: string

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:4

pending

pending: number

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:4

title

title: string

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:4

Functions#

buildApprovalRows()#

buildApprovalRows(summaries): ApprovalRow[]

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:7

Processes with at least one artifact awaiting approval, in list order.

Parameters#

summaries

ProcessSummary[]

Returns#

ApprovalRow[]


pendingApprovalCount()#

pendingApprovalCount(summaries): number

Defined in: ui/client/features/processes/domain/ApprovalRows.ts:12

Total files waiting across every process; the Approvals tab's badge, mirroring the Processes pill.

Parameters#

summaries

ProcessSummary[]

Returns#

number