@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.cjs
CHANGED
|
@@ -6852,6 +6852,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6852
6852
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6853
6853
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6854
6854
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6855
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6855
6856
|
return EnumFoodFlavor3;
|
|
6856
6857
|
})(EnumFoodFlavor || {});
|
|
6857
6858
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -10293,7 +10294,7 @@ var paymentInfoSchema = create$3({
|
|
|
10293
10294
|
otherwise: (schema13) => schema13.notRequired()
|
|
10294
10295
|
}),
|
|
10295
10296
|
link: create$6().when("paymentMethod", {
|
|
10296
|
-
is: (val) => val
|
|
10297
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10297
10298
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10298
10299
|
otherwise: (schema13) => schema13.notRequired()
|
|
10299
10300
|
})
|
|
@@ -11235,7 +11236,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11235
11236
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11236
11237
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11237
11238
|
|
|
11238
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11239
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11239
11240
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11240
11241
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11241
11242
|
EnumOSPlatform22["IOS"] = "ios";
|