@timardex/cluemart-server-shared 1.0.309 → 1.0.310

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.mjs CHANGED
@@ -7003,6 +7003,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = gql`
7003
7003
  createdAt
7004
7004
  isOfflineMode
7005
7005
  key
7006
+ minimumRedeemableAffiliatePoints
7006
7007
  updatedAt
7007
7008
  }
7008
7009
  `;
@@ -8930,6 +8931,11 @@ var AppSettingSchema = new MongooseSchema19(
8930
8931
  type: String,
8931
8932
  unique: true
8932
8933
  // ✅ allowed here
8934
+ },
8935
+ minimumRedeemableAffiliatePoints: {
8936
+ default: 500,
8937
+ required: true,
8938
+ type: Number
8933
8939
  }
8934
8940
  },
8935
8941
  { timestamps: true }
@@ -9280,7 +9286,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
9280
9286
  return existing !== null;
9281
9287
  }
9282
9288
 
9283
- // node_modules/@timardex/cluemart-shared/dist/chunk-SWWVD4J5.mjs
9289
+ // node_modules/@timardex/cluemart-shared/dist/chunk-SD42WIMV.mjs
9284
9290
  import dayjs3 from "dayjs";
9285
9291
  import customParseFormat2 from "dayjs/plugin/customParseFormat.js";
9286
9292
  import isSameOrAfter2 from "dayjs/plugin/isSameOrAfter.js";
@@ -9335,7 +9341,7 @@ var SHARE_RESOURCE_LABEL2 = {
9335
9341
  school: "School"
9336
9342
  };
9337
9343
 
9338
- // node_modules/@timardex/cluemart-shared/dist/chunk-2V7QKRQE.mjs
9344
+ // node_modules/@timardex/cluemart-shared/dist/chunk-4VN5M5JO.mjs
9339
9345
  var PROMO_CODE_PREFIX2 = "CM-";
9340
9346
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9341
9347
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -9437,7 +9443,7 @@ var gameScreenIdentifierList2 = [
9437
9443
  }
9438
9444
  ];
9439
9445
 
9440
- // node_modules/@timardex/cluemart-shared/dist/chunk-THXLJFLL.mjs
9446
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TX3TVIQO.mjs
9441
9447
  import dayjs4 from "dayjs";
9442
9448
  var statusOptions2 = [
9443
9449
  ...Object.values(EnumInviteStatus2).map((status) => ({