Type alias SchemaDefinitionProperty<T, EnforcedDocType>

SchemaDefinitionProperty<T, EnforcedDocType>: SchemaDefinitionWithBuiltInClass<T> | SchemaTypeOptions<T extends undefined
    ? any
    : T, EnforcedDocType> | typeof SchemaType | Schema<any, any, any> | Schema<any, any, any>[] | SchemaTypeOptions<T extends undefined
    ? any
    : Unpacked<T>, EnforcedDocType>[] | Function[] | SchemaDefinition<T, EnforcedDocType> | SchemaDefinition<Unpacked<T>, EnforcedDocType>[] | typeof mongoose.Schema.Types.Mixed | MixedSchemaTypeOptions<EnforcedDocType>

Type Parameters

  • T = undefined

  • EnforcedDocType = any

Generated using TypeDoc