@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.
@@ -40,7 +40,7 @@ import {
40
40
  socialShareResourceSchema,
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema
43
- } from "../chunk-SHBCW7T5.mjs";
43
+ } from "../chunk-OZZRI2C2.mjs";
44
44
  export {
45
45
  APP_SETTINGS_ID,
46
46
  AdModel,
@@ -3310,6 +3310,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
3310
3310
  return EnumFoodFlavor22;
3311
3311
  })(EnumFoodFlavor || {});
3312
3312
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
3313
+ EnumResourceType22["AFFILIATE"] = "affiliate";
3313
3314
  EnumResourceType22["EVENT"] = "event";
3314
3315
  EnumResourceType22["VENDOR"] = "vendor";
3315
3316
  EnumResourceType22["PARTNER"] = "partner";
@@ -7679,7 +7680,7 @@ async function saveNotificationsInDb(payload) {
7679
7680
  // src/service/sendPushNotifications.ts
7680
7681
  var import_expo_server_sdk = require("expo-server-sdk");
7681
7682
 
7682
- // node_modules/@timardex/cluemart-shared/dist/chunk-KZTOISPA.mjs
7683
+ // node_modules/@timardex/cluemart-shared/dist/chunk-HNH5YY54.mjs
7683
7684
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
7684
7685
  EnumOSPlatform22["ANDROID"] = "android";
7685
7686
  EnumOSPlatform22["IOS"] = "ios";
@@ -9389,7 +9390,7 @@ var schema17 = new MongooseSchema25(
9389
9390
  schema17.index(
9390
9391
  { affiliateCode: 1 },
9391
9392
  {
9392
- partialFilterExpression: { deletedAt: null },
9393
+ partialFilterExpression: { active: true, deletedAt: null },
9393
9394
  unique: true
9394
9395
  }
9395
9396
  );