@timardex/cluemart-server-shared 1.0.142 → 1.0.143
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-FA5DXWVE.mjs} +102 -6
- package/dist/chunk-FA5DXWVE.mjs.map +1 -0
- package/dist/index.cjs +101 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +101 -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 +101 -5
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-D2UFBNH6.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -6753,22 +6753,24 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6753
6753
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
6754
6754
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
6755
6755
|
EnumNotificationResourceType22["CREATED_VENDOR"] = "created_vendor";
|
|
6756
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6756
6757
|
EnumNotificationResourceType22["DEACTIVATED_EVENT"] = "deactivated_event";
|
|
6757
6758
|
EnumNotificationResourceType22["DEACTIVATED_PARTNER"] = "deactivated_partner";
|
|
6758
6759
|
EnumNotificationResourceType22["DEACTIVATED_VENDOR"] = "deactivated_vendor";
|
|
6759
|
-
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6760
|
-
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6761
|
-
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
6762
6760
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6763
6761
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6764
6762
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6765
|
-
EnumNotificationResourceType22["
|
|
6763
|
+
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6764
|
+
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6765
|
+
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
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";
|
|
6769
6769
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
|
|
6770
6770
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
|
|
6771
6771
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6772
|
+
EnumNotificationResourceType22["NEW_POST_CREATED"] = "new_post_created";
|
|
6773
|
+
EnumNotificationResourceType22["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
|
|
6772
6774
|
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6773
6775
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6774
6776
|
return EnumNotificationResourceType22;
|
|
@@ -6846,6 +6848,100 @@ var EnumSubscriptionStatus = /* @__PURE__ */ ((EnumSubscriptionStatus22) => {
|
|
|
6846
6848
|
EnumSubscriptionStatus22["TRIALING"] = "trialing";
|
|
6847
6849
|
return EnumSubscriptionStatus22;
|
|
6848
6850
|
})(EnumSubscriptionStatus || {});
|
|
6851
|
+
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
6852
|
+
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
6853
|
+
var gameScreenIdentifierList = [
|
|
6854
|
+
{
|
|
6855
|
+
clue: "Where your actions turn into a timeline.",
|
|
6856
|
+
id: "activities",
|
|
6857
|
+
match: "/profile/activities"
|
|
6858
|
+
},
|
|
6859
|
+
{
|
|
6860
|
+
clue: "Where conversations happen without speaking.",
|
|
6861
|
+
id: "chat",
|
|
6862
|
+
match: "/profile/chat"
|
|
6863
|
+
},
|
|
6864
|
+
{
|
|
6865
|
+
clue: "The place to redefine who you are.",
|
|
6866
|
+
id: "edit-profile",
|
|
6867
|
+
match: "/profile/edit-profile"
|
|
6868
|
+
},
|
|
6869
|
+
{
|
|
6870
|
+
clue: "A single moment worth showing up for.",
|
|
6871
|
+
id: "single-event",
|
|
6872
|
+
match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
clue: "What\u2019s happening around you, right now.",
|
|
6876
|
+
id: "events-near-me",
|
|
6877
|
+
match: "/events/events-near-me"
|
|
6878
|
+
},
|
|
6879
|
+
{
|
|
6880
|
+
clue: "A collection of things worth attending.",
|
|
6881
|
+
id: "events",
|
|
6882
|
+
match: "/events"
|
|
6883
|
+
},
|
|
6884
|
+
{
|
|
6885
|
+
clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
|
|
6886
|
+
id: "events-region",
|
|
6887
|
+
match: /^\/events\/region\/[^/]+$/
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
clue: "Where fun becomes a challenge.",
|
|
6891
|
+
id: "games",
|
|
6892
|
+
match: "/games"
|
|
6893
|
+
},
|
|
6894
|
+
{
|
|
6895
|
+
clue: "Your starting point for everything.",
|
|
6896
|
+
id: "home",
|
|
6897
|
+
match: "/"
|
|
6898
|
+
},
|
|
6899
|
+
{
|
|
6900
|
+
clue: "Where the app whispers what you shouldn\u2019t miss.",
|
|
6901
|
+
id: "notifications",
|
|
6902
|
+
match: "/notifications"
|
|
6903
|
+
},
|
|
6904
|
+
{
|
|
6905
|
+
clue: "Where you fine-tune your experience.",
|
|
6906
|
+
id: "options",
|
|
6907
|
+
match: "/options"
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
clue: "An organisation or creator supporting the community.",
|
|
6911
|
+
id: "single-partner",
|
|
6912
|
+
match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
clue: "Organisations and creators supporting the community.",
|
|
6916
|
+
id: "partners",
|
|
6917
|
+
match: "/partners"
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
clue: "A single published post in full view.",
|
|
6921
|
+
id: "single-visitor-post",
|
|
6922
|
+
match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6923
|
+
},
|
|
6924
|
+
{
|
|
6925
|
+
clue: "Your identity, on display.",
|
|
6926
|
+
id: "profile",
|
|
6927
|
+
match: "/profile"
|
|
6928
|
+
},
|
|
6929
|
+
{
|
|
6930
|
+
clue: "One stallholder offering something valuable.",
|
|
6931
|
+
id: "single-vendor",
|
|
6932
|
+
match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
clue: "Where every stallholder waits under the right category.",
|
|
6936
|
+
id: "vendors",
|
|
6937
|
+
match: "/vendors"
|
|
6938
|
+
},
|
|
6939
|
+
{
|
|
6940
|
+
clue: "Where you browse articles and posts from around the platform.",
|
|
6941
|
+
id: "visitors",
|
|
6942
|
+
match: "/visitors"
|
|
6943
|
+
}
|
|
6944
|
+
];
|
|
6849
6945
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
6850
6946
|
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
6851
6947
|
return EnumGameType2;
|
|
@@ -11644,7 +11740,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11644
11740
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11645
11741
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
11646
11742
|
|
|
11647
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11743
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-ZR4TGWTS.mjs
|
|
11648
11744
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11649
11745
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11650
11746
|
EnumOSPlatform22["IOS"] = "ios";
|