@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/index.cjs CHANGED
@@ -3329,6 +3329,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
3329
3329
  return EnumFoodFlavor22;
3330
3330
  })(EnumFoodFlavor || {});
3331
3331
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
3332
+ EnumResourceType22["AFFILIATE"] = "affiliate";
3332
3333
  EnumResourceType22["EVENT"] = "event";
3333
3334
  EnumResourceType22["VENDOR"] = "vendor";
3334
3335
  EnumResourceType22["PARTNER"] = "partner";
@@ -8363,7 +8364,7 @@ schema4.index({ isRead: 1, userId: 1 });
8363
8364
  schema4.index({ createdAt: -1, userId: 1 });
8364
8365
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
8365
8366
 
8366
- // node_modules/@timardex/cluemart-shared/dist/chunk-KZTOISPA.mjs
8367
+ // node_modules/@timardex/cluemart-shared/dist/chunk-HNH5YY54.mjs
8367
8368
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
8368
8369
  EnumOSPlatform22["ANDROID"] = "android";
8369
8370
  EnumOSPlatform22["IOS"] = "ios";
@@ -9273,7 +9274,7 @@ var schema17 = new MongooseSchema25(
9273
9274
  schema17.index(
9274
9275
  { affiliateCode: 1 },
9275
9276
  {
9276
- partialFilterExpression: { deletedAt: null },
9277
+ partialFilterExpression: { active: true, deletedAt: null },
9277
9278
  unique: true
9278
9279
  }
9279
9280
  );