xpress-mongo
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -7,2 +7,3 @@ "use strict"; | ||
const uuid = require("uuid"); | ||
// Quick Functions | ||
const isString = (v) => typeof v === 'string'; | ||
@@ -9,0 +10,0 @@ const isBoolean = (v) => typeof v === 'boolean'; |
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -8,3 +8,3 @@ import XMongoDataType = require("./XMongoDataType"); | ||
}; | ||
interface XMongoSchemaBuilder { | ||
declare type XMongoSchemaBuilder = { | ||
ObjectId(): XMongoDataType; | ||
@@ -19,4 +19,4 @@ Uuid(version: number, options?: UuidOptions): XMongoDataType; | ||
Types(types: XMongoDataType[]): XMongoDataType; | ||
} | ||
}; | ||
declare const is: XMongoSchemaBuilder; | ||
export { is, XMongoSchemaBuilder }; |
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
130105
3907