@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.
- package/dist/{chunk-B4VLYNG4.mjs → chunk-2W6GLZ2Z.mjs} +4 -3
- package/dist/chunk-2W6GLZ2Z.mjs.map +1 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +3 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +3 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-B4VLYNG4.mjs.map +0 -1
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -6850,6 +6850,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6850
6850
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6851
6851
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6852
6852
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6853
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6853
6854
|
return EnumFoodFlavor3;
|
|
6854
6855
|
})(EnumFoodFlavor || {});
|
|
6855
6856
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -10291,7 +10292,7 @@ var paymentInfoSchema = create$3({
|
|
|
10291
10292
|
otherwise: (schema13) => schema13.notRequired()
|
|
10292
10293
|
}),
|
|
10293
10294
|
link: create$6().when("paymentMethod", {
|
|
10294
|
-
is: (val) => val
|
|
10295
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10295
10296
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10296
10297
|
otherwise: (schema13) => schema13.notRequired()
|
|
10297
10298
|
})
|
|
@@ -10800,7 +10801,7 @@ async function saveNotificationsInDb(payload) {
|
|
|
10800
10801
|
// src/service/sendPushNotifications.ts
|
|
10801
10802
|
var import_expo_server_sdk = require("expo-server-sdk");
|
|
10802
10803
|
|
|
10803
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10804
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
10804
10805
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
10805
10806
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
10806
10807
|
EnumOSPlatform22["IOS"] = "ios";
|