Line

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

ui/client/features/command-palette/domain/CommandRegistry

Pure (DOMAIN-001): the command registry.

Cockpit client (features), next. Source: ui/client/features/command-palette/domain/CommandRegistry.ts.

Functions#

addCommands()#

addCommands(commands, added): Command[]

Defined in: ui/client/features/command-palette/domain/CommandRegistry.ts:5

Parameters#

commands

Command[]

added

Command[]

Returns#

Command[]


removeCommands()#

removeCommands(commands, ids): Command[]

Defined in: ui/client/features/command-palette/domain/CommandRegistry.ts:18

Parameters#

commands

Command[]

ids

string[]

Returns#

Command[]