type-mongodb
Advanced tools
Comparing version 2.0.0-beta.4 to 2.0.0-beta.5
@@ -38,3 +38,3 @@ import { BulkWriteOptions, Collection, Db, DeleteOptions, DeleteResult, Filter, FindCursor, FindOneAndDeleteOptions, FindOneAndReplaceOptions, FindOneAndUpdateOptions, FindOptions, InsertManyResult, InsertOneOptions, InsertOneResult, ModifyResult, OptionalId, UpdateOptions, UpdateQuery, UpdateResult } from 'mongodb'; | ||
findByIdAndUpdate(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<FindOneAndUpdateOptions>): Promise<T | null>; | ||
findByIdAndUpdateOrFail(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<InternalOptions>): Promise<T>; | ||
findByIdAndUpdateOrFail(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<FindOneAndUpdateOptions>): Promise<T>; | ||
findOneAndReplace(filter: Filter<T | any>, props: PartialDeep<T>, opts?: WithInternalOptions<FindOneAndReplaceOptions>): Promise<T | null>; | ||
@@ -41,0 +41,0 @@ findOneAndReplaceOrFail(filter: Filter<T | any>, props: PartialDeep<T>, opts?: WithInternalOptions<FindOneAndReplaceOptions>): Promise<T>; |
{ | ||
"name": "type-mongodb", | ||
"version": "2.0.0-beta.4", | ||
"version": "2.0.0-beta.5", | ||
"description": "A simple decorator based MongoDB ODM.", | ||
@@ -35,3 +35,3 @@ "repository": "https://github.com/j/type-mongodb", | ||
"release": "release-it", | ||
"mongo-start": "MONGODB_VERSION=4.x.x npx mongodb-runner start --topology=replicaset", | ||
"mongo-start": "MONGODB_VERSION=4.x.x npx mongodb-runner start --topology=replicaset --purge=false", | ||
"mongo-stop": "npx mongodb-runner stop --topology=replicaset", | ||
@@ -38,0 +38,0 @@ "test": "jest --runInBand --verbose --coverage", |
Sorry, the diff of this file is not supported yet
151086