picker-db 4.3.11 → 4.4.0

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.
@@ -4,7 +4,7 @@
4
4
  },
5
5
  "editor.formatOnSave": false,
6
6
  "editor.codeActionsOnSave": {
7
- "source.fixAll.eslint": true
7
+ "source.fixAll.eslint": "explicit"
8
8
  },
9
9
  "eslint.alwaysShowStatus": true,
10
10
  }
@@ -901,6 +901,18 @@ module.exports = (connection) => {
901
901
  PNF_REASON.PROVIDER_ERROR,
902
902
  ],
903
903
  },
904
+ deliveryAddressRequired: {
905
+ type: Boolean,
906
+ },
907
+ paymentInfoRequired: {
908
+ type: Boolean,
909
+ },
910
+ preBookingID: {
911
+ type: connection.base.Schema.ObjectId,
912
+ default: null,
913
+ index: true,
914
+ sparse: true,
915
+ },
904
916
  }, { timestamps: true });
905
917
 
906
918
  BookingSchema.pre("save", async function (next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.3.11",
3
+ "version": "4.4.0",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {