@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/{chunk-S3OCZCET.mjs → chunk-U5ER6XDO.mjs} +7 -1
- package/dist/chunk-U5ER6XDO.mjs.map +1 -0
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +6 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +9 -3
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +4 -4
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-S3OCZCET.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -7103,6 +7103,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = gql`
|
|
|
7103
7103
|
createdAt
|
|
7104
7104
|
isOfflineMode
|
|
7105
7105
|
key
|
|
7106
|
+
minimumRedeemableAffiliatePoints
|
|
7106
7107
|
updatedAt
|
|
7107
7108
|
}
|
|
7108
7109
|
`;
|
|
@@ -9030,6 +9031,11 @@ var AppSettingSchema = new MongooseSchema19(
|
|
|
9030
9031
|
type: String,
|
|
9031
9032
|
unique: true
|
|
9032
9033
|
// ✅ allowed here
|
|
9034
|
+
},
|
|
9035
|
+
minimumRedeemableAffiliatePoints: {
|
|
9036
|
+
default: 500,
|
|
9037
|
+
required: true,
|
|
9038
|
+
type: Number
|
|
9033
9039
|
}
|
|
9034
9040
|
},
|
|
9035
9041
|
{ timestamps: true }
|
|
@@ -9380,7 +9386,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
|
|
|
9380
9386
|
return existing !== null;
|
|
9381
9387
|
}
|
|
9382
9388
|
|
|
9383
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9389
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-SD42WIMV.mjs
|
|
9384
9390
|
var import_dayjs3 = __toESM(require("dayjs"), 1);
|
|
9385
9391
|
var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
|
|
9386
9392
|
var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
|
|
@@ -9435,7 +9441,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
9435
9441
|
school: "School"
|
|
9436
9442
|
};
|
|
9437
9443
|
|
|
9438
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9444
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-4VN5M5JO.mjs
|
|
9439
9445
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
9440
9446
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
9441
9447
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -9537,7 +9543,7 @@ var gameScreenIdentifierList2 = [
|
|
|
9537
9543
|
}
|
|
9538
9544
|
];
|
|
9539
9545
|
|
|
9540
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9546
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-TX3TVIQO.mjs
|
|
9541
9547
|
var import_dayjs4 = __toESM(require("dayjs"), 1);
|
|
9542
9548
|
var statusOptions2 = [
|
|
9543
9549
|
...Object.values(EnumInviteStatus2).map((status) => ({
|