@dhyasama/totem-models 1.17.8 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.npmignore ADDED
@@ -0,0 +1,14 @@
1
+ lib-cov
2
+ *.seed
3
+ *.log
4
+ *.csv
5
+ *.dat
6
+ *.out
7
+ *.pid
8
+ *.gz
9
+
10
+ npm-debug.log
11
+ node_modules
12
+
13
+ .DS_Store
14
+ .idea
package/lib/Account.js CHANGED
@@ -76,7 +76,8 @@ module.exports = function(mongoose, config) {
76
76
  refreshToken: { type: String, default: '' },
77
77
  params: { type: Schema.Types.Mixed },
78
78
  profile: { type: Schema.Types.Mixed },
79
- watch: { type: Schema.Types.Mixed }
79
+ watch: { type: Schema.Types.Mixed },
80
+ deltaLink: { type: String, default: null }
80
81
  }
81
82
 
82
83
  },
@@ -590,6 +590,16 @@ module.exports = function(mongoose, config) {
590
590
  .exec(cb);
591
591
  };
592
592
 
593
+ Organization.statics.findByIdsUnpopulated = function findByIdsUnpopulated(ids, cb) {
594
+
595
+ var self = this;
596
+
597
+ self
598
+ .find({ '_id': { $in : ids }})
599
+ .exec(cb);
600
+
601
+ };
602
+
593
603
  Organization.statics.findByIds = function findByIds(ids, cb) {
594
604
 
595
605
  var self = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "1.17.8",
3
+ "version": "1.18.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",