GenerationContext
@aurorajs.dev/catalyst-cli / generator/domain/model / GenerationContext
Interface: GenerationContext
Sección titulada «Interface: GenerationContext»Defined in: generator/domain/model.ts:407
Aggregated context passed to the top-level commands and the services they call. Bundles the schema being generated, its scope (back/front), the lockfile slice that applies, and the CLI flags that influence behaviour.
Properties
Sección titulada «Properties»baseDir
Sección titulada «baseDir»baseDir:
string
Defined in: generator/domain/model.ts:409
Directory that anchors every relative path used during this run.
flags:
object
Defined in: generator/domain/model.ts:410
optionalforce?:boolean
Overwrite files whose integrity matches the lockfile.
noGraphQLTypes?
Sección titulada «noGraphQLTypes?»
optionalnoGraphQLTypes?:boolean
Skip emission of GraphQL type definitions.
overwriteInterface?
Sección titulada «overwriteInterface?»
optionaloverwriteInterface?:boolean
Force overwrite of interfaces even without force.
optionaltests?:boolean
Emit unit/integration tests along with production code.
verbose?
Sección titulada «verbose?»
optionalverbose?:boolean
Enable per-file / per-region log lines.
lockFiles
Sección titulada «lockFiles»lockFiles:
LockFile[]
Defined in: generator/domain/model.ts:423
Lockfile entries applicable to the files about to be generated.
overwrittenFiles
Sección titulada «overwrittenFiles»overwrittenFiles:
string[]
Defined in: generator/domain/model.ts:425
Paths of files whose skeleton was detected as user-modified this run.
schema:
ModuleDefinitionSchema
Defined in: generator/domain/model.ts:426
scope:
Scope
Defined in: generator/domain/model.ts:427