@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/mongoose/index.cjs
CHANGED
|
@@ -6803,22 +6803,24 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6803
6803
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
6804
6804
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
6805
6805
|
EnumNotificationResourceType22["CREATED_VENDOR"] = "created_vendor";
|
|
6806
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6806
6807
|
EnumNotificationResourceType22["DEACTIVATED_EVENT"] = "deactivated_event";
|
|
6807
6808
|
EnumNotificationResourceType22["DEACTIVATED_PARTNER"] = "deactivated_partner";
|
|
6808
6809
|
EnumNotificationResourceType22["DEACTIVATED_VENDOR"] = "deactivated_vendor";
|
|
6809
|
-
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6810
|
-
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6811
|
-
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
6812
6810
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6813
6811
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6814
6812
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6815
|
-
EnumNotificationResourceType22["
|
|
6813
|
+
EnumNotificationResourceType22["DOWNGRADED_EVENT"] = "downgraded_event";
|
|
6814
|
+
EnumNotificationResourceType22["DOWNGRADED_PARTNER"] = "downgraded_partner";
|
|
6815
|
+
EnumNotificationResourceType22["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
6816
6816
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6817
6817
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6818
6818
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
6819
6819
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
|
|
6820
6820
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
|
|
6821
6821
|
EnumNotificationResourceType22["NEW_CHAT_MESSAGE"] = "new_chat_message";
|
|
6822
|
+
EnumNotificationResourceType22["NEW_POST_CREATED"] = "new_post_created";
|
|
6823
|
+
EnumNotificationResourceType22["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
|
|
6822
6824
|
EnumNotificationResourceType22["SYSTEM_ALERT"] = "system_alert";
|
|
6823
6825
|
EnumNotificationResourceType22["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
6824
6826
|
return EnumNotificationResourceType22;
|
|
@@ -6896,6 +6898,100 @@ var EnumSubscriptionStatus = /* @__PURE__ */ ((EnumSubscriptionStatus22) => {
|
|
|
6896
6898
|
EnumSubscriptionStatus22["TRIALING"] = "trialing";
|
|
6897
6899
|
return EnumSubscriptionStatus22;
|
|
6898
6900
|
})(EnumSubscriptionStatus || {});
|
|
6901
|
+
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
6902
|
+
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
6903
|
+
var gameScreenIdentifierList = [
|
|
6904
|
+
{
|
|
6905
|
+
clue: "Where your actions turn into a timeline.",
|
|
6906
|
+
id: "activities",
|
|
6907
|
+
match: "/profile/activities"
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
clue: "Where conversations happen without speaking.",
|
|
6911
|
+
id: "chat",
|
|
6912
|
+
match: "/profile/chat"
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
clue: "The place to redefine who you are.",
|
|
6916
|
+
id: "edit-profile",
|
|
6917
|
+
match: "/profile/edit-profile"
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
clue: "A single moment worth showing up for.",
|
|
6921
|
+
id: "single-event",
|
|
6922
|
+
match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6923
|
+
},
|
|
6924
|
+
{
|
|
6925
|
+
clue: "What\u2019s happening around you, right now.",
|
|
6926
|
+
id: "events-near-me",
|
|
6927
|
+
match: "/events/events-near-me"
|
|
6928
|
+
},
|
|
6929
|
+
{
|
|
6930
|
+
clue: "A collection of things worth attending.",
|
|
6931
|
+
id: "events",
|
|
6932
|
+
match: "/events"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
|
|
6936
|
+
id: "events-region",
|
|
6937
|
+
match: /^\/events\/region\/[^/]+$/
|
|
6938
|
+
},
|
|
6939
|
+
{
|
|
6940
|
+
clue: "Where fun becomes a challenge.",
|
|
6941
|
+
id: "games",
|
|
6942
|
+
match: "/games"
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
clue: "Your starting point for everything.",
|
|
6946
|
+
id: "home",
|
|
6947
|
+
match: "/"
|
|
6948
|
+
},
|
|
6949
|
+
{
|
|
6950
|
+
clue: "Where the app whispers what you shouldn\u2019t miss.",
|
|
6951
|
+
id: "notifications",
|
|
6952
|
+
match: "/notifications"
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
clue: "Where you fine-tune your experience.",
|
|
6956
|
+
id: "options",
|
|
6957
|
+
match: "/options"
|
|
6958
|
+
},
|
|
6959
|
+
{
|
|
6960
|
+
clue: "An organisation or creator supporting the community.",
|
|
6961
|
+
id: "single-partner",
|
|
6962
|
+
match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6963
|
+
},
|
|
6964
|
+
{
|
|
6965
|
+
clue: "Organisations and creators supporting the community.",
|
|
6966
|
+
id: "partners",
|
|
6967
|
+
match: "/partners"
|
|
6968
|
+
},
|
|
6969
|
+
{
|
|
6970
|
+
clue: "A single published post in full view.",
|
|
6971
|
+
id: "single-visitor-post",
|
|
6972
|
+
match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6973
|
+
},
|
|
6974
|
+
{
|
|
6975
|
+
clue: "Your identity, on display.",
|
|
6976
|
+
id: "profile",
|
|
6977
|
+
match: "/profile"
|
|
6978
|
+
},
|
|
6979
|
+
{
|
|
6980
|
+
clue: "One stallholder offering something valuable.",
|
|
6981
|
+
id: "single-vendor",
|
|
6982
|
+
match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
|
|
6983
|
+
},
|
|
6984
|
+
{
|
|
6985
|
+
clue: "Where every stallholder waits under the right category.",
|
|
6986
|
+
id: "vendors",
|
|
6987
|
+
match: "/vendors"
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
clue: "Where you browse articles and posts from around the platform.",
|
|
6991
|
+
id: "visitors",
|
|
6992
|
+
match: "/visitors"
|
|
6993
|
+
}
|
|
6994
|
+
];
|
|
6899
6995
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
6900
6996
|
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
6901
6997
|
return EnumGameType2;
|
|
@@ -11694,7 +11790,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11694
11790
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11695
11791
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
11696
11792
|
|
|
11697
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11793
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-ZR4TGWTS.mjs
|
|
11698
11794
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11699
11795
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11700
11796
|
EnumOSPlatform22["IOS"] = "ios";
|