Skip to main content

Type Alias: TemplateVariables

TemplateVariables = Record<string, Record<string, string | number | boolean>>

Defined in: packages/core/src/application/template-expander.ts:14

Template variables available for substitution in hook commands and instruction text.

Each top-level key is a namespace name; each value is a flat record of string keys to primitive values. Example:

{
project: { root: '/Users/dev/my-project' },
change: { name: 'add-auth', workspace: 'default', path: '...' },
}