@dynamatix/cat-shared 0.0.25 → 0.0.27
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.
|
@@ -116,10 +116,9 @@ const formConfigurationSchema = new mongoose.Schema({
|
|
|
116
116
|
trim: true,
|
|
117
117
|
unique: true // Consider making form names unique
|
|
118
118
|
},
|
|
119
|
-
|
|
119
|
+
collectionName:{
|
|
120
120
|
type: String,
|
|
121
|
-
required: true
|
|
122
|
-
trim: true
|
|
121
|
+
required: true
|
|
123
122
|
},
|
|
124
123
|
visibilityCondition: {
|
|
125
124
|
type: mongoose.Schema.Types.Mixed,
|
|
@@ -134,9 +133,7 @@ const formConfigurationSchema = new mongoose.Schema({
|
|
|
134
133
|
type: String,
|
|
135
134
|
trim: true
|
|
136
135
|
},
|
|
137
|
-
fields: [
|
|
138
|
-
type: [formfieldSchema]
|
|
139
|
-
}],
|
|
136
|
+
fields: [formfieldSchema],
|
|
140
137
|
order: {
|
|
141
138
|
type: Number,
|
|
142
139
|
default: 0
|