Comparing version 7.6.12 to 7.6.13
@@ -297,2 +297,4 @@ 'use strict'; | ||
} | ||
return to; | ||
}; | ||
@@ -299,0 +301,0 @@ |
{ | ||
"name": "mongoose", | ||
"description": "Mongoose MongoDB ODM", | ||
"version": "7.6.12", | ||
"version": "7.6.13", | ||
"author": "Guillermo Rauch <guillermo@learnboost.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -156,4 +156,4 @@ /// <reference path="./aggregate.d.ts" /> | ||
>; | ||
export type HydratedSingleSubdocument<DocType, TOverrides = {}> = Types.Subdocument<unknown> & Require_id<DocType> & TOverrides; | ||
export type HydratedArraySubdocument<DocType, TOverrides = {}> = Types.ArraySubdocument<unknown> & Require_id<DocType> & TOverrides; | ||
export type HydratedSingleSubdocument<DocType, TOverrides = {}> = Types.Subdocument<unknown, Record<string, never>, DocType> & Require_id<DocType> & TOverrides; | ||
export type HydratedArraySubdocument<DocType, TOverrides = {}> = Types.ArraySubdocument<unknown, Record<string, never>, DocType> & Require_id<DocType> & TOverrides; | ||
@@ -160,0 +160,0 @@ export type HydratedDocumentFromSchema<TSchema extends Schema> = HydratedDocument< |
@@ -85,3 +85,3 @@ | ||
class Subdocument<IdType = any> extends Document<IdType> { | ||
class Subdocument<IdType = any, TQueryHelpers = any, DocType = any> extends Document<IdType, TQueryHelpers, DocType> { | ||
$isSingleNested: true; | ||
@@ -99,3 +99,3 @@ | ||
class ArraySubdocument<IdType = any> extends Subdocument<IdType> { | ||
class ArraySubdocument<IdType = any, TQueryHelpers = unknown, DocType = unknown> extends Subdocument<IdType, TQueryHelpers, DocType> { | ||
/** Returns this sub-documents parent array. */ | ||
@@ -102,0 +102,0 @@ parentArray(): Types.DocumentArray<unknown>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2617346
49633