Skip to main content

XpmInitTemplateType type alias

Represents the supported property types for xpm init template properties.

Signature

export type XpmInitTemplateType = 'select' | 'string' | 'number' | 'boolean';

Remarks

Property types control how the xpm init command prompts users for configuration values during template initialisation:

  • select: Presents a list of predefined options for the user to choose from. Requires the items field to be populated.
  • string: Accepts free-form text input from the user.
  • number: Accepts numeric input with validation.
  • boolean: Accepts yes/no input, converted to true or false.

Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.