@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/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -8618,7 +8618,7 @@ var termsAgreementSchema = new MongooseSchema6(
|
|
|
8618
8618
|
osName: { required: true, type: String },
|
|
8619
8619
|
osVersion: { required: true, type: String },
|
|
8620
8620
|
termVersion: { required: true, type: String },
|
|
8621
|
-
timestamp: { required: true, type:
|
|
8621
|
+
timestamp: { required: true, type: Date }
|
|
8622
8622
|
},
|
|
8623
8623
|
{ _id: false }
|
|
8624
8624
|
);
|
|
@@ -8854,7 +8854,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8854
8854
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8855
8855
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
8856
8856
|
|
|
8857
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8857
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-7IB7QPVH.mjs
|
|
8858
8858
|
var EnumInviteStatus2 = /* @__PURE__ */ ((EnumInviteStatus22) => {
|
|
8859
8859
|
EnumInviteStatus22["ACCEPTED"] = "Accepted";
|
|
8860
8860
|
EnumInviteStatus22["COMPLETED"] = "Completed";
|
|
@@ -10031,7 +10031,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
|
|
|
10031
10031
|
return existing !== null;
|
|
10032
10032
|
}
|
|
10033
10033
|
|
|
10034
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10034
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
|
|
10035
10035
|
var import_dayjs3 = __toESM(require("dayjs"), 1);
|
|
10036
10036
|
var import_customParseFormat2 = __toESM(require("dayjs/plugin/customParseFormat.js"), 1);
|
|
10037
10037
|
var import_isSameOrAfter2 = __toESM(require("dayjs/plugin/isSameOrAfter.js"), 1);
|
|
@@ -10086,7 +10086,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
10086
10086
|
school: "School"
|
|
10087
10087
|
};
|
|
10088
10088
|
|
|
10089
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10089
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2CIW3WKR.mjs
|
|
10090
10090
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
10091
10091
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
10092
10092
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -10198,7 +10198,7 @@ var gameScreenIdentifierList2 = [
|
|
|
10198
10198
|
}
|
|
10199
10199
|
];
|
|
10200
10200
|
|
|
10201
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10201
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-A3RIEOQ7.mjs
|
|
10202
10202
|
var import_dayjs4 = __toESM(require("dayjs"), 1);
|
|
10203
10203
|
var statusOptions2 = [
|
|
10204
10204
|
...Object.values(EnumInviteStatus2).map((status) => ({
|