@dhyasama/totem-models 6.6.0 → 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/Organization.js +5 -0
- package/package.json +1 -1
- package/.npmignore +0 -14
- package/package-lock.json +0 -1829
package/lib/Organization.js
CHANGED
|
@@ -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