@andrewscwei/mongodb-odm
Advanced tools
Comparing version 0.26.0 to 0.27.0
@@ -15,3 +15,3 @@ /** | ||
*/ | ||
schema: Schema<T>; | ||
readonly schema: Schema<T>; | ||
/** | ||
@@ -18,0 +18,0 @@ * Gets the MongoDB collection associated with this model. |
@@ -18,3 +18,3 @@ import { ObjectID } from 'mongodb'; | ||
new (): {}; | ||
schema: Schema<BarProps>; | ||
readonly schema: Schema<BarProps>; | ||
getCollection(): Promise<import("mongodb").Collection<any>>; | ||
@@ -21,0 +21,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<BarProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<BarProps>>>; |
@@ -13,3 +13,3 @@ /// <reference types="mongodb" /> | ||
new (): {}; | ||
schema: Schema<BazProps>; | ||
readonly schema: Schema<BazProps>; | ||
getCollection(): Promise<import("mongodb").Collection<any>>; | ||
@@ -16,0 +16,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<BazProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<BazProps>>>; |
@@ -12,3 +12,3 @@ import { ObjectID } from 'mongodb'; | ||
new (): {}; | ||
schema: Schema<FooProps>; | ||
readonly schema: Schema<FooProps>; | ||
getCollection(): Promise<import("mongodb").Collection<any>>; | ||
@@ -15,0 +15,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<FooProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<FooProps>>>; |
{ | ||
"name": "@andrewscwei/mongodb-odm", | ||
"version": "0.26.0", | ||
"version": "0.27.0", | ||
"description": "ODM for MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
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
396225