@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.mjs
CHANGED
|
@@ -8558,7 +8558,7 @@ var termsAgreementSchema = new MongooseSchema6(
|
|
|
8558
8558
|
osName: { required: true, type: String },
|
|
8559
8559
|
osVersion: { required: true, type: String },
|
|
8560
8560
|
termVersion: { required: true, type: String },
|
|
8561
|
-
timestamp: { required: true, type:
|
|
8561
|
+
timestamp: { required: true, type: Date }
|
|
8562
8562
|
},
|
|
8563
8563
|
{ _id: false }
|
|
8564
8564
|
);
|
|
@@ -8794,7 +8794,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8794
8794
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8795
8795
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8796
8796
|
|
|
8797
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8797
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
|
|
8798
8798
|
var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
|
|
8799
8799
|
EnumInviteStatus22["ACCEPTED"] = "Accepted";
|
|
8800
8800
|
EnumInviteStatus22["COMPLETED"] = "Completed";
|
|
@@ -9971,7 +9971,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
|
|
|
9971
9971
|
return existing !== null;
|
|
9972
9972
|
}
|
|
9973
9973
|
|
|
9974
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9974
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
|
|
9975
9975
|
import dayjs3 from "dayjs";
|
|
9976
9976
|
import customParseFormat2 from "dayjs/plugin/customParseFormat.js";
|
|
9977
9977
|
import isSameOrAfter2 from "dayjs/plugin/isSameOrAfter.js";
|
|
@@ -10026,7 +10026,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
10026
10026
|
school: "School"
|
|
10027
10027
|
};
|
|
10028
10028
|
|
|
10029
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10029
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
|
|
10030
10030
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
10031
10031
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
10032
10032
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -10138,7 +10138,7 @@ var gameScreenIdentifierList2 = [
|
|
|
10138
10138
|
}
|
|
10139
10139
|
];
|
|
10140
10140
|
|
|
10141
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10141
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
|
|
10142
10142
|
import dayjs4 from "dayjs";
|
|
10143
10143
|
var statusOptions2 = [
|
|
10144
10144
|
...Object.values(EnumInviteStatus2).map((status) => ({
|