@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/index.mjs
CHANGED
|
@@ -3239,6 +3239,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
|
|
|
3239
3239
|
return EnumFoodFlavor22;
|
|
3240
3240
|
})(EnumFoodFlavor || {});
|
|
3241
3241
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
3242
|
+
EnumResourceType22["AFFILIATE"] = "affiliate";
|
|
3242
3243
|
EnumResourceType22["EVENT"] = "event";
|
|
3243
3244
|
EnumResourceType22["VENDOR"] = "vendor";
|
|
3244
3245
|
EnumResourceType22["PARTNER"] = "partner";
|
|
@@ -8273,7 +8274,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8273
8274
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8274
8275
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8275
8276
|
|
|
8276
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8277
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-HNH5YY54.mjs
|
|
8277
8278
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8278
8279
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8279
8280
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9183,7 +9184,7 @@ var schema17 = new MongooseSchema25(
|
|
|
9183
9184
|
schema17.index(
|
|
9184
9185
|
{ affiliateCode: 1 },
|
|
9185
9186
|
{
|
|
9186
|
-
partialFilterExpression: { deletedAt: null },
|
|
9187
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9187
9188
|
unique: true
|
|
9188
9189
|
}
|
|
9189
9190
|
);
|