@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.
@@ -39,7 +39,7 @@ import {
39
39
  socialShareResourceSchema,
40
40
  termsAgreementSchema,
41
41
  userLicenseSchema
42
- } from "../chunk-S3OCZCET.mjs";
42
+ } from "../chunk-U5ER6XDO.mjs";
43
43
  export {
44
44
  APP_SETTINGS_ID,
45
45
  AdModel,
@@ -7060,6 +7060,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = gql`
7060
7060
  createdAt
7061
7061
  isOfflineMode
7062
7062
  key
7063
+ minimumRedeemableAffiliatePoints
7063
7064
  updatedAt
7064
7065
  }
7065
7066
  `;
@@ -8987,6 +8988,11 @@ var AppSettingSchema = new MongooseSchema19(
8987
8988
  type: String,
8988
8989
  unique: true
8989
8990
  // ✅ allowed here
8991
+ },
8992
+ minimumRedeemableAffiliatePoints: {
8993
+ default: 500,
8994
+ required: true,
8995
+ type: Number
8990
8996
  }
8991
8997
  },
8992
8998
  { timestamps: true }
@@ -9337,7 +9343,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
9337
9343
  return existing !== null;
9338
9344
  }
9339
9345
 
9340
- // node_modules/@timardex/cluemart-shared/dist/chunk-SWWVD4J5.mjs
9346
+ // node_modules/@timardex/cluemart-shared/dist/chunk-SD42WIMV.mjs
9341
9347
  var import_dayjs3 = __toESM(require("dayjs"), 1);
9342
9348
  var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
9343
9349
  var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
@@ -9392,7 +9398,7 @@ var SHARE_RESOURCE_LABEL2 = {
9392
9398
  school: "School"
9393
9399
  };
9394
9400
 
9395
- // node_modules/@timardex/cluemart-shared/dist/chunk-2V7QKRQE.mjs
9401
+ // node_modules/@timardex/cluemart-shared/dist/chunk-4VN5M5JO.mjs
9396
9402
  var PROMO_CODE_PREFIX2 = "CM-";
9397
9403
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9398
9404
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -9494,7 +9500,7 @@ var gameScreenIdentifierList2 = [
9494
9500
  }
9495
9501
  ];
9496
9502
 
9497
- // node_modules/@timardex/cluemart-shared/dist/chunk-THXLJFLL.mjs
9503
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TX3TVIQO.mjs
9498
9504
  var import_dayjs4 = __toESM(require("dayjs"), 1);
9499
9505
  var statusOptions2 = [
9500
9506
  ...Object.values(EnumInviteStatus2).map((status) => ({