@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.
@@ -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-KZTOISPA.mjs
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
  );
@@ -9240,4 +9241,4 @@ export {
9240
9241
  SchoolModel,
9241
9242
  AffiliateModel
9242
9243
  };
9243
- //# sourceMappingURL=chunk-SHBCW7T5.mjs.map
9244
+ //# sourceMappingURL=chunk-OZZRI2C2.mjs.map