@dynamatix/cat-shared 0.0.28 → 0.0.30

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.
@@ -52,12 +52,13 @@ const formfieldSchema = new mongoose.Schema({
52
52
  type: mongoose.Schema.Types.Mixed,
53
53
  default: {}
54
54
  }],
55
- visibilityCondition: {
55
+ visibilityCondition: { // (LendingType=='BTL' || ApplicationType=='Company')
56
56
  type: mongoose.Schema.Types.Mixed,
57
57
  default: null
58
58
  },
59
59
  options: [{
60
- type: mongoose.Schema.Types.Mixed
60
+ key: mongoose.Schema.Types.Number | String,
61
+ value: mongoose.Schema.Types.String | Number,
61
62
  }],
62
63
  section: {
63
64
  type: String,
@@ -77,7 +78,7 @@ const formfieldSchema = new mongoose.Schema({
77
78
  value: { // _id
78
79
  type: String
79
80
  },
80
- optionFilterLogic: {
81
+ listFilterQuery: { // MongoDB query ex: applicationId:applicationId
81
82
  type: mongoose.Schema.Types.Mixed,
82
83
  default: null
83
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"