@dhyasama/totem-models 6.5.3 → 6.6.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/lib/Deal.js CHANGED
@@ -44,6 +44,8 @@ module.exports = function(mongoose, config) {
44
44
  link: { type: String, trim: true, required: true }
45
45
  }],
46
46
 
47
+ lastInteractedOn: { type: Date },
48
+
47
49
  history: [{
48
50
  timestamp: { type: Date, required: true, default: Date.now },
49
51
  account: { type: Schema.ObjectId, ref: 'Account', required: true },
@@ -527,12 +527,14 @@ module.exports = function(mongoose, config) {
527
527
  result.push({
528
528
  name: 'Fundraise Amount',
529
529
  type: 'Number',
530
+ isStandard: false,
530
531
  order: standardFields.fundraise.order * 10,
531
532
  colspan: standardFields.fundraise.colspan || 1,
532
533
  showOnFilter: standardFields.fundraise.showOnFilter === true ? true : false
533
534
  }, {
534
535
  name: 'Fundraise Valuation',
535
536
  type: 'Number',
537
+ isStandard: false,
536
538
  order: standardFields.fundraise.order * 10 + 1,
537
539
  colspan: standardFields.fundraise.colspan || 1,
538
540
  showOnFilter: standardFields.fundraise.showOnFilter === true ? true : false
@@ -543,6 +545,7 @@ module.exports = function(mongoose, config) {
543
545
  result.push({
544
546
  name: 'Source',
545
547
  type: 'Reference',
548
+ isStandard: false,
546
549
  order: standardFields.sources.order * 10,
547
550
  colspan: standardFields.sources.colspan || 1,
548
551
  showOnFilter: standardFields.sources.showOnFilter === true ? true : false
@@ -553,6 +556,7 @@ module.exports = function(mongoose, config) {
553
556
  result.push({
554
557
  name: 'Referrers',
555
558
  type: 'Reference',
559
+ isStandard: false,,
556
560
  order: standardFields.referrers.order * 10,
557
561
  colspan: standardFields.referrers.colspan || 1,
558
562
  showOnFilter: standardFields.referrers.showOnFilter === true ? true : false
@@ -565,6 +569,7 @@ module.exports = function(mongoose, config) {
565
569
  result.push({
566
570
  name: field.label,
567
571
  type: field.type,
572
+ isStandard: true,
568
573
  key: field.key,
569
574
  options: field.options,
570
575
  order: field.display.order * 10,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.5.3",
3
+ "version": "6.6.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",
package/.npmignore DELETED
@@ -1,14 +0,0 @@
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