Config for describing a command

Type Parameters

  • T = any

Hierarchy

  • CommandConfig

Properties

Properties

id: string

Id of the command

Specified by the Command decorator when declaring the command

params?: Partial<Record<keyof T, unknown>>

Optional parameters to set when creating the command from the config. All values need to be serializable