Variables IORedis Defined in node_modules/@types/ioredis/index.d.ts:49 Const Long Without Overrides ClassDefined in node_modules/bson/bson.d.ts:927 Const Auth MechanismAuth
Mechanism
: Readonly < { MONGODB_AWS
: "MONGODB-AWS" ; MONGODB_CR
: "MONGODB-CR" ; MONGODB_DEFAULT
: "DEFAULT" ; MONGODB_GSSAPI
: "GSSAPI" ; MONGODB_PLAIN
: "PLAIN" ; MONGODB_SCRAM_SHA1
: "SCRAM-SHA-1" ; MONGODB_SCRAM_SHA256
: "SCRAM-SHA-256" ; MONGODB_X509
: "MONGODB-X509" } > Defined in node_modules/mongodb/mongodb.d.ts:598 Const Auto Encryption Logger LevelAuto
Encryption
Logger
Level
: Readonly < { FatalError
: 0 ; Error
: 1 ; Warning
: 2 ; Info
: 3 ; Trace
: 4 } > Defined in node_modules/mongodb/mongodb.d.ts:636 Const Batch TypeBatch
Type
: Readonly < { INSERT
: 1 ; UPDATE
: 2 ; DELETE
: 3 } > Defined in node_modules/mongodb/mongodb.d.ts:834 Const BSONTypeBSONType
: Readonly < { double
: 1 ; string
: 2 ; object
: 3 ; array
: 4 ; binData
: 5 ; undefined
: 6 ; objectId
: 7 ; bool
: 8 ; date
: 9 ; null
: 10 ; regex
: 11 ; dbPointer
: 12 ; javascript
: 13 ; symbol
: 14 ; javascriptWithScope
: 15 ; int
: 16 ; timestamp
: 17 ; long
: 18 ; decimal
: 19 ; minKey
: -1 ; maxKey
: 127 } > Defined in node_modules/mongodb/mongodb.d.ts:886 Const Explain VerbosityExplain
Verbosity
: Readonly < { queryPlanner
: "queryPlanner" ; queryPlannerExtended
: "queryPlannerExtended" ; executionStats
: "executionStats" ; allPlansExecution
: "allPlansExecution" } > Defined in node_modules/mongodb/mongodb.d.ts:3435 Const GSSAPICanonicalization ValueGSSAPICanonicalization
Value
: Readonly < { on
: true ; off
: false ; none
: "none" ; forward
: "forward" ; forwardAndReverse
: "forwardAndReverse" } > Defined in node_modules/mongodb/mongodb.d.ts:4086 Const LEGAL_ TCP_ SOCKET_ OPTIONSLEGAL_ TCP_ SOCKET_ OPTIONS: readonly [ "family" , "hints" , "localAddress" , "localPort" , "lookup" ]
Defined in node_modules/mongodb/mongodb.d.ts:4342 Const LEGAL_ TLS_ SOCKET_ OPTIONSLEGAL_ TLS_ SOCKET_ OPTIONS: readonly [ "ALPNProtocols" , "ca" , "cert" , "checkServerIdentity" , "ciphers" , "crl" , "ecdhCurve" , "key" , "minDHSize" , "passphrase" , "pfx" , "rejectUnauthorized" , "secureContext" , "secureProtocol" , "servername" , "session" ]
Defined in node_modules/mongodb/mongodb.d.ts:4345 Const Logger LevelLogger
Level
: Readonly < { ERROR
: "error" ; WARN
: "warn" ; INFO
: "info" ; DEBUG
: "debug" ; error
: "error" ; warn
: "warn" ; info
: "info" ; debug
: "debug" } > Defined in node_modules/mongodb/mongodb.d.ts:4484 Const MONGO_ CLIENT_ EVENTSMONGO_ CLIENT_ EVENTS: readonly [ "connectionPoolCreated" , "connectionPoolReady" , "connectionPoolCleared" , "connectionPoolClosed" , "connectionCreated" , "connectionReady" , "connectionClosed" , "connectionCheckOutStarted" , "connectionCheckOutFailed" , "connectionCheckedOut" , "connectionCheckedIn" , "commandStarted" , "commandSucceeded" , "commandFailed" , "serverOpening" , "serverClosed" , "serverDescriptionChanged" , "topologyOpening" , "topologyClosed" , "topologyDescriptionChanged" , "error" , "timeout" , "close" , "serverHeartbeatStarted" , "serverHeartbeatSucceeded" , "serverHeartbeatFailed" ]
Defined in node_modules/mongodb/mongodb.d.ts:4574 Const Profiling LevelProfiling
Level
: Readonly < { off
: "off" ; slowOnly
: "slow_only" ; all
: "all" } > Defined in node_modules/mongodb/mongodb.d.ts:5594 Const Read Concern LevelRead
Concern
Level
: Readonly < { local
: "local" ; majority
: "majority" ; linearizable
: "linearizable" ; available
: "available" ; snapshot
: "snapshot" } > Defined in node_modules/mongodb/mongodb.d.ts:5705 Const Read Preference ModeRead
Preference
Mode
: Readonly < { primary
: "primary" ; primaryPreferred
: "primaryPreferred" ; secondary
: "secondary" ; secondaryPreferred
: "secondaryPreferred" ; nearest
: "nearest" } > Defined in node_modules/mongodb/mongodb.d.ts:5816 Const Return DocumentReturn
Document
: Readonly < { BEFORE
: "before" ; AFTER
: "after" } > Defined in node_modules/mongodb/mongodb.d.ts:5905 Const Server TypeServer
Type
: Readonly < { Standalone
: "Standalone" ; Mongos
: "Mongos" ; PossiblePrimary
: "PossiblePrimary" ; RSPrimary
: "RSPrimary" ; RSSecondary
: "RSSecondary" ; RSArbiter
: "RSArbiter" ; RSOther
: "RSOther" ; RSGhost
: "RSGhost" ; Unknown
: "Unknown" ; LoadBalancer
: "LoadBalancer" } > Defined in node_modules/mongodb/mongodb.d.ts:6183 Const Topology TypeTopology
Type
: Readonly < { Single
: "Single" ; ReplicaSetNoPrimary
: "ReplicaSetNoPrimary" ; ReplicaSetWithPrimary
: "ReplicaSetWithPrimary" ; Sharded
: "Sharded" ; Unknown
: "Unknown" ; LoadBalanced
: "LoadBalanced" } > Defined in node_modules/mongodb/mongodb.d.ts:6416 Collection Defined in node_modules/mongoose/types/collection.d.ts:43 Const ModelDefined in node_modules/mongoose/types/models.d.ts:126 Shared Array Buffer Defined in node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts:42 Big Int Defined in node_modules/typescript/lib/lib.es2020.bigint.d.ts:145 Big Int64 Array Defined in node_modules/typescript/lib/lib.es2020.bigint.d.ts:417 Big Uint64 Array Defined in node_modules/typescript/lib/lib.es2020.bigint.d.ts:689 Locale Defined in node_modules/typescript/lib/lib.es2020.intl.d.ts:335 Object Object: ObjectConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:269 Boolean Defined in node_modules/typescript/lib/lib.es5.d.ts:543 Number Number: NumberConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:605 Type Aliases _ Command Defined in node_modules/@types/ioredis/index.d.ts:86 Boolean Response Boolean Response: 1 | 0
Defined in node_modules/@types/ioredis/index.d.ts:89 Callback Callback< T > : ( ( err: Error | null , res: T ) => void )
Defined in node_modules/@types/ioredis/index.d.ts:90 Type Parameters Type declaration ( err: Error | null , res: T ) : void Key Type Defined in node_modules/@types/ioredis/index.d.ts:91 Value Type Defined in node_modules/@types/ioredis/index.d.ts:92 Buffer Encoding Buffer Encoding: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"
Defined in node_modules/@types/node/globals.d.ts:251 Platform Platform: "aix" | "android" | "darwin" | "freebsd" | "linux" | "openbsd" | "sunos" | "win32" | "cygwin" | "netbsd"
Defined in node_modules/@types/node/globals.d.ts:818 Typed Array Defined in node_modules/@types/node/globals.d.ts:1338 Array Buffer View Defined in node_modules/@types/node/globals.d.ts:1350 Lookup Function Defined in node_modules/@types/node/net.d.ts:6 Type declaration Parameters hostname: string callback: ( ( err: <internal> . ErrnoException | null , address: string , family: number ) => void ) Parameters address: string family: number Returns void Returns void Socket Connect Opts Defined in node_modules/@types/node/net.d.ts:58 Socket Ready State Socket Ready State: "opening" | "open" | "readOnly" | "writeOnly" | "closed"
Defined in node_modules/@types/node/net.d.ts:59 Secure Version Secure Version: "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"
Defined in node_modules/@types/node/tls.d.ts:495 Binary Sequence Defined in node_modules/bson/bson.d.ts:98 Long Without Overrides Defined in node_modules/bson/bson.d.ts:922 Type declaration Parameters low: unknown Optional high: number Optional unsigned: boolean Timestamp Overrides Timestamp Overrides: "_bsontype" | "toExtendedJSON" | "fromExtendedJSON" | "inspect"
Defined in node_modules/bson/bson.d.ts:1161 Abstract Cursor Events Abstract Cursor Events: { close: any }
Defined in node_modules/mongodb/mongodb.d.ts:208 Type declaration close: function Defined in node_modules/mongodb/mongodb.d.ts:209 Returns void Accepted Fields Accepted
Fields
< TSchema , FieldType , AssignableType > : { readonly [ key in KeysOfAType < TSchema , FieldType > ] ?: AssignableType } Defined in node_modules/mongodb/mongodb.d.ts:260 Type Parameters TSchema FieldType AssignableType Add To Set Operators Add
To
Set
Operators
< Type > : { $each
?: Flatten < Type > [] } Defined in node_modules/mongodb/mongodb.d.ts:265 Type Parameters Alternative Type Defined in node_modules/mongodb/mongodb.d.ts:558 Type Parameters Any Bulk Write Operation Defined in node_modules/mongodb/mongodb.d.ts:561 Type Parameters Any Error Defined in node_modules/mongodb/mongodb.d.ts:576 Array Element Array Element< Type > : Type extends ReadonlyArray < infer Item> ? Item : never
Defined in node_modules/mongodb/mongodb.d.ts:579 Type Parameters Array Operator Array
Operator
< Type > : { $each
?: Flatten < Type > [] ; $slice
?: number ; $position
?: number ; $sort
?: <internal> . Sort } Defined in node_modules/mongodb/mongodb.d.ts:582 Type Parameters Type declaration Optional $each?: Flatten < Type > [] Optional $slice?: number Optional $position?: number Auth Mechanism Defined in node_modules/mongodb/mongodb.d.ts:610 Auto Encryption Logger Level Defined in node_modules/mongodb/mongodb.d.ts:645 Batch Type Defined in node_modules/mongodb/mongodb.d.ts:841 Bitwise Filter Bitwise
Filter
: number | Binary | ReadonlyArray < number > Defined in node_modules/mongodb/mongodb.d.ts:848 BSONType Defined in node_modules/mongodb/mongodb.d.ts:911 Callback Callback
< T > : ( ( error
?: AnyError , result
?: T ) => void ) Defined in node_modules/mongodb/mongodb.d.ts:1107 Type Parameters Change Stream Document Defined in node_modules/mongodb/mongodb.d.ts:1254 Type Parameters Change Stream Events Change
Stream
Events
< TSchema , TChange > : { resumeTokenChanged
: any ; init
: any ; more
: any ; response
: any ; end
: any ; error
: any ; change
: any } & AbstractCursorEvents Defined in node_modules/mongodb/mongodb.d.ts:1360 Type Parameters Client Session Events Client Session Events: { ended: any }
Defined in node_modules/mongodb/mongodb.d.ts:1714 Type declaration ended: function Defined in node_modules/mongodb/mongodb.d.ts:1715 Parameters Returns void Common Events Common Events: "newListener" | "removeListener"
Defined in node_modules/mongodb/mongodb.d.ts:2617 Condition Defined in node_modules/mongodb/mongodb.d.ts:2634 Type Parameters Connection Events Connection Events: { commandStarted: any ; commandSucceeded: any ; commandFailed: any ; clusterTimeReceived: any ; close: any ; message: any ; pinned: any ; unpinned: any }
Defined in node_modules/mongodb/mongodb.d.ts:2706 Type declaration command Started: function Defined in node_modules/mongodb/mongodb.d.ts:2707 Parameters Returns void command Succeeded: function Defined in node_modules/mongodb/mongodb.d.ts:2708 Parameters Returns void command Failed: function Defined in node_modules/mongodb/mongodb.d.ts:2709 Parameters Returns void cluster Time Received: function Defined in node_modules/mongodb/mongodb.d.ts:2710 Parameters Returns void close: function Defined in node_modules/mongodb/mongodb.d.ts:2711 Returns void message: function message( message: any ) : void Defined in node_modules/mongodb/mongodb.d.ts:2712 Parameters Returns void pinned: function pinned( pinType: string ) : void Defined in node_modules/mongodb/mongodb.d.ts:2713 Parameters Returns void unpinned: function unpinned( pinType: string ) : void Defined in node_modules/mongodb/mongodb.d.ts:2714 Parameters Returns void Connection Pool Events Connection
Pool
Events
: { connectionPoolCreated
: any ; connectionPoolReady
: any ; connectionPoolClosed
: any ; connectionPoolCleared
: any ; connectionCreated
: any ; connectionReady
: any ; connectionClosed
: any ; connectionCheckOutStarted
: any ; connectionCheckOutFailed
: any ; connectionCheckedOut
: any ; connectionCheckedIn
: any } & <internal> . Omit < ConnectionEvents , "close" | "message" > Defined in node_modules/mongodb/mongodb.d.ts:2771 Enhanced Omit Enhanced
Omit
< TRecordOrUnion , KeyUnion > : string extends keyof TRecordOrUnion ? TRecordOrUnion : TRecordOrUnion extends any ? <internal> . Pick < TRecordOrUnion , <internal> . Exclude < keyof TRecordOrUnion , KeyUnion > > : never Defined in node_modules/mongodb/mongodb.d.ts:3387 Type Parameters Event Emitter With State Event Emitter With State: {}
Defined in node_modules/mongodb/mongodb.d.ts:3414 Events Description Defined in node_modules/mongodb/mongodb.d.ts:3422 Explain Verbosity Explain Verbosity: string
Defined in node_modules/mongodb/mongodb.d.ts:3443 Explain Verbosity Like Defined in node_modules/mongodb/mongodb.d.ts:3451 Filter Defined in node_modules/mongodb/mongodb.d.ts:3454 Type Parameters Filter Operations Defined in node_modules/mongodb/mongodb.d.ts:3459 Type Parameters Finalize Function Finalize Function< TKey , TValue > : ( ( key: TKey , reducedValue: TValue ) => TValue )
Defined in node_modules/mongodb/mongodb.d.ts:3503 Type Parameters Type declaration ( key: TKey , reducedValue: TValue ) : TValue Parameters key: TKey reducedValue: TValue Returns TValue Flatten Flatten< Type > : Type extends ReadonlyArray < infer Item> ? Item : Type
Defined in node_modules/mongodb/mongodb.d.ts:3799 Type Parameters Generic Listener Generic Listener: ( ( ... args: any [] ) => void )
Defined in node_modules/mongodb/mongodb.d.ts:3802 GSSAPICanonicalization Value Defined in node_modules/mongodb/mongodb.d.ts:4095 Hint Defined in node_modules/mongodb/mongodb.d.ts:4104 Index Direction Index Direction: -1 | 1 | "2d" | "2dsphere" | "text" | "geoHaystack" | "hashed" | number
Defined in node_modules/mongodb/mongodb.d.ts:4130 Index Specification Defined in node_modules/mongodb/mongodb.d.ts:4140 Infer Id Type Defined in node_modules/mongodb/mongodb.d.ts:4145 Type Parameters Integer Type Defined in node_modules/mongodb/mongodb.d.ts:4188 Is Any Is Any< Type , ResultIfAny , ResultIfNotAny > : true extends false & Type ? ResultIfAny : ResultIfNotAny
Defined in node_modules/mongodb/mongodb.d.ts:4193 Type Parameters Type ResultIfAny ResultIfNotAny Join Join
< T , D > : T extends [ ] ? "" : T extends [ string | number ] ? ` ${ T [ 0 ] } ` : T extends [ string | number , ... ( infer R
) ] ? ` ${ T [ 0 ] } ${ D } ${ Join < R , D > } ` : string Defined in node_modules/mongodb/mongodb.d.ts:4199 Type Parameters T extends unknown [] D extends string Keys OfAType Keys
OfAType
< TSchema , Type > : { [ key in keyof TSchema ] : NonNullable < TSchema [ key ] > extends Type ? key : never } [ keyof TSchema ] Defined in node_modules/mongodb/mongodb.d.ts:4242 Type Parameters Keys Of Other Type Keys
Of
Other
Type
< TSchema , Type > : { [ key in keyof TSchema ] : NonNullable < TSchema [ key ] > extends Type ? never : key } [ keyof TSchema ] Defined in node_modules/mongodb/mongodb.d.ts:4247 Type Parameters Logger Function Logger Function: ( ( message?: any , ... optionalParams: any [] ) => void )
Defined in node_modules/mongodb/mongodb.d.ts:4481 Type declaration ( message?: any , ... optionalParams: any [] ) : void Parameters Optional message: any Rest ... optionalParams: any [] Returns void Logger Level Defined in node_modules/mongodb/mongodb.d.ts:4496 Map Function Map Function< TSchema > : ( ( this: TSchema ) => void )
Defined in node_modules/mongodb/mongodb.d.ts:4509 Type Parameters Match Keys And Values Defined in node_modules/mongodb/mongodb.d.ts:4544 Type Parameters Mongo Client Events Defined in node_modules/mongodb/mongodb.d.ts:4771 Nested Paths Nested
Paths
< Type , Depth > : Depth [ "length" ] extends 8 ? [ ] : Type extends string | number | boolean | Date | RegExp | <internal> . Buffer | Uint8Array | ( ( ... args
: any [] ) => any ) | { _bsontype
: string } ? [ ] : Type extends ReadonlyArray < infer ArrayType
> ? [ ] | [ number , ... NestedPaths < ArrayType , [ ... Depth , 1 ] > ] : Type extends Map < string , any > ? [ string ] : Type extends object ? { [ Key in Extract < keyof Type , string > ] : Type [ Key ] extends Type ? [ Key ] : Type extends Type [ Key ] ? [ Key ] : Type [ Key ] extends ReadonlyArray < infer ArrayType
> ? Type extends ArrayType ? [ Key ] : ArrayType extends Type ? [ Key ] : [ Key , ... NestedPaths < Type [ Key ] , [ ... Depth , 1 ] > ] : [ Key , ... NestedPaths < Type [ Key ] , [ ... Depth , 1 ] > ] | [ Key ] } [ Extract < keyof Type , string > ] : [ ] Defined in node_modules/mongodb/mongodb.d.ts:5469 Type Parameters Type Depth extends number [] Nested Paths Of Type Defined in node_modules/mongodb/mongodb.d.ts:5487 Type Parameters Non Object Id Like Document Defined in node_modules/mongodb/mongodb.d.ts:5495 Not Accepted Fields Not
Accepted
Fields
< TSchema , FieldType > : { readonly [ key in KeysOfOtherType < TSchema , FieldType > ] ?: never } Defined in node_modules/mongodb/mongodb.d.ts:5500 Type Parameters Numeric Type Defined in node_modules/mongodb/mongodb.d.ts:5505 One Or More One Or More< T > : T | ReadonlyArray < T >
Defined in node_modules/mongodb/mongodb.d.ts:5516 Type Parameters Only Fields Of Type Defined in node_modules/mongodb/mongodb.d.ts:5519 Type Parameters TSchema FieldType = any AssignableType = FieldType Optional Id Defined in node_modules/mongodb/mongodb.d.ts:5553 Type Parameters Optional Unless Required Id Optional
Unless
Required
Id
< TSchema > : TSchema extends { _id
: any } ? TSchema : OptionalId < TSchema > Defined in node_modules/mongodb/mongodb.d.ts:5568 Type Parameters Profiling Level Defined in node_modules/mongodb/mongodb.d.ts:5601 Property Type Property
Type
< Type , Property > : string extends Property ? unknown : Property extends keyof Type ? Type [ Property ] : Property extends ` ${ number } ` ? Type extends ReadonlyArray < infer ArrayType
> ? ArrayType : unknown : Property extends ` ${ infer Key
} . ${ infer Rest
} ` ? Key extends ` ${ number } ` ? Type extends ReadonlyArray < infer ArrayType
> ? PropertyType < ArrayType , Rest > : unknown : Key extends keyof Type ? Type [ Key ] extends Map < string , infer MapType
> ? MapType : PropertyType < Type [ Key ] , Rest > : unknown : unknown Defined in node_modules/mongodb/mongodb.d.ts:5644 Type Parameters Type Property extends string Pull All Operator Pull
All
Operator
< TSchema > : { readonly [ key in KeysOfAType < TSchema , ReadonlyArray < any > > ] ?: TSchema [ key ] } & NotAcceptedFields < TSchema , ReadonlyArray < any > > & {} Defined in node_modules/mongodb/mongodb.d.ts:5655 Type Parameters Pull Operator Defined in node_modules/mongodb/mongodb.d.ts:5662 Type Parameters Push Operator Defined in node_modules/mongodb/mongodb.d.ts:5669 Type Parameters Read Concern Level Defined in node_modules/mongodb/mongodb.d.ts:5714 Read Concern Like Defined in node_modules/mongodb/mongodb.d.ts:5717 Read Preference Like Defined in node_modules/mongodb/mongodb.d.ts:5803 Read Preference Mode Defined in node_modules/mongodb/mongodb.d.ts:5825 Reduce Function Reduce Function< TKey , TValue > : ( ( key: TKey , values: TValue [] ) => TValue )
Defined in node_modules/mongodb/mongodb.d.ts:5836 Type Parameters Type declaration ( key: TKey , values: TValue [] ) : TValue Parameters key: TKey values: TValue [] Returns TValue Reg Exp Or String Reg
Exp
Or
String
< T > : T extends string ? BSONRegExp | RegExp | T : T Defined in node_modules/mongodb/mongodb.d.ts:5839 Type Parameters Return Document Defined in node_modules/mongodb/mongodb.d.ts:5911 Server Events Defined in node_modules/mongodb/mongodb.d.ts:6074 Server Session Id Server
Session
Id
: { id
: Binary } Defined in node_modules/mongodb/mongodb.d.ts:6173 Server Type Defined in node_modules/mongodb/mongodb.d.ts:6197 Set Fields Defined in node_modules/mongodb/mongodb.d.ts:6200 Type Parameters Sort Defined in node_modules/mongodb/mongodb.d.ts:6210 Sort Direction Sort Direction: 1 | -1 | "asc" | "desc" | "ascending" | "descending" | { $meta: string }
Defined in node_modules/mongodb/mongodb.d.ts:6217 Supported Node Connection Options Defined in node_modules/mongodb/mongodb.d.ts:6263 Supported Socket Options Defined in node_modules/mongodb/mongodb.d.ts:6266 SupportedTLSConnection Options Defined in node_modules/mongodb/mongodb.d.ts:6269 SupportedTLSSocket Options Defined in node_modules/mongodb/mongodb.d.ts:6272 Tag Set Tag Set: {}
Defined in node_modules/mongodb/mongodb.d.ts:6275 Topology Events Defined in node_modules/mongodb/mongodb.d.ts:6363 Topology Type Defined in node_modules/mongodb/mongodb.d.ts:6426 Update Filter Update
Filter
< TSchema > : { $currentDate
?: OnlyFieldsOfType < TSchema , Date | Timestamp , true | { $type
: "date" | "timestamp" } > ; $inc
?: OnlyFieldsOfType < TSchema , NumericType | undefined > ; $min
?: MatchKeysAndValues < TSchema > ; $max
?: MatchKeysAndValues < TSchema > ; $mul
?: OnlyFieldsOfType < TSchema , NumericType | undefined > ; $rename
?: <internal> . Record < string , string > ; $set
?: MatchKeysAndValues < TSchema > ; $setOnInsert
?: MatchKeysAndValues < TSchema > ; $unset
?: OnlyFieldsOfType < TSchema , any , "" | true | 1 > ; $addToSet
?: SetFields < TSchema > ; $pop
?: OnlyFieldsOfType < TSchema , ReadonlyArray < any > , 1 | -1 > ; $pull
?: PullOperator < TSchema > ; $push
?: PushOperator < TSchema > ; $pullAll
?: PullAllOperator < TSchema > ; $bit
?: OnlyFieldsOfType < TSchema , NumericType | undefined , { and
: IntegerType } | { or
: IntegerType } | { xor
: IntegerType } > } & <internal> . Document Defined in node_modules/mongodb/mongodb.d.ts:6570 Type Parameters W W: number | "majority"
Defined in node_modules/mongodb/mongodb.d.ts:6683 With Id Defined in node_modules/mongodb/mongodb.d.ts:6827 Type Parameters Without Id Defined in node_modules/mongodb/mongodb.d.ts:6832 Type Parameters With Session Callback Defined in node_modules/mongodb/mongodb.d.ts:6835 Type declaration Parameters Returns Promise < any > With Transaction Callback With
Transaction
Callback
< T > : ( ( session
: ClientSession ) => Promise < T > ) Defined in node_modules/mongodb/mongodb.d.ts:6838 Type Parameters Type declaration Parameters Returns Promise < T > Callback Error Defined in node_modules/mongoose/types/callback.d.ts:2 Callback Defined in node_modules/mongoose/types/callback.d.ts:4 Type Parameters Callback Without Result Defined in node_modules/mongoose/types/callback.d.ts:6 Cursor Flag Cursor Flag: "tailable" | "oplogReplay" | "noCursorTimeout" | "awaitData" | "partial"
Defined in node_modules/mongoose/types/cursor.d.ts:5 paths To Skip paths To Skip: string [] | string
Defined in node_modules/mongoose/types/document.d.ts:5 Expression Defined in node_modules/mongoose/types/expressions.d.ts:2434 Path Path: string
Defined in node_modules/mongoose/types/expressions.d.ts:2431 Code Expression Code Expression: string | Function
Defined in node_modules/mongoose/types/expressions.d.ts:2461 Binary Expression Defined in node_modules/mongoose/types/expressions.d.ts:2465 Function Expression Defined in node_modules/mongoose/types/expressions.d.ts:2468 Any Expression Defined in node_modules/mongoose/types/expressions.d.ts:2471 Object Id Expression Defined in node_modules/mongoose/types/expressions.d.ts:2484 Array Expression Defined in node_modules/mongoose/types/expressions.d.ts:2487 Type Parameters Boolean Expression Defined in node_modules/mongoose/types/expressions.d.ts:2500 Number Expression Defined in node_modules/mongoose/types/expressions.d.ts:2512 Object Expression Defined in node_modules/mongoose/types/expressions.d.ts:2533 String Expression Defined in node_modules/mongoose/types/expressions.d.ts:2542 Type Parameters Date Expression Defined in node_modules/mongoose/types/expressions.d.ts:2552 Arithmetic Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2559 Array Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2577 Literal Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2583 Literal Expression Returning Any Defined in node_modules/mongoose/types/expressions.d.ts:2586 Literal Expression Operator Returning Any Literal
Expression
Operator
Returning
Any
: Literal Defined in node_modules/mongoose/types/expressions.d.ts:2589 Miscellaneous Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2592 Miscellaneous Expression Operator Returning Number Miscellaneous
Expression
Operator
Returning
Number
: Rand Defined in node_modules/mongoose/types/expressions.d.ts:2596 Array Expression Operator Returning Any Defined in node_modules/mongoose/types/expressions.d.ts:2599 Array Expression Operator Returning Array Defined in node_modules/mongoose/types/expressions.d.ts:2605 Array Expression Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2615 Array Expression Operator Returning Object Defined in node_modules/mongoose/types/expressions.d.ts:2619 Array Expression Operator Returning Boolean Array
Expression
Operator
Returning
Boolean
: In | IsArray Defined in node_modules/mongoose/types/expressions.d.ts:2622 Boolean Expression Operator Boolean
Expression
Operator
: And | Or | Not Defined in node_modules/mongoose/types/expressions.d.ts:2626 Comparison Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2631 Comparison Expression Operator Returning Boolean Comparison
Expression
Operator
Returning
Boolean
: Eq | Gt | Gte | Lt | Lte | Ne Defined in node_modules/mongoose/types/expressions.d.ts:2635 Comparison Expression Operator Returning Number Comparison
Expression
Operator
Returning
Number
: Cmp Defined in node_modules/mongoose/types/expressions.d.ts:2643 Conditional Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2646 String Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2651 String Expression Operator Returning Array Defined in node_modules/mongoose/types/expressions.d.ts:2658 String Expression Operator Returning Boolean String
Expression
Operator
Returning
Boolean
: RegexMatch Defined in node_modules/mongoose/types/expressions.d.ts:2662 String Expression Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2665 String Expression Operator Returning Object String
Expression
Operator
Returning
Object
: RegexFind Defined in node_modules/mongoose/types/expressions.d.ts:2672 String Expression Operator Returning String Defined in node_modules/mongoose/types/expressions.d.ts:2675 Object Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2689 Object Expression Operator Returning Array Defined in node_modules/mongoose/types/expressions.d.ts:2695 Object Expression Operator Returning Object Defined in node_modules/mongoose/types/expressions.d.ts:2698 Variable Expression Operator Variable
Expression
Operator
: Let Defined in node_modules/mongoose/types/expressions.d.ts:2703 Set Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2709 Set Expression Operator Returning Boolean Defined in node_modules/mongoose/types/expressions.d.ts:2718 Set Expression Operator Returning Array Defined in node_modules/mongoose/types/expressions.d.ts:2724 Trigonometry Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2735 Text Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2752 Window Operator Defined in node_modules/mongoose/types/expressions.d.ts:2755 Window Operator Returning Any Defined in node_modules/mongoose/types/expressions.d.ts:2779 Window Operator Returning Array Defined in node_modules/mongoose/types/expressions.d.ts:2784 Window Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2788 Type Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2803 Type Expression Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2816 Type Expression Operator Returning Boolean Defined in node_modules/mongoose/types/expressions.d.ts:2823 Type Expression Operator Returning String Defined in node_modules/mongoose/types/expressions.d.ts:2829 Type Expression Operator Returning Object Id Defined in node_modules/mongoose/types/expressions.d.ts:2834 Type Expression Operator Returning Date Type
Expression
Operator
Returning
Date
: Convert < "date" | 9 > | ToDate Defined in node_modules/mongoose/types/expressions.d.ts:2838 Data Size Operator Defined in node_modules/mongoose/types/expressions.d.ts:2842 Data Size Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2846 Custom Aggregation Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2850 Custom Aggregation Expression Operator Returning Any Custom
Aggregation
Expression
Operator
Returning
Any
: Function Defined in node_modules/mongoose/types/expressions.d.ts:2854 Accumulator Operator Defined in node_modules/mongoose/types/expressions.d.ts:2857 tz Expression Defined in node_modules/mongoose/types/expressions.d.ts:2873 hh hh: "-00" | "-01" | "-02" | "-03" | "-04" | "-05" | "-06" | "-07" | "-08" | "-09" | "-10" | "-11" | "-12" | "+00" | "+01" | "+02" | "+03" | "+04" | "+05" | "+06" | "+07" | "+08" | "+09" | "+10" | "+11" | "+12" | "+13" | "+14"
Defined in node_modules/mongoose/types/expressions.d.ts:2875 mm mm: "00" | "30" | "45"
Defined in node_modules/mongoose/types/expressions.d.ts:2877 UTCOffset Defined in node_modules/mongoose/types/expressions.d.ts:2879 Regex Options Regex Options: "i" | "m" | "s" | "x" | "is" | "im" | "ix" | "si" | "sm" | "sx" | "mi" | "ms" | "mx" | "xi" | "xs" | "xm" | "ism" | "isx" | "ims" | "imx" | "ixs" | "ixm" | "sim" | "six" | "smi" | "smx" | "sxi" | "sxm" | "mis" | "mix" | "msi" | "msx" | "mxi" | "mxs" | "xis" | "xim" | "xsi" | "xsm" | "xmi" | "xms" | "ismx" | "isxm" | "imsx" | "imxs" | "ixsm" | "ixms" | "simx" | "sixm" | "smix" | "smxi" | "sxim" | "sxmi" | "misx" | "mixs" | "msix" | "msxi" | "mxis" | "mxsi" | "xism" | "xims" | "xsim" | "xsmi" | "xmis" | "xmsi"
Defined in node_modules/mongoose/types/expressions.d.ts:2881 Start Of Week Start Of Week: "monday" | "mon" | "tuesday" | "tue" | "wednesday" | "wed" | "thursday" | "thu" | "friday" | "fri" | "saturday" | "sat" | "sunday" | "sun"
Defined in node_modules/mongoose/types/expressions.d.ts:2887 Date Unit Date Unit: "year" | "quarter" | "week" | "month" | "day" | "hour" | "minute" | "second" | "millisecond"
Defined in node_modules/mongoose/types/expressions.d.ts:2896 Date Expression Operator Defined in node_modules/mongoose/types/expressions.d.ts:2900 Date Expression Operator Returning Object Defined in node_modules/mongoose/types/expressions.d.ts:2906 Date Expression Operator Returning Number Defined in node_modules/mongoose/types/expressions.d.ts:2909 Date Expression Operator Returning Date Defined in node_modules/mongoose/types/expressions.d.ts:2924 Date Expression Operator Returning String Defined in node_modules/mongoose/types/expressions.d.ts:2932 Compile Model Options Defined in node_modules/mongoose/types/index.d.ts:71 Type declaration Optional overwrite Models?: boolean Any Keys Any Keys< T > : { [ P in keyof T ] ?: T [ P ] | any }
Defined in node_modules/mongoose/types/index.d.ts:123 Type Parameters Require_ id Defined in node_modules/mongoose/types/index.d.ts:128 Type Parameters Hydrated Document Defined in node_modules/mongoose/types/index.d.ts:132 Type Parameters DocType TMethodsAndOverrides = {} TVirtuals = {} Number Schema Definition Defined in node_modules/mongoose/types/index.d.ts:368 String Schema Definition String
Schema
Definition
: typeof String | "string" | "String" | typeof String Defined in node_modules/mongoose/types/index.d.ts:369 Boolean Schema Definition Defined in node_modules/mongoose/types/index.d.ts:370 Date Schema Definition Date
Schema
Definition
: typeof NativeDate | "date" | "Date" | typeof Date Defined in node_modules/mongoose/types/index.d.ts:371 Object Id Schema Definition Defined in node_modules/mongoose/types/index.d.ts:372 Schema Definition With Built In Class Defined in node_modules/mongoose/types/index.d.ts:374 Type Parameters Schema Definition Property Defined in node_modules/mongoose/types/index.d.ts:384 Type Parameters Schema Definition Defined in node_modules/mongoose/types/index.d.ts:396 Type Parameters Any Array Any Array< T > : T [] | ReadonlyArray < T >
Defined in node_modules/mongoose/types/index.d.ts:400 Type Parameters Extract Mongoose Array Defined in node_modules/mongoose/types/index.d.ts:401 Type Parameters Infer Id Defined in node_modules/mongoose/types/index.d.ts:420 Type Parameters Projection Element Type Projection Element Type: number | string
Defined in node_modules/mongoose/types/index.d.ts:488 Projection Type Defined in node_modules/mongoose/types/index.d.ts:489 Type Parameters Sort Order Sort Order: -1 | 1 | "asc" | "ascending" | "desc" | "descending"
Defined in node_modules/mongoose/types/index.d.ts:493 _ Update Query Defined in node_modules/mongoose/types/index.d.ts:495 Type Parameters Update With Aggregation Pipeline Defined in node_modules/mongoose/types/index.d.ts:523 Update Aggregation Stage Update Aggregation Stage: { $addFields: any } | { $set: any } | { $project: any } | { $unset: any } | { $replaceRoot: any } | { $replaceWith: any }
Defined in node_modules/mongoose/types/index.d.ts:524 Update Query Defined in node_modules/mongoose/types/index.d.ts:538 Type Parameters Flatten Maps Defined in node_modules/mongoose/types/index.d.ts:549 Type Parameters actual Primitives actual Primitives: string | boolean | number | bigint | symbol | null | undefined
Defined in node_modules/mongoose/types/index.d.ts:555 Treat As Primitives Defined in node_modules/mongoose/types/index.d.ts:556 Lean Type Defined in node_modules/mongoose/types/index.d.ts:558 Type Parameters Lean Array Defined in node_modules/mongoose/types/index.d.ts:564 Type Parameters _ Lean Document Defined in node_modules/mongoose/types/index.d.ts:566 Type Parameters Lean Document Element Defined in node_modules/mongoose/types/index.d.ts:573 Type Parameters Lean Document Defined in node_modules/mongoose/types/index.d.ts:607 Type Parameters Lean Document Or Array Defined in node_modules/mongoose/types/index.d.ts:609 Type Parameters Lean Document Or Array With Raw Type Defined in node_modules/mongoose/types/index.d.ts:614 Type Parameters Index Direction Index Direction: 1 | -1 | "2d" | "2dsphere" | "geoHaystack" | "hashed" | "text" | "ascending" | "asc" | "descending" | "desc"
Defined in node_modules/mongoose/types/indexes.d.ts:65 Connection Sync Indexes Result Defined in node_modules/mongoose/types/indexes.d.ts:71 One Collection Sync Indexes Result Defined in node_modules/mongoose/types/indexes.d.ts:72 Obtain Document Type Obtain
Document
Type
< DocDefinition , EnforcedDocType , TSchemaOptions > : IsItRecordAndNotAny < EnforcedDocType > extends true ? EnforcedDocType : { [ K in keyof ( RequiredPaths < DocDefinition , TSchemaOptions [ "typeKey" ] > & OptionalPaths < DocDefinition , TSchemaOptions [ "typeKey" ] > ) ] : ObtainDocumentPathType < DocDefinition [ K ] , TSchemaOptions [ "typeKey" ] > } Defined in node_modules/mongoose/types/inferschematype.d.ts:27 Type Parameters DocDefinition EnforcedDocType = any Infer Schema Type Defined in node_modules/mongoose/types/inferschematype.d.ts:42 Type Parameters Obtain Schema Generic Obtain Schema Generic< TSchema , alias > : TSchema extends Schema < infer EnforcedDocType, infer M, infer TInstanceMethods, infer TQueryHelpers, infer TVirtuals, infer TStaticMethods, infer TSchemaOptions, infer DocType> ? { EnforcedDocType: EnforcedDocType ; M: M ; TInstanceMethods: TInstanceMethods ; TQueryHelpers: TQueryHelpers ; TVirtuals: TVirtuals ; TStaticMethods: TStaticMethods ; TSchemaOptions: TSchemaOptions ; DocType: DocType } [ alias ] : unknown
Defined in node_modules/mongoose/types/inferschematype.d.ts:49 Type Parameters TSchema alias extends "EnforcedDocType" | "M" | "TInstanceMethods" | "TQueryHelpers" | "TVirtuals" | "TStaticMethods" | "TSchemaOptions" | "DocType" Is Path Default Undefined Is Path Default Undefined< PathType > : PathType extends { default: undefined } ? true : PathType extends { default: any } ? true : false
Defined in node_modules/mongoose/types/inferschematype.d.ts:72 Type Parameters Is Path Required Is
Path
Required
< P , TypeKey > : P extends { required
: true | [ true , string | undefined ] } | ArrayConstructor | any [] ? true : P extends { required
: boolean } ? P extends { required
: false } ? false : true : P extends <internal> . Record < TypeKey , ArrayConstructor | any [] > ? IsPathDefaultUndefined < P > extends true ? false : true : P extends <internal> . Record < TypeKey , any > ? P extends { default
: any } ? IfEquals < P [ "default" ] , undefined , false , true > : false : false Defined in node_modules/mongoose/types/inferschematype.d.ts:83 Type Parameters Path With Type Property Base Type Path With Type Property Base Type< TypeKey > : { [ k in TypeKey ] : any }
Defined in node_modules/mongoose/types/inferschematype.d.ts:105 Type Parameters Required Path Keys Required
Path
Keys
< T , TypeKey > : { [ K in keyof T ] : IsPathRequired < T [ K ] , TypeKey > extends true ? IfEquals < T [ K ] , any , never , K > : never } [ keyof T ] Defined in node_modules/mongoose/types/inferschematype.d.ts:113 Type Parameters Required Paths Defined in node_modules/mongoose/types/inferschematype.d.ts:123 Type Parameters Optional Path Keys Optional
Path
Keys
< T , TypeKey > : { [ K in keyof T ] : IsPathRequired < T [ K ] , TypeKey > extends true ? never : K } [ keyof T ] Defined in node_modules/mongoose/types/inferschematype.d.ts:133 Type Parameters Optional Paths Defined in node_modules/mongoose/types/inferschematype.d.ts:143 Type Parameters Obtain Document Path Type Defined in node_modules/mongoose/types/inferschematype.d.ts:153 Type Parameters Path Enum Or String Path
Enum
Or
String
< T > : T extends ( infer E
) [] ? E : T extends { values
: any } ? PathEnumOrString < T [ "values" ] > : string Defined in node_modules/mongoose/types/inferschematype.d.ts:165 Type Parameters Resolve Path Type Resolve
Path
Type
< PathValueType , Options , TypeKey > : PathValueType extends Schema ? InferSchemaType < PathValueType > : PathValueType extends ( infer Item
) [] ? IfEquals < Item , never , any [] , Item extends Schema ? DocumentArray < ObtainDocumentPathType < Item , TypeKey > > : ObtainDocumentPathType < Item , TypeKey > [] > : PathValueType extends ReadonlyArray < infer Item
> ? IfEquals < Item , never , any [] , Item extends Schema ? DocumentArray < ObtainDocumentPathType < Item , TypeKey > > : ObtainDocumentPathType < Item , TypeKey > [] > : PathValueType extends StringSchemaDefinition ? PathEnumOrString < Options [ "enum" ] > : IfEquals < PathValueType , String > extends true ? PathEnumOrString < Options [ "enum" ] > : IfEquals < PathValueType , String > extends true ? PathEnumOrString < Options [ "enum" ] > : PathValueType extends NumberSchemaDefinition ? Options [ "enum" ] extends ReadonlyArray < any > ? Options [ "enum" ] [ number ] : number : IfEquals < PathValueType , <internal> . Number > extends true ? number : PathValueType extends DateSchemaDefinition ? Date : IfEquals < PathValueType , Date > extends true ? Date : PathValueType extends typeof <internal> . Buffer | "buffer" | "Buffer" | typeof <internal> . Buffer ? <internal> . Buffer : PathValueType extends BooleanSchemaDefinition ? boolean : IfEquals < PathValueType , <internal> . Boolean > extends true ? boolean : PathValueType extends ObjectIdSchemaDefinition ? <internal> . ObjectId : IfEquals < PathValueType , <internal> . ObjectId > extends true ? <internal> . ObjectId : IfEquals < PathValueType , <internal> . ObjectId > extends true ? <internal> . ObjectId : PathValueType extends "decimal128" | "Decimal128" | typeof <internal> . Decimal128 ? <internal> . Decimal128 : IfEquals < PathValueType , <internal> . Decimal128 > extends true ? <internal> . Decimal128 : IfEquals < PathValueType , <internal> . Decimal128 > extends true ? <internal> . Decimal128 : PathValueType extends "uuid" | "UUID" | typeof <internal> . UUID ? <internal> . Buffer : IfEquals < PathValueType , <internal> . UUID > extends true ? <internal> . Buffer : PathValueType extends MapConstructor ? Map < string , ResolvePathType < Options [ "of" ] > > : PathValueType extends ArrayConstructor ? any [] : PathValueType extends typeof Mixed ? any : IfEquals < PathValueType , ObjectConstructor > extends true ? any : IfEquals < PathValueType , {} > extends true ? any : PathValueType extends typeof SchemaType ? PathValueType [ "prototype" ] : PathValueType extends <internal> . Record < string , any > ? ObtainDocumentType < PathValueType , any , { typeKey
: TypeKey } > : unknown Defined in node_modules/mongoose/types/inferschematype.d.ts:174 Type Parameters Paths To Validate Paths To Validate: string [] | string
Defined in node_modules/mongoose/types/models.d.ts:106 Pipeline Stage Defined in node_modules/mongoose/types/pipelinestage.d.ts:5 Apply Basic Query Casting Apply Basic Query Casting< T > : T | T [] | ( T extends ( infer U) [] ? U : any ) | any
Defined in node_modules/mongoose/types/query.d.ts:4 Type Parameters Condition Defined in node_modules/mongoose/types/query.d.ts:5 Type Parameters _ Filter Query Defined in node_modules/mongoose/types/query.d.ts:7 Type Parameters Filter Query Defined in node_modules/mongoose/types/query.d.ts:18 Type Parameters Mongoose Query Options Mongoose
Query
Options
< DocType > : <internal> . Pick < QueryOptions < DocType > , "populate" | "lean" | "strict" | "sanitizeProjection" | "sanitizeFilter" > Defined in node_modules/mongoose/types/query.d.ts:20 Type Parameters Projection Fields Defined in node_modules/mongoose/types/query.d.ts:22 Type Parameters Query With Helpers Query
With
Helpers
< ResultType , DocType , THelpers , RawDocType > : Query < ResultType , DocType , THelpers , RawDocType > & THelpers Defined in node_modules/mongoose/types/query.d.ts:24 Type Parameters ResultType DocType THelpers = {} RawDocType = DocType Query Selector Query
Selector
< T > : { $eq
?: T ; $gt
?: T ; $gte
?: T ; $in
?: [ T ] extends AnyArray < any > ? Unpacked < T > [] : T [] ; $lt
?: T ; $lte
?: T ; $ne
?: T ; $nin
?: [ T ] extends AnyArray < any > ? Unpacked < T > [] : T [] ; $not
?: T extends string ? QuerySelector < T > | RegExp : QuerySelector < T > ; $exists
?: boolean ; $type
?: string | number ; $expr
?: any ; $jsonSchema
?: any ; $mod
?: T extends number ? [ number , number ] : never ; $regex
?: T extends string ? RegExp | string : never ; $options
?: T extends string ? string : never ; $geoIntersects
?: { $geometry
: object } ; $geoWithin
?: object ; $near
?: object ; $nearSphere
?: object ; $maxDistance
?: number ; $all
?: T extends AnyArray < any > ? any [] : never ; $elemMatch
?: T extends AnyArray < any > ? object : never ; $size
?: T extends AnyArray < any > ? number : never ; $bitsAllClear
?: number | Binary | number [] ; $bitsAllSet
?: number | Binary | number [] ; $bitsAnyClear
?: number | Binary | number [] ; $bitsAnySet
?: number | Binary | number [] } Defined in node_modules/mongoose/types/query.d.ts:26 Type Parameters Type declaration Optional $eq?: T Optional $gt?: T Optional $gte?: T Optional $in?: [ T ] extends AnyArray < any > ? Unpacked < T > [] : T [] Optional $lt?: T Optional $lte?: T Optional $ne?: T Optional $nin?: [ T ] extends AnyArray < any > ? Unpacked < T > [] : T [] Optional $not?: T extends string ? QuerySelector < T > | RegExp : QuerySelector < T > Optional $exists?: boolean Optional $type?: string | number Optional $expr?: any Optional $json Schema?: any Optional $mod?: T extends number ? [ number , number ] : never Optional $regex?: T extends string ? RegExp | string : never Optional $options?: T extends string ? string : never Optional $geo Intersects?: { $geometry: object } Optional $geo Within?: object Optional $near?: object Optional $near Sphere?: object Optional $max Distance?: number Optional $all?: T extends AnyArray < any > ? any [] : never Optional $elem Match?: T extends AnyArray < any > ? object : never Optional $size?: T extends AnyArray < any > ? number : never Optional $bits All Clear?: number | Binary | number [] Optional $bits All Set?: number | Binary | number [] Optional $bits Any Clear?: number | Binary | number [] Optional $bits Any Set?: number | Binary | number [] Root Query Selector Root
Query
Selector
< T > : { $and
?: FilterQuery < T > [] ; $nor
?: FilterQuery < T > [] ; $or
?: FilterQuery < T > [] ; $text
?: { $search
: string ; $language
?: string ; $caseSensitive
?: boolean ; $diacriticSensitive
?: boolean } ; $where
?: string | Function ; $comment
?: string } Defined in node_modules/mongoose/types/query.d.ts:70 Type Parameters Type declaration [ key: string ]: any Optional $text?: { $search: string ; $language?: string ; $caseSensitive?: boolean ; $diacriticSensitive?: boolean } $search: string Optional $language?: string Optional $case Sensitive?: boolean Optional $diacritic Sensitive?: boolean Optional $where?: string | Function Optional $comment?: string Default Type Key Default Type Key: "type"
Defined in node_modules/mongoose/types/schemaoptions.d.ts:12 Default Type Defined in node_modules/mongoose/types/schematypes.d.ts:40 Type Parameters If Any If Any< IFTYPE , THENTYPE , ELSETYPE > : 0 extends 1 & IFTYPE ? THENTYPE : ELSETYPE
Defined in node_modules/mongoose/types/utility.d.ts:2 Type Parameters IFTYPE THENTYPE ELSETYPE = IFTYPE Unpacked Unpacked< T > : T extends ( infer U) [] ? U : T extends ReadonlyArray < infer U> ? U : T
Defined in node_modules/mongoose/types/utility.d.ts:5 Type Parameters Unpacked Intersection Unpacked
Intersection
< T , U > : T extends null ? null : T extends ( infer A
) [] ? ( <internal> . Omit < A , keyof U > & U ) [] : keyof U extends never ? T : <internal> . Omit < T , keyof U > & U Defined in node_modules/mongoose/types/utility.d.ts:9 Type Parameters Merge Type Defined in node_modules/mongoose/types/utility.d.ts:15 Type Parameters Is It Record And Not Any Defined in node_modules/mongoose/types/utility.d.ts:30 Type Parameters If Equals If Equals< T , U , Y , N > : ( < G > ( ) => G extends T ? 1 : 0 ) extends ( < G > ( ) => G extends U ? 1 : 0 ) ? Y : N
Defined in node_modules/mongoose/types/utility.d.ts:39 Type Parameters Schema Validator Defined in node_modules/mongoose/types/validation.d.ts:3 Type Parameters Virtual Path Functions Virtual
Path
Functions
< DocType , PathValueType , TInstanceMethods > : { get
?: TVirtualPathFN < DocType , PathValueType , TInstanceMethods , PathValueType > ; set
?: TVirtualPathFN < DocType , PathValueType , TInstanceMethods , void > ; options
?: VirtualTypeOptions < HydratedDocument < DocType , TInstanceMethods > , DocType > } Defined in node_modules/mongoose/types/virtuals.d.ts:2 Type Parameters DocType = {} PathValueType = unknown TInstanceMethods = {} Type declaration Optional get?: TVirtualPathFN < DocType , PathValueType , TInstanceMethods , PathValueType > Optional set?: TVirtualPathFN < DocType , PathValueType , TInstanceMethods , void > TVirtual PathFN TVirtual
PathFN
< DocType , PathType , TInstanceMethods , TReturn > : ( < T > ( this
: <internal> . Document < any , any , DocType > & DocType , value
: PathType , virtual
: VirtualType < T > , doc
: <internal> . Document < any , any , DocType > & DocType ) => TReturn ) Defined in node_modules/mongoose/types/virtuals.d.ts:8 Type Parameters DocType = {} PathType = unknown TInstanceMethods = {} TReturn = unknown Type declaration Type Parameters Parameters Returns TReturn Schema Options Virtuals Property Type Schema
Options
Virtuals
Property
Type
< DocType , VirtualPaths , TInstanceMethods > : { [ K in keyof VirtualPaths ] : VirtualPathFunctions < IsItRecordAndNotAny < DocType > extends true ? DocType : any , VirtualPaths [ K ] , TInstanceMethods > } Defined in node_modules/mongoose/types/virtuals.d.ts:11 Type Parameters DocType = any TInstanceMethods = {} Iterator Result Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:41 Type Parameters UnicodeBCP47 Locale Identifier UnicodeBCP47 Locale Identifier: string
Defined in node_modules/typescript/lib/lib.es2020.intl.d.ts:29 Locales Argument Defined in node_modules/typescript/lib/lib.es2020.intl.d.ts:106 Locale Hour Cycle Key Locale Hour Cycle Key: "h12" | "h23" | "h11" | "h24"
Defined in node_modules/typescript/lib/lib.es2020.intl.d.ts:282 Locale Collation Case First Locale Collation Case First: "upper" | "lower" | "false"
Defined in node_modules/typescript/lib/lib.es2020.intl.d.ts:283 Property Key Property Key: string | number | symbol
Defined in node_modules/typescript/lib/lib.es5.d.ts:107 Partial Partial< T > : { [ P in keyof T ] ?: T [ P ] }
Defined in node_modules/typescript/lib/lib.es5.d.ts:1562 Type Parameters Required Required< T > : { [ P in keyof T ] -?: T [ P ] }
Defined in node_modules/typescript/lib/lib.es5.d.ts:1569 Type Parameters Readonly Readonly< T > : { readonly [ P in keyof T ] : T [ P ] }
Defined in node_modules/typescript/lib/lib.es5.d.ts:1576 Type Parameters Pick Pick< T , K > : { [ P in K ] : T [ P ] }
Defined in node_modules/typescript/lib/lib.es5.d.ts:1583 Type Parameters Record Record< K , T > : { [ P in K ] : T }
Defined in node_modules/typescript/lib/lib.es5.d.ts:1590 Type Parameters Exclude Exclude< T , U > : T extends U ? never : T
Defined in node_modules/typescript/lib/lib.es5.d.ts:1597 Type Parameters Extract Extract< T , U > : T extends U ? T : never
Defined in node_modules/typescript/lib/lib.es5.d.ts:1602 Type Parameters Omit Defined in node_modules/typescript/lib/lib.es5.d.ts:1607 Type Parameters Non Nullable Non Nullable< T > : T & {}
Defined in node_modules/typescript/lib/lib.es5.d.ts:1612 Type Parameters Parameters Parameters< T > : T extends ( ( ... args: infer P) => any ) ? P : never
Defined in node_modules/typescript/lib/lib.es5.d.ts:1617 Type Parameters T extends ( ( ... args: any ) => any ) Array Buffer Like Array Buffer Like: ArrayBufferTypes [ keyof ArrayBufferTypes ]
Defined in node_modules/typescript/lib/lib.es5.d.ts:1683 Reply Callback Reply Callback< T > : ( ( content: Error | T ) => void )
Type Parameters Type declaration ( content: Error | T ) : void Rpc Reply Callback Type Parameters Type declaration Parameters awkFunc: ( ( ) => void ) | undefined | Error Optional err: Error Returns void Publish Callback Type Parameters
An enumeration of server types we know about