@dynamatix/cat-shared 0.0.34 → 0.0.35
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.
|
@@ -109,7 +109,15 @@ const formfieldSchema = new mongoose.Schema({
|
|
|
109
109
|
isReadOnly: {
|
|
110
110
|
type: Boolean,
|
|
111
111
|
default: false
|
|
112
|
-
}
|
|
112
|
+
},
|
|
113
|
+
collectionName:{ // name of collection for field if field doesnt belong to main collection
|
|
114
|
+
type: String,
|
|
115
|
+
default: null
|
|
116
|
+
},
|
|
117
|
+
foreignReferenceField: { // Ex: when field is from forieng collection then foreignReferenceField could be applicationId(which refers to the application)
|
|
118
|
+
type: String,
|
|
119
|
+
default: null
|
|
120
|
+
},
|
|
113
121
|
}, { timestamps: true , _id: false });
|
|
114
122
|
|
|
115
123
|
const formConfigurationSchema = new mongoose.Schema({
|