xpress-mongo
Advanced tools
Comparing version 0.0.55 to 0.0.56
import {MongoClient, MongoClientOptions} from "mongodb"; | ||
import is = require('./src/XMongoSchemaBuilder'); | ||
import is = require('./src/SchemaBuilder'); | ||
import Projectors = require('./fn/projection'); | ||
@@ -4,0 +4,0 @@ import XMongoDataType = require('./src/XMongoDataType'); |
@@ -5,3 +5,3 @@ "use strict"; | ||
const mongodb_1 = require("mongodb"); | ||
const is = require("./src/XMongoSchemaBuilder"); | ||
const is = require("./src/SchemaBuilder"); | ||
exports.is = is; | ||
@@ -8,0 +8,0 @@ const Projectors = require("./fn/projection"); |
@@ -16,3 +16,3 @@ "use strict"; | ||
const mongodb_1 = require("mongodb"); | ||
const XMongoSchemaBuilder_1 = __importDefault(require("./XMongoSchemaBuilder")); | ||
const SchemaBuilder_1 = __importDefault(require("./SchemaBuilder")); | ||
const deep_object_diff_1 = require("deep-object-diff"); | ||
@@ -315,3 +315,3 @@ const inbuilt_1 = require("../fn/inbuilt"); | ||
if (typeof schema === "function") { | ||
schema = schema(XMongoSchemaBuilder_1.default); | ||
schema = schema(SchemaBuilder_1.default); | ||
} | ||
@@ -318,0 +318,0 @@ if (typeof schema === 'object') { |
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.55", | ||
"version": "0.0.56", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -1,2 +0,2 @@ | ||
import XMongoDataType from "./XMongoDataType"; | ||
import XMongoDataType = require("./XMongoDataType"); | ||
@@ -3,0 +3,0 @@ export type FunctionReturnsBoolean = (...args: any[]) => boolean; |
@@ -17,3 +17,3 @@ import ObjectCollection = require('object-collection'); | ||
import is from './XMongoSchemaBuilder'; | ||
import is from './SchemaBuilder'; | ||
import {diff} from 'deep-object-diff'; | ||
@@ -20,0 +20,0 @@ import {defaultValue, runOrValidation, runAndValidation, RunOnEvent} from '../fn/inbuilt'; |
import { MongoClient, MongoClientOptions } from "mongodb"; | ||
import is = require('./src/XMongoSchemaBuilder'); | ||
import is = require('./src/SchemaBuilder'); | ||
import XMongoDataType = require('./src/XMongoDataType'); | ||
@@ -4,0 +4,0 @@ import XMongoClient = require('./src/XMongoClient'); |
@@ -1,2 +0,2 @@ | ||
import XMongoDataType from "./XMongoDataType"; | ||
import XMongoDataType = require("./XMongoDataType"); | ||
export declare type FunctionReturnsBoolean = (...args: any[]) => boolean; | ||
@@ -3,0 +3,0 @@ export declare type FunctionReturnsVoidOrBoolean = (...args: any[]) => (boolean | void); |
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
146707