picker-db 4.9.0 → 4.10.1

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.
@@ -923,6 +923,20 @@ module.exports = (connection) => {
923
923
  index: true,
924
924
  sparse: true,
925
925
  },
926
+ metadata: {
927
+ type: {
928
+ referenceRecommendation: {
929
+ reference: { type: String, required: false },
930
+ residential: { type: String, required: false },
931
+ apartment: { type: String, required: false },
932
+ instruction: { type: String, required: false },
933
+ },
934
+ attributes: { type: [{ type: String }], required: false },
935
+ },
936
+ default: {},
937
+ required: false,
938
+ _id: false,
939
+ },
926
940
  }, { timestamps: true });
927
941
 
928
942
  BookingSchema.pre("save", async function (next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.9.0",
3
+ "version": "4.10.1",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {