Optional
argOptional
argIf defined, uses this single-character command-line argument name instead of none.
Optional
defaultThe default value for this config element, if not provided from other sources.
Optional
descriptionA short description of this config element, shown as a tooltip in hte UI.
Optional
displayIf defined, uses this display name instead of the key.
Optional
envIf defined, uses this environment variable name instead of the default PREFIX_CATEGORY_CONFIG.
Optional
hideIf true, will not show this config element in the UI,
but will still load from env or other sources and be available in values
.
Optional
skipIf true, will not generate a label for this config element. Useful when implementing custom toHtml
.
Optional
toIf defined, applies custom HTML rendering for this config element. If undefined, tries to auto-generate based on zod type.
The Zod type definition for this config element.
Optional
useIf defined, uses this Zod type name instead of trying to unwrap the type.
This can be more convenient than redefining the HTML with toHtml
, if the input type is simple.
For instance, when using zod pipes that should accept simple string inputs.
If defined, uses this command-line argument name instead of the default
--category-config
.