GenerateOptions
@aurorajs.dev/catalyst-cli / generator/engine/file-manager / GenerateOptions
Interface: GenerateOptions
Sección titulada «Interface: GenerateOptions»Defined in: generator/engine/file-manager.ts:49
Options accepted by generateFromTemplate and generateContents.
All fields are optional. The ones related to filtering (excludedFiles,
excludedOperations) and iteration context (currentProperty,
currentAdditionalApi) are set internally when the generator expands a
template group; callers typically only set force, lockFiles,
templateData, verbose and the bounded-context/module identifiers.
Properties
Sección titulada «Properties»boundedContextName?
Sección titulada «boundedContextName?»
optionalboundedContextName?:string
Defined in: generator/engine/file-manager.ts:51
Bounded context name used for filename substitution (e.g. __bounded_context_name__).
currentAdditionalApi?
Sección titulada «currentAdditionalApi?»
optionalcurrentAdditionalApi?:AdditionalApi
Defined in: generator/engine/file-manager.ts:53
Currently iterated additional API when expanding additional-@api templates.
currentProperty?
Sección titulada «currentProperty?»
optionalcurrentProperty?:Property
Defined in: generator/engine/file-manager.ts:55
Currently iterated property when expanding per-property templates.
excludedFiles?
Sección titulada «excludedFiles?»
optionalexcludedFiles?:string[]
Defined in: generator/engine/file-manager.ts:57
File path globs excluded from generation for this module.
excludedOperations?
Sección titulada «excludedOperations?»
optionalexcludedOperations?:string[]
Defined in: generator/engine/file-manager.ts:59
CRUD operations excluded for this module (e.g. delete, update).
optionalforce?:boolean
Defined in: generator/engine/file-manager.ts:61
If true, overwrite existing files respecting the lockfile integrity check.
lockFiles?
Sección titulada «lockFiles?»
optionallockFiles?:LockFile[]
Defined in: generator/engine/file-manager.ts:63
Existing lockfile entries consulted when a file already exists on disk.
moduleName?
Sección titulada «moduleName?»
optionalmoduleName?:string
Defined in: generator/engine/file-manager.ts:65
Module name used for filename substitution (__module_name__).
moduleNames?
Sección titulada «moduleNames?»
optionalmoduleNames?:string
Defined in: generator/engine/file-manager.ts:67
Plural form of the module name (__module_names__).
templateData?
Sección titulada «templateData?»
optionaltemplateData?:TemplateData
Defined in: generator/engine/file-manager.ts:69
Data passed into the Eta renderer as it.
useTemplateEngine?
Sección titulada «useTemplateEngine?»
optionaluseTemplateEngine?:boolean
Defined in: generator/engine/file-manager.ts:71
If false, skip Eta rendering and copy the template contents verbatim.
verbose?
Sección titulada «verbose?»
optionalverbose?:boolean
Defined in: generator/engine/file-manager.ts:73
If true, log per-file and per-region detail under INFO/OVERWRITE/REGION tags.