Skip to main content
Version: Next

MetadataDiscoveryOptions

Index

Properties

optionalafterDiscovered

afterDiscovered?: (storage: MetadataStorage, platform: Platform) => MaybePromise<void>

Type declaration

optionalalwaysAnalyseProperties

alwaysAnalyseProperties?: boolean

optionalcheckDuplicateEntities

checkDuplicateEntities?: boolean

optionalcheckDuplicateFieldNames

checkDuplicateFieldNames?: boolean

optionalcheckDuplicateTableNames

checkDuplicateTableNames?: boolean

optionalcheckNonPersistentCompositeProps

checkNonPersistentCompositeProps?: boolean

optionaldisableDynamicFileAccess

disableDynamicFileAccess?: boolean

optionalgetMappedType

getMappedType?: (type: string, platform: Platform) => undefined | Type<unknown, unknown>

Type declaration

    • (type: string, platform: Platform): undefined | Type<unknown, unknown>
    • Parameters

      Returns undefined | Type<unknown, unknown>

optionalinferDefaultValues

inferDefaultValues?: boolean

optionalonMetadata

onMetadata?: (meta: EntityMetadata<any>, platform: Platform) => MaybePromise<void>

Type declaration

optionalrequireEntitiesArray

requireEntitiesArray?: boolean

optionaltsConfigPath

tsConfigPath?: string

optionalwarnWhenNoEntities

warnWhenNoEntities?: boolean