type-mongodb
Advanced tools
Comparing version 2.0.0-beta.7 to 2.0.0-beta.8
@@ -30,3 +30,3 @@ import { BulkWriteOptions, Collection, Db, DeleteOptions, DeleteResult, Filter, FindCursor, FindOneAndDeleteOptions, FindOneAndReplaceOptions, FindOneAndUpdateOptions, FindOptions, InsertManyResult, InsertOneOptions, InsertOneResult, ModifyResult, OptionalId, UpdateOptions, UpdateQuery, UpdateResult } from 'mongodb'; | ||
findOne(filter: Filter<T | any>, options?: WithInternalOptions<FindOptions>): Promise<T | null>; | ||
findOneOrFail(filter: Filter<T | any>, options?: WithInternalOptions<FindOptions>): Promise<T | null>; | ||
findOneOrFail(filter: Filter<T | any>, options?: WithInternalOptions<FindOptions>): Promise<T>; | ||
create(props: PartialDeep<T>, options?: InsertOneOptions): Promise<T>; | ||
@@ -49,3 +49,3 @@ create(props: PartialDeep<T>[], options?: BulkWriteOptions): Promise<T[]>; | ||
findByIdAndDelete(id: any, options?: WithInternalOptions<FindOneAndDeleteOptions>): Promise<T | null>; | ||
findByIdAndDeleteOrFail(id: any, options?: WithInternalOptions<FindOneAndDeleteOptions>): Promise<T | null>; | ||
findByIdAndDeleteOrFail(id: any, options?: WithInternalOptions<FindOneAndDeleteOptions>): Promise<T>; | ||
updateOne(filter: Filter<T | any>, update: UpdateQuery<T>, options?: WithInternalOptions<UpdateOptions>): Promise<UpdateResult>; | ||
@@ -52,0 +52,0 @@ updateById(id: any, update: UpdateQuery<T>, options?: WithInternalOptions<UpdateOptions>): Promise<UpdateResult>; |
{ | ||
"name": "type-mongodb", | ||
"version": "2.0.0-beta.7", | ||
"version": "2.0.0-beta.8", | ||
"description": "A simple decorator based MongoDB ODM.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/j/type-mongodb", |
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
152411