@dhyasama/totem-models 10.75.0 → 10.77.0

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/lib/Financials.js CHANGED
@@ -81,6 +81,7 @@ module.exports = function(mongoose, config) {
81
81
  form: [{
82
82
  name: { type: String, trim: true },
83
83
  type: { type: String, enum: [null, 'header', 'block', 'document', 'metric', 'question'] },
84
+ required: { type: Boolean, default: false }
84
85
  }],
85
86
 
86
87
  documents: [{
package/lib/News.js CHANGED
@@ -32,7 +32,9 @@ module.exports = function(mongoose, config) {
32
32
 
33
33
  extracted: { type: Schema.Types.Mixed },
34
34
 
35
- raw: { type: Schema.Types.Mixed }
35
+ raw: { type: Schema.Types.Mixed },
36
+
37
+ text: { type: String, required: false, default: null },
36
38
 
37
39
  });
38
40
 
@@ -1579,7 +1579,7 @@ module.exports = function(mongoose, config) {
1579
1579
 
1580
1580
  };
1581
1581
 
1582
- Organization.statics.getByIdSkinny = function getById(id, cb) {
1582
+ Organization.statics.getByIdSkinny = function getByIdSkinny(id, cb) {
1583
1583
 
1584
1584
  const self = this;
1585
1585
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.75.0",
3
+ "version": "10.77.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",