Comparing version 8.2.3 to 8.2.4
{ | ||
"name": "mongoose", | ||
"description": "Mongoose MongoDB ODM", | ||
"version": "8.2.3", | ||
"version": "8.2.4", | ||
"author": "Guillermo Rauch <guillermo@learnboost.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -282,3 +282,3 @@ /// <reference path="./aggregate.d.ts" /> | ||
*/ | ||
searchIndex(description: mongodb.SearchIndexDescription): this; | ||
searchIndex(description: SearchIndexDescription): this; | ||
@@ -285,0 +285,0 @@ /** |
@@ -89,2 +89,4 @@ declare module 'mongoose' { | ||
} | ||
type SearchIndexDescription = mongodb.SearchIndexDescription; | ||
} |
@@ -330,3 +330,3 @@ declare module 'mongoose' { | ||
*/ | ||
createSearchIndex(description: mongodb.SearchIndexDescription): Promise<string>; | ||
createSearchIndex(description: SearchIndexDescription): Promise<string>; | ||
@@ -333,0 +333,0 @@ /** Connection the model uses. */ |
@@ -496,3 +496,3 @@ declare module 'mongoose' { | ||
/** Returns the current query filter (also known as conditions) as a POJO. */ | ||
getFilter(): FilterQuery<DocType>; | ||
getFilter(): FilterQuery<RawDocType>; | ||
@@ -506,3 +506,3 @@ /** Gets query options. */ | ||
/** Returns the current query filter. Equivalent to `getFilter()`. */ | ||
getQuery(): FilterQuery<DocType>; | ||
getQuery(): FilterQuery<RawDocType>; | ||
@@ -509,0 +509,0 @@ /** Returns the current update operations as a JSON object. */ |
@@ -237,3 +237,3 @@ declare module 'mongoose' { | ||
{}, | ||
Record<any, <T extends QueryWithHelpers<unknown, THydratedDocumentType>>(this: T, ...args: any) => T>, | ||
Record<any, <T extends QueryWithHelpers<unknown, THydratedDocumentType, QueryHelpers, DocType>>(this: T, ...args: any) => T>, | ||
QueryHelpers | ||
@@ -240,0 +240,0 @@ > |
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
2634566
50043