@dynamatix/cat-shared 0.0.22 → 0.0.24

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.
@@ -6,6 +6,10 @@ const formfieldSchema = new mongoose.Schema({
6
6
  required: true,
7
7
  trim: true
8
8
  },
9
+ isHidden:{
10
+ type: Boolean,
11
+ default: false
12
+ },
9
13
  isEditable: {
10
14
  type: Boolean,
11
15
  default: true
@@ -64,8 +68,7 @@ const formfieldSchema = new mongoose.Schema({
64
68
  },
65
69
  list: {
66
70
  name: { // Lookup.BusinessType, DocumentType(collection)
67
- type: String,
68
- required: true
71
+ type: String
69
72
  },
70
73
  label: { // name
71
74
  type: String
@@ -124,12 +127,10 @@ const formConfigurationSchema = new mongoose.Schema({
124
127
  sections: [{
125
128
  sectionName: {
126
129
  type: String,
127
- required: true,
128
130
  trim: true
129
131
  },
130
132
  sectionLabel: {
131
133
  type: String,
132
- required: true,
133
134
  trim: true
134
135
  },
135
136
  fields: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"