@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/index.cjs
CHANGED
|
@@ -6859,6 +6859,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
|
6859
6859
|
EnumFoodFlavor3["SAVOURY"] = "Savoury";
|
|
6860
6860
|
EnumFoodFlavor3["SPICY"] = "Spicy";
|
|
6861
6861
|
EnumFoodFlavor3["SWEET"] = "Sweet";
|
|
6862
|
+
EnumFoodFlavor3["OTHER"] = "Other";
|
|
6862
6863
|
return EnumFoodFlavor3;
|
|
6863
6864
|
})(EnumFoodFlavor || {});
|
|
6864
6865
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
@@ -10300,7 +10301,7 @@ var paymentInfoSchema = create$3({
|
|
|
10300
10301
|
otherwise: (schema13) => schema13.notRequired()
|
|
10301
10302
|
}),
|
|
10302
10303
|
link: create$6().when("paymentMethod", {
|
|
10303
|
-
is: (val) => val
|
|
10304
|
+
is: (val) => val === "paypal" || val === "stripe",
|
|
10304
10305
|
then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
|
|
10305
10306
|
otherwise: (schema13) => schema13.notRequired()
|
|
10306
10307
|
})
|
|
@@ -11242,7 +11243,7 @@ schema3.index({ isRead: 1, userId: 1 });
|
|
|
11242
11243
|
schema3.index({ createdAt: -1, userId: 1 });
|
|
11243
11244
|
var NotificationModel = import_mongoose6.default.models.Notification || import_mongoose6.default.model("Notification", schema3);
|
|
11244
11245
|
|
|
11245
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11246
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
|
|
11246
11247
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11247
11248
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11248
11249
|
EnumOSPlatform22["IOS"] = "ios";
|