@dynamatix/cat-shared 0.0.42 → 0.0.44

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.
@@ -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
@@ -159,6 +159,10 @@ const formConfigurationSchema = new mongoose.Schema({
159
159
  sectionLabel: {
160
160
  type: String,
161
161
  trim: true
162
+ },
163
+ isArray: {
164
+ type: Boolean,
165
+ default: false
162
166
  },
163
167
  fields: [formfieldSchema],
164
168
  order: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"