@timardex/cluemart-server-shared 1.0.265 → 1.0.266
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-SHBCW7T5.mjs → chunk-OZZRI2C2.mjs} +4 -3
- package/dist/chunk-OZZRI2C2.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-SHBCW7T5.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -3315,6 +3315,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
|
|
|
3315
3315
|
return EnumFoodFlavor22;
|
|
3316
3316
|
})(EnumFoodFlavor || {});
|
|
3317
3317
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
3318
|
+
EnumResourceType22["AFFILIATE"] = "affiliate";
|
|
3318
3319
|
EnumResourceType22["EVENT"] = "event";
|
|
3319
3320
|
EnumResourceType22["VENDOR"] = "vendor";
|
|
3320
3321
|
EnumResourceType22["PARTNER"] = "partner";
|
|
@@ -8347,7 +8348,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8347
8348
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8348
8349
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
8349
8350
|
|
|
8350
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8351
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-HNH5YY54.mjs
|
|
8351
8352
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8352
8353
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8353
8354
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9257,7 +9258,7 @@ var schema17 = new MongooseSchema25(
|
|
|
9257
9258
|
schema17.index(
|
|
9258
9259
|
{ affiliateCode: 1 },
|
|
9259
9260
|
{
|
|
9260
|
-
partialFilterExpression: { deletedAt: null },
|
|
9261
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9261
9262
|
unique: true
|
|
9262
9263
|
}
|
|
9263
9264
|
);
|