@dynamatix/cat-shared 0.0.40 → 0.0.41

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,10 @@ const optionSchema = new mongoose.Schema({
6
6
  }, { _id: false });
7
7
 
8
8
  const formfieldSchema = new mongoose.Schema({
9
+ addToPayload:{
10
+ type: Boolean,
11
+ default: true
12
+ },
9
13
  fieldName: {
10
14
  type: String,
11
15
  required: true,
@@ -107,6 +111,7 @@ const formfieldSchema = new mongoose.Schema({
107
111
  type: String,
108
112
  default: null
109
113
  },
114
+ syncMapping:[mongoose.Schema.Types.Mixed], // Ex: [{true:'Checked', false: ''}]
110
115
  order: {
111
116
  type: Number,
112
117
  default: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"