Skip to content

Registry.add() method

Home > streplts > Registry > add

Registers a new command schema pattern or a sub-namespace index node tree under this router.

Signature:

add(def: CommandDefinition): this;

Parameter

Type

Description

def

CommandDefinition

The command target configuration schema structure.

Returns:

this

The contextual registry instance enabling fluent operational composition.