@dhyasama/totem-models 6.8.6 → 6.8.8

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
@@ -281,7 +281,7 @@ module.exports = function(mongoose, config) {
281
281
 
282
282
  // Dictates the type of control rendered on form
283
283
  // Also impacts data validation
284
- type: { type: String, enum: ['Text', 'Number', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'] },
284
+ type: { type: String, enum: ['Text', 'Number', 'Money', 'Tags', 'Poll', 'Checkbox', 'Single Select', 'Multiple Select'] },
285
285
 
286
286
  // These will be the choices in polls, single-selects and multi-selects
287
287
  options: [{
@@ -552,7 +552,7 @@ module.exports = function(mongoose, config) {
552
552
  if (standardFields.raise.showOnList) {
553
553
  result.push({
554
554
  name: 'Raise',
555
- type: 'Number',
555
+ type: 'Money',
556
556
  key: 'fundraise.amount',
557
557
  isStandard: true,
558
558
  order: standardFields.raise.order * 10,
@@ -564,7 +564,7 @@ module.exports = function(mongoose, config) {
564
564
  if(standardFields.valuation.showOnList) {
565
565
  result.push({
566
566
  name: 'Valuation',
567
- type: 'Number',
567
+ type: 'Money',
568
568
  key: 'fundraise.valuation',
569
569
  isStandard: true,
570
570
  order: standardFields.valuation.order * 10 + 1,