@dynamatix/cat-shared 0.0.38 → 0.0.40

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.
@@ -85,11 +85,11 @@ const formfieldSchema = new mongoose.Schema({
85
85
  default: null
86
86
  },
87
87
  dynamicSource: {
88
- sourceField: {
89
- type: String,
90
- default: null
91
- },
92
88
  sourceMapping: [{
89
+ sourceField: {
90
+ type: String,
91
+ default: null
92
+ },
93
93
  sourceValue: { type: mongoose.Schema.Types.Mixed },
94
94
  listName: { type: String } // The collection name to use when source field has this value
95
95
  }]
@@ -141,7 +141,7 @@ const formConfigurationSchema = new mongoose.Schema({
141
141
  type: String,
142
142
  required: true
143
143
  },
144
- populations:[String],
144
+ populations:[Object],
145
145
  visibilityCondition: {
146
146
  type: mongoose.Schema.Types.Mixed,
147
147
  default: null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"