@timardex/cluemart-server-shared 1.0.57 → 1.0.58

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.
@@ -6788,6 +6788,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
6788
6788
  EnumFoodFlavor3["SAVOURY"] = "Savoury";
6789
6789
  EnumFoodFlavor3["SPICY"] = "Spicy";
6790
6790
  EnumFoodFlavor3["SWEET"] = "Sweet";
6791
+ EnumFoodFlavor3["OTHER"] = "Other";
6791
6792
  return EnumFoodFlavor3;
6792
6793
  })(EnumFoodFlavor || {});
6793
6794
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
@@ -10229,7 +10230,7 @@ var paymentInfoSchema = create$3({
10229
10230
  otherwise: (schema13) => schema13.notRequired()
10230
10231
  }),
10231
10232
  link: create$6().when("paymentMethod", {
10232
- is: (val) => val !== "bank_transfer",
10233
+ is: (val) => val === "paypal" || val === "stripe",
10233
10234
  then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
10234
10235
  otherwise: (schema13) => schema13.notRequired()
10235
10236
  })
@@ -11171,7 +11172,7 @@ schema3.index({ isRead: 1, userId: 1 });
11171
11172
  schema3.index({ createdAt: -1, userId: 1 });
11172
11173
  var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
11173
11174
 
11174
- // node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
11175
+ // node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
11175
11176
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11176
11177
  EnumOSPlatform22["ANDROID"] = "android";
11177
11178
  EnumOSPlatform22["IOS"] = "ios";
@@ -11915,4 +11916,4 @@ react/cjs/react.development.js:
11915
11916
  * LICENSE file in the root directory of this source tree.
11916
11917
  *)
11917
11918
  */
11918
- //# sourceMappingURL=chunk-B4VLYNG4.mjs.map
11919
+ //# sourceMappingURL=chunk-2W6GLZ2Z.mjs.map