xpress-mongo
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -40,7 +40,2 @@ "use strict"; | ||
/** | ||
* Model Data | ||
* @type {ObjectCollection} | ||
*/ | ||
this.$data = new object_collection_1.default; | ||
/** | ||
* Model Original Data | ||
@@ -47,0 +42,0 @@ * @type {*} |
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -47,3 +47,3 @@ import { | ||
*/ | ||
public $data: ObjectCollection = new ObjectCollection; | ||
public $data: ObjectCollection | undefined; | ||
@@ -636,6 +636,6 @@ /** | ||
return this.$data; | ||
return <ObjectCollection>this.$data; | ||
} | ||
return this.$data; | ||
return <ObjectCollection>this.$data; | ||
}; | ||
@@ -642,0 +642,0 @@ |
@@ -32,8 +32,5 @@ import XMongoModel = require('./XMongoModel'); | ||
data: import("./CustomTypes").StringToAnyObject; | ||
$data: import("object-collection"); | ||
$data: import("object-collection") | undefined; | ||
original: import("./CustomTypes").StringToAnyObject; | ||
schema: import("./CustomTypes").StringToAnyObject; /** | ||
* Use Database | ||
* @param name | ||
*/ | ||
schema: import("./CustomTypes").StringToAnyObject; | ||
schemaStore: import("./CustomTypes").StringToAnyObject; | ||
@@ -40,0 +37,0 @@ loadedRelationships: string[]; |
@@ -21,3 +21,3 @@ import { ObjectID, Collection, UpdateWriteOpResult, InsertOneWriteOpResult, DeleteWriteOpResultObject, Cursor, FindOneOptions, UpdateOneOptions, CollectionInsertOneOptions, CollectionAggregationOptions } from 'mongodb'; | ||
*/ | ||
$data: ObjectCollection; | ||
$data: ObjectCollection | undefined; | ||
/** | ||
@@ -24,0 +24,0 @@ * Model Original Data |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
124243
3271