Type Alias: AutoInstantiatedSubtemplate<TFinalSettings>
AutoInstantiatedSubtemplate<
TFinalSettings> =object
Defined in: ../../template-types-lib/src/types/template-config-types.ts:121
Auto instantiate subtemplates.
Type Parameters
TFinalSettings
TFinalSettings extends FinalTemplateSettings = FinalTemplateSettings
Properties
children?
optionalchildren:AutoInstantiatedSubtemplate<TFinalSettings>[]
Defined in: ../../template-types-lib/src/types/template-config-types.ts:140
Array of children templates to also autoinstiate with this one.
mapSettings
mapSettings:
AnyOrCallback<TFinalSettings,UserTemplateSettings>
Defined in: ../../template-types-lib/src/types/template-config-types.ts:135
Function to map the user settings to the subtemplate settings. This function is called with the user settings and should return the subtemplate settings.
subTemplateName
subTemplateName:
string
Defined in: ../../template-types-lib/src/types/template-config-types.ts:129
The path to the subtemplate. relative to project root
Example
"nix-project-flake"