@dynamatix/cat-shared 0.0.49 → 0.0.51
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.
|
@@ -43,7 +43,7 @@ const formfieldSchema = new mongoose.Schema({
|
|
|
43
43
|
dataType: {
|
|
44
44
|
type: String,
|
|
45
45
|
required: true,
|
|
46
|
-
enum: ['string', 'number', 'boolean-check', 'boolean-radio', 'percentage', 'date', 'array', 'object', 'select', 'radio', 'drop-down', 'sort-code', 'post-code', 'pound', 'lookup', 'multi-select' , 'email','phone'] // Added common form field types
|
|
46
|
+
enum: ['string', 'number', 'boolean-check', 'boolean-radio', 'percentage', 'date', 'array', 'object', 'select', 'radio', 'drop-down', 'sort-code', 'post-code', 'pound', 'lookup', 'multi-select' , 'email','phone', 'telephone'] // Added common form field types
|
|
47
47
|
},
|
|
48
48
|
isRequired: {
|
|
49
49
|
type: Boolean,
|
|
@@ -156,6 +156,7 @@ const formConfigurationSchema = new mongoose.Schema({
|
|
|
156
156
|
type: String,
|
|
157
157
|
required: true
|
|
158
158
|
},
|
|
159
|
+
parentKey: String,
|
|
159
160
|
populations: [Object],
|
|
160
161
|
visibilityCondition: {
|
|
161
162
|
type: mongoose.Schema.Types.Mixed,
|