@timardex/cluemart-server-shared 1.1.30 → 1.1.32
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-5A746NK4.mjs → chunk-VUTQY6KS.mjs} +3 -3
- package/dist/chunk-VUTQY6KS.mjs.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +2 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +5 -5
- 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-5A746NK4.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -8663,7 +8663,7 @@ var termsAgreementSchema = new MongooseSchema6(
|
|
|
8663
8663
|
osName: { required: true, type: String },
|
|
8664
8664
|
osVersion: { required: true, type: String },
|
|
8665
8665
|
termVersion: { required: true, type: String },
|
|
8666
|
-
timestamp: { required: true, type:
|
|
8666
|
+
timestamp: { required: true, type: Date }
|
|
8667
8667
|
},
|
|
8668
8668
|
{ _id: false }
|
|
8669
8669
|
);
|
|
@@ -8899,7 +8899,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8899
8899
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8900
8900
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
8901
8901
|
|
|
8902
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8902
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
|
|
8903
8903
|
var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
|
|
8904
8904
|
EnumInviteStatus22["ACCEPTED"] = "Accepted";
|
|
8905
8905
|
EnumInviteStatus22["COMPLETED"] = "Completed";
|
|
@@ -10076,7 +10076,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
|
|
|
10076
10076
|
return existing !== null;
|
|
10077
10077
|
}
|
|
10078
10078
|
|
|
10079
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10079
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
|
|
10080
10080
|
var import_dayjs3 = __toESM(require("dayjs"), 1);
|
|
10081
10081
|
var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
|
|
10082
10082
|
var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
|
|
@@ -10131,7 +10131,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
10131
10131
|
school: "School"
|
|
10132
10132
|
};
|
|
10133
10133
|
|
|
10134
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10134
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
|
|
10135
10135
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
10136
10136
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
10137
10137
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -10243,7 +10243,7 @@ var gameScreenIdentifierList2 = [
|
|
|
10243
10243
|
}
|
|
10244
10244
|
];
|
|
10245
10245
|
|
|
10246
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10246
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
|
|
10247
10247
|
var import_dayjs4 = __toESM(require("dayjs"), 1);
|
|
10248
10248
|
var statusOptions2 = [
|
|
10249
10249
|
...Object.values(EnumInviteStatus2).map((status) => ({
|