@timardex/cluemart-server-shared 1.0.142 → 1.0.145
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-D2UFBNH6.mjs → chunk-ZKCRLNCH.mjs} +103 -6
- package/dist/chunk-ZKCRLNCH.mjs.map +1 -0
- package/dist/index.cjs +137 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +133 -5
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +101 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +135 -7
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +34 -1
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-D2UFBNH6.mjs.map +0 -1
|
@@ -6732,22 +6732,24 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6732
6732
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
6733
6733
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
6734
6734
|
EnumNotificationResourceType22["CREATED_VENDOR"] = "created_vendor";
|
|
6735
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6735
6736
|
EnumNotificationResourceType22["DEACTIVATED_EVENT"] = "deactivated_event";
|
|
6736
6737
|
EnumNotificationResourceType22["DEACTIVATED_PARTNER"] = "deactivated_partner";
|
|
6737
6738
|
EnumNotificationResourceType22["DEACTIVATED_VENDOR"] = "deactivated_vendor";
|
|
6738
|
-
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6739
|
-
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6740
|
-
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
6741
6739
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6742
6740
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6743
6741
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6744
|
-
EnumNotificationResourceType22["
|
|
6742
|
+
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6743
|
+
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6744
|
+
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
6745
6745
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6746
6746
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6747
6747
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
6748
6748
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
|
|
6749
6749
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
|
|
6750
6750
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6751
|
+
EnumNotificationResourceType22["NEW_POST_CREATED"] = "new_post_created";
|
|
6752
|
+
EnumNotificationResourceType22["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
|
|
6751
6753
|
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6752
6754
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6753
6755
|
return EnumNotificationResourceType22;
|
|
@@ -6825,6 +6827,100 @@ var EnumSubscriptionStatus = /* @__PURE__ */ ((EnumSubscriptionStatus22) => {
|
|
|
6825
6827
|
EnumSubscriptionStatus22["TRIALING"] = "trialing";
|
|
6826
6828
|
return EnumSubscriptionStatus22;
|
|
6827
6829
|
})(EnumSubscriptionStatus || {});
|
|
6830
|
+
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
6831
|
+
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
6832
|
+
var gameScreenIdentifierList = [
|
|
6833
|
+
{
|
|
6834
|
+
clue: "Where your actions turn into a timeline.",
|
|
6835
|
+
id: "activities",
|
|
6836
|
+
match: "/profile/activities"
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
clue: "Where conversations happen without speaking.",
|
|
6840
|
+
id: "chat",
|
|
6841
|
+
match: "/profile/chat"
|
|
6842
|
+
},
|
|
6843
|
+
{
|
|
6844
|
+
clue: "The place to redefine who you are.",
|
|
6845
|
+
id: "edit-profile",
|
|
6846
|
+
match: "/profile/edit-profile"
|
|
6847
|
+
},
|
|
6848
|
+
{
|
|
6849
|
+
clue: "A single moment worth showing up for.",
|
|
6850
|
+
id: "single-event",
|
|
6851
|
+
match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6852
|
+
},
|
|
6853
|
+
{
|
|
6854
|
+
clue: "What\u2019s happening around you, right now.",
|
|
6855
|
+
id: "events-near-me",
|
|
6856
|
+
match: "/events/events-near-me"
|
|
6857
|
+
},
|
|
6858
|
+
{
|
|
6859
|
+
clue: "A collection of things worth attending.",
|
|
6860
|
+
id: "events",
|
|
6861
|
+
match: "/events"
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
|
|
6865
|
+
id: "events-region",
|
|
6866
|
+
match: /^\/events\/region\/[^/]+$/
|
|
6867
|
+
},
|
|
6868
|
+
{
|
|
6869
|
+
clue: "Where fun becomes a challenge.",
|
|
6870
|
+
id: "games",
|
|
6871
|
+
match: "/games"
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
clue: "Your starting point for everything.",
|
|
6875
|
+
id: "home",
|
|
6876
|
+
match: "/"
|
|
6877
|
+
},
|
|
6878
|
+
{
|
|
6879
|
+
clue: "Where the app whispers what you shouldn\u2019t miss.",
|
|
6880
|
+
id: "notifications",
|
|
6881
|
+
match: "/notifications"
|
|
6882
|
+
},
|
|
6883
|
+
{
|
|
6884
|
+
clue: "Where you fine-tune your experience.",
|
|
6885
|
+
id: "options",
|
|
6886
|
+
match: "/options"
|
|
6887
|
+
},
|
|
6888
|
+
{
|
|
6889
|
+
clue: "An organisation or creator supporting the community.",
|
|
6890
|
+
id: "single-partner",
|
|
6891
|
+
match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6892
|
+
},
|
|
6893
|
+
{
|
|
6894
|
+
clue: "Organisations and creators supporting the community.",
|
|
6895
|
+
id: "partners",
|
|
6896
|
+
match: "/partners"
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
clue: "A single published post in full view.",
|
|
6900
|
+
id: "single-visitor-post",
|
|
6901
|
+
match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6902
|
+
},
|
|
6903
|
+
{
|
|
6904
|
+
clue: "Your identity, on display.",
|
|
6905
|
+
id: "profile",
|
|
6906
|
+
match: "/profile"
|
|
6907
|
+
},
|
|
6908
|
+
{
|
|
6909
|
+
clue: "One stallholder offering something valuable.",
|
|
6910
|
+
id: "single-vendor",
|
|
6911
|
+
match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
clue: "Where every stallholder waits under the right category.",
|
|
6915
|
+
id: "vendors",
|
|
6916
|
+
match: "/vendors"
|
|
6917
|
+
},
|
|
6918
|
+
{
|
|
6919
|
+
clue: "Where you browse articles and posts from around the platform.",
|
|
6920
|
+
id: "visitors",
|
|
6921
|
+
match: "/visitors"
|
|
6922
|
+
}
|
|
6923
|
+
];
|
|
6828
6924
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
6829
6925
|
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
6830
6926
|
return EnumGameType2;
|
|
@@ -11623,7 +11719,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11623
11719
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11624
11720
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
11625
11721
|
|
|
11626
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11722
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-ZR4TGWTS.mjs
|
|
11627
11723
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11628
11724
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11629
11725
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -12297,6 +12393,7 @@ var schema15 = new MongooseSchema20(
|
|
|
12297
12393
|
var SchoolModel = mongoose20.models.School || mongoose20.model("School", schema15);
|
|
12298
12394
|
|
|
12299
12395
|
export {
|
|
12396
|
+
EnumResourceType,
|
|
12300
12397
|
EnumUserLicence,
|
|
12301
12398
|
EnumAdStatus,
|
|
12302
12399
|
AdModel,
|
|
@@ -12362,4 +12459,4 @@ react/cjs/react.development.js:
|
|
|
12362
12459
|
* LICENSE file in the root directory of this source tree.
|
|
12363
12460
|
*)
|
|
12364
12461
|
*/
|
|
12365
|
-
//# sourceMappingURL=chunk-
|
|
12462
|
+
//# sourceMappingURL=chunk-ZKCRLNCH.mjs.map
|