@dynamatix/cat-shared 0.0.41 → 0.0.43

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