Skip to main content
Version: Next

GenerateOptions

Index

Properties

optionalbidirectionalRelations

bidirectionalRelations?: boolean

optionalcoreImportsPrefix

coreImportsPrefix?: string

optionalcustomBaseEntityName

customBaseEntityName?: string

optionalentitySchema

entitySchema?: boolean

optionalesmImport

esmImport?: boolean

optionalextraImports

extraImports?: (basePath: string, originFileName: string) => undefined | string[]

Type declaration

    • (basePath: string, originFileName: string): undefined | string[]
    • Parameters

      • basePath: string
      • originFileName: string

      Returns undefined | string[]

optionalfileName

fileName?: (className: string) => string

Type declaration

    • (className: string): string
    • Parameters

      • className: string

      Returns string

optionalforceUndefined

forceUndefined?: boolean

optionalidentifiedReferences

identifiedReferences?: boolean

optionalonImport

onImport?: ImportsResolver

optionalonInitialMetadata

onInitialMetadata?: MetadataProcessor

optionalonlyPurePivotTables

onlyPurePivotTables?: boolean

optionalonProcessedMetadata

onProcessedMetadata?: MetadataProcessor

optionaloutputPurePivotTables

outputPurePivotTables?: boolean

optionalpath

path?: string

optionalreadOnlyPivotTables

readOnlyPivotTables?: boolean

optionalsave

save?: boolean

optionalscalarPropertiesForRelations

scalarPropertiesForRelations?: always | never | smart

optionalscalarTypeInDecorator

scalarTypeInDecorator?: boolean

optionalschema

schema?: string

optionalskipColumns

skipColumns?: Dictionary<(string | RegExp)[]>

optionalskipTables

skipTables?: (string | RegExp)[]

optionaltakeTables

takeTables?: (string | RegExp)[]

optionalundefinedDefaults

undefinedDefaults?: boolean

optionaluseCoreBaseEntity

useCoreBaseEntity?: boolean