Comparing version 7.2.1 to 7.2.2
@@ -42,3 +42,3 @@ import { ObjectId } from 'mongodb'; | ||
}; | ||
export declare type ProjectionType<TSchema extends BaseSchema, Projection extends Partial<Record<Join<NestedPaths<WithId<TSchema>>, '.'>, number>> | undefined> = undefined extends Projection ? WithId<TSchema> : WithId<DeepPick<TSchema, keyof Projection & string>>; | ||
export declare type ProjectionType<TSchema extends BaseSchema, Projection extends Partial<Record<Join<NestedPaths<WithId<TSchema>, true>, '.'>, number>> | undefined> = undefined extends Projection ? WithId<TSchema> : WithId<DeepPick<TSchema, keyof Projection & string>>; | ||
export declare type Identity<Type> = Type; | ||
@@ -45,0 +45,0 @@ export declare type Flatten<Type extends object> = Identity<{ |
@@ -42,3 +42,3 @@ import { ObjectId } from 'mongodb'; | ||
}; | ||
export declare type ProjectionType<TSchema extends BaseSchema, Projection extends Partial<Record<Join<NestedPaths<WithId<TSchema>>, '.'>, number>> | undefined> = undefined extends Projection ? WithId<TSchema> : WithId<DeepPick<TSchema, keyof Projection & string>>; | ||
export declare type ProjectionType<TSchema extends BaseSchema, Projection extends Partial<Record<Join<NestedPaths<WithId<TSchema>, true>, '.'>, number>> | undefined> = undefined extends Projection ? WithId<TSchema> : WithId<DeepPick<TSchema, keyof Projection & string>>; | ||
export declare type Identity<Type> = Type; | ||
@@ -45,0 +45,0 @@ export declare type Flatten<Type extends object> = Identity<{ |
@@ -5,3 +5,3 @@ { | ||
"author": "Plex Inc.", | ||
"version": "7.2.1", | ||
"version": "7.2.2", | ||
"keywords": [ | ||
@@ -57,4 +57,4 @@ "mongodb", | ||
"devDependencies": { | ||
"@babel/core": "7.18.9", | ||
"@babel/preset-env": "7.18.9", | ||
"@babel/core": "7.18.10", | ||
"@babel/preset-env": "7.18.10", | ||
"@babel/preset-typescript": "7.18.6", | ||
@@ -64,9 +64,9 @@ "@byu-oit/bar-chart": "1.4.2", | ||
"@commitlint/config-conventional": "17.0.3", | ||
"@types/jest": "28.1.6", | ||
"@types/jest": "28.1.7", | ||
"@types/node": "14.18.23", | ||
"@typescript-eslint/eslint-plugin": "5.31.0", | ||
"@typescript-eslint/parser": "5.31.0", | ||
"@typescript-eslint/eslint-plugin": "5.33.0", | ||
"@typescript-eslint/parser": "5.33.0", | ||
"arg": "5.0.2", | ||
"docsify-cli": "4.4.4", | ||
"eslint": "8.20.0", | ||
"eslint": "8.22.0", | ||
"eslint-config-prettier": "8.5.0", | ||
@@ -82,4 +82,4 @@ "eslint-config-standard": "17.0.0", | ||
"jsdoc-parse": "6.1.0", | ||
"lint-staged": "13.0.0", | ||
"mongodb": "4.8.1", | ||
"lint-staged": "13.0.3", | ||
"mongodb": "4.9.0", | ||
"mongodb-memory-server": "8.8.0", | ||
@@ -92,6 +92,6 @@ "mongoose": "6.3.5", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.7.2" | ||
"typescript": "4.7.4" | ||
}, | ||
"peerDependencies": { | ||
"mongodb": ">=4.8.1" | ||
"mongodb": ">=4.9.0" | ||
}, | ||
@@ -98,0 +98,0 @@ "commitlint": { |
188221