@dynamatix/cat-shared 0.0.45 → 0.0.47

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.
@@ -6,6 +6,9 @@ const optionSchema = new mongoose.Schema({
6
6
  }, { _id: false });
7
7
 
8
8
  const formfieldSchema = new mongoose.Schema({
9
+ isFutureDateBlocked:{
10
+ type: Boolean,
11
+ },
9
12
  addToPayload:{
10
13
  type: Boolean,
11
14
  default: false
@@ -95,7 +98,8 @@ const formfieldSchema = new mongoose.Schema({
95
98
  default: null
96
99
  },
97
100
  sourceValue: { type: mongoose.Schema.Types.Mixed },
98
- listName: { type: String } // The collection name to use when source field has this value
101
+ listName: { type: String }, // The collection name to use when source field has this value
102
+ fixedValue: { type: mongoose.Schema.Types.Mixed } // It's not req , and it can be a number like 0 , or a string etc.
99
103
  }]
100
104
  }
101
105
  },
@@ -121,6 +125,9 @@ const formfieldSchema = new mongoose.Schema({
121
125
  default: null,
122
126
  min: 0
123
127
  },
128
+ maxValue: { // this is not required used only when given else ignore ex- 100% max
129
+ type: Number
130
+ },
124
131
  isReadOnly: {
125
132
  type: Boolean,
126
133
  default: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"