@dynamatix/cat-shared 0.0.29 → 0.0.31

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.
@@ -57,8 +57,8 @@ const formfieldSchema = new mongoose.Schema({
57
57
  default: null
58
58
  },
59
59
  options: [{
60
- key: mongoose.Schema.Types.Number | String,
61
- value: mongoose.Schema.Types.String | Number,
60
+ key: { type: [mongoose.Schema.Types.Number, mongoose.Schema.Types.String] },
61
+ value: { type: [mongoose.Schema.Types.String, mongoose.Schema.Types.Number] },
62
62
  }],
63
63
  section: {
64
64
  type: String,
@@ -78,7 +78,7 @@ const formfieldSchema = new mongoose.Schema({
78
78
  value: { // _id
79
79
  type: String
80
80
  },
81
- optionFilterLogic: {
81
+ listFilterQuery: { // MongoDB query ex: applicationId:applicationId
82
82
  type: mongoose.Schema.Types.Mixed,
83
83
  default: null
84
84
  }
@@ -175,4 +175,4 @@ const formConfigurationSchema = new mongoose.Schema({
175
175
 
176
176
  const FormConfigurationModel = mongoose.model('FormConfiguration', formConfigurationSchema);
177
177
 
178
- export default FormConfigurationModel;
178
+ export default FormConfigurationModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"