@timardex/cluemart-server-shared 1.0.140 → 1.0.142
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-Q6KEIJPS.mjs → chunk-D2UFBNH6.mjs} +15 -5
- package/dist/chunk-D2UFBNH6.mjs.map +1 -0
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -4
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +14 -4
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +14 -4
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-Q6KEIJPS.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -6762,7 +6762,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6762
6762
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6763
6763
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6764
6764
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6765
|
-
EnumNotificationResourceType22["
|
|
6765
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6766
6766
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6767
6767
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6768
6768
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
@@ -10861,7 +10861,16 @@ var schoolSchema = create$3().shape({
|
|
|
10861
10861
|
});
|
|
10862
10862
|
var PKG = "@timardex/cluemart-shared";
|
|
10863
10863
|
var IMAGE_EXTENSION = ".webp";
|
|
10864
|
-
var posterIds = [
|
|
10864
|
+
var posterIds = [
|
|
10865
|
+
"mini-market1",
|
|
10866
|
+
"mini-market2",
|
|
10867
|
+
"mini-market3",
|
|
10868
|
+
"mini-market4",
|
|
10869
|
+
"mini-market5",
|
|
10870
|
+
"poster1",
|
|
10871
|
+
"poster2",
|
|
10872
|
+
"poster3"
|
|
10873
|
+
];
|
|
10865
10874
|
var posterFiles = Object.fromEntries(
|
|
10866
10875
|
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
10867
10876
|
);
|
|
@@ -11635,7 +11644,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11635
11644
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11636
11645
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
11637
11646
|
|
|
11638
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11647
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-73ULMQM6.mjs
|
|
11639
11648
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11640
11649
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11641
11650
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -12283,7 +12292,8 @@ import mongoose20 from "mongoose";
|
|
|
12283
12292
|
var MongooseSchema20 = mongoose20.Schema;
|
|
12284
12293
|
var schema15 = new MongooseSchema20(
|
|
12285
12294
|
{
|
|
12286
|
-
|
|
12295
|
+
// New schools are active by default
|
|
12296
|
+
active: { default: true, required: true, type: Boolean },
|
|
12287
12297
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
12288
12298
|
deletedAt: { default: null, required: false, type: Date },
|
|
12289
12299
|
location: {
|