@dynamatix/cat-shared 0.0.40 → 0.0.42
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 optionSchema = new mongoose.Schema({
|
|
|
6
6
|
}, { _id: false });
|
|
7
7
|
|
|
8
8
|
const formfieldSchema = new mongoose.Schema({
|
|
9
|
+
addToPayload:{
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: false
|
|
12
|
+
},
|
|
9
13
|
fieldName: {
|
|
10
14
|
type: String,
|
|
11
15
|
required: true,
|
|
@@ -107,6 +111,7 @@ const formfieldSchema = new mongoose.Schema({
|
|
|
107
111
|
type: String,
|
|
108
112
|
default: null
|
|
109
113
|
},
|
|
114
|
+
syncMapping:[mongoose.Schema.Types.Mixed], // Ex: [{true:'Checked', false: ''}]
|
|
110
115
|
order: {
|
|
111
116
|
type: Number,
|
|
112
117
|
default: 0
|