GenerationContext
@aurorajs.dev/catalyst-cli / generator/domain/model / GenerationContext
Interface: GenerationContext
Section titled “Interface: GenerationContext”Defined in: generator/domain/model.ts:454
Aggregated context passed to top-level commands. Bundles the schema being generated, its scope, the applicable lockfile slice, and CLI flags.
Properties
Section titled “Properties”baseDir
Section titled “baseDir”baseDir:
string
Defined in: generator/domain/model.ts:456
Directory that anchors every relative path used during this run.
flags:
object
Defined in: generator/domain/model.ts:457
force?
Section titled “force?”
optionalforce?:boolean
Overwrite files whose integrity matches the lockfile.
noGraphQLTypes?
Section titled “noGraphQLTypes?”
optionalnoGraphQLTypes?:boolean
Skip emission of GraphQL type definitions.
overwriteInterface?
Section titled “overwriteInterface?”
optionaloverwriteInterface?:boolean
Force overwrite of interfaces even without force.
tests?
Section titled “tests?”
optionaltests?:boolean
Emit unit/integration tests along with production code.
verbose?
Section titled “verbose?”
optionalverbose?:boolean
Enable per-file / per-region log lines.
lockFiles
Section titled “lockFiles”lockFiles:
LockFile[]
Defined in: generator/domain/model.ts:470
Lockfile entries applicable to the files about to be generated.
overwrittenFiles
Section titled “overwrittenFiles”overwrittenFiles:
string[]
Defined in: generator/domain/model.ts:472
Paths of files whose skeleton was detected as user-modified this run.
schema
Section titled “schema”schema:
ModuleDefinitionSchema
Defined in: generator/domain/model.ts:473
scope:
Scope
Defined in: generator/domain/model.ts:474