@timardex/cluemart-shared 1.5.542 → 1.5.544

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.
Files changed (47) hide show
  1. package/dist/{chunk-LJ4OOWYU.mjs → chunk-7435FNA7.mjs} +3 -3
  2. package/dist/{chunk-RWA5G6NG.mjs → chunk-LOABFNIJ.mjs} +15 -18
  3. package/dist/chunk-LOABFNIJ.mjs.map +1 -0
  4. package/dist/{chunk-72D674RG.mjs → chunk-TERE6URA.mjs} +3 -3
  5. package/dist/{chunk-2QURTHMA.mjs → chunk-ZR4TGWTS.mjs} +2 -1
  6. package/dist/chunk-ZR4TGWTS.mjs.map +1 -0
  7. package/dist/enums/index.cjs +1 -0
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.mts +1 -0
  10. package/dist/enums/index.d.ts +1 -0
  11. package/dist/enums/index.mjs +1 -1
  12. package/dist/formFields/index.cjs +96 -0
  13. package/dist/formFields/index.cjs.map +1 -1
  14. package/dist/formFields/index.mjs +4 -4
  15. package/dist/{game-DAQTH29H.d.ts → game-1CSiEjlf.d.ts} +8 -12
  16. package/dist/{game-CKJKoqrR.d.mts → game-BPtE3yaQ.d.mts} +8 -12
  17. package/dist/graphql/index.d.mts +2 -2
  18. package/dist/graphql/index.d.ts +2 -2
  19. package/dist/graphql/index.mjs +1 -1
  20. package/dist/hooks/index.cjs +96 -0
  21. package/dist/hooks/index.cjs.map +1 -1
  22. package/dist/hooks/index.d.mts +2 -2
  23. package/dist/hooks/index.d.ts +2 -2
  24. package/dist/hooks/index.mjs +4 -4
  25. package/dist/index.cjs +15 -17
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +9 -12
  28. package/dist/index.d.ts +9 -12
  29. package/dist/index.mjs +15 -17
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{post-C22p1dDe.d.ts → post-C0CIWXwc.d.ts} +1 -1
  32. package/dist/{post-B65KQS6r.d.mts → post-DjuHzWo7.d.mts} +1 -1
  33. package/dist/types/index.cjs +14 -17
  34. package/dist/types/index.cjs.map +1 -1
  35. package/dist/types/index.d.mts +2 -2
  36. package/dist/types/index.d.ts +2 -2
  37. package/dist/types/index.mjs +1 -1
  38. package/dist/utils/index.cjs +14 -17
  39. package/dist/utils/index.cjs.map +1 -1
  40. package/dist/utils/index.d.mts +1 -1
  41. package/dist/utils/index.d.ts +1 -1
  42. package/dist/utils/index.mjs +3 -3
  43. package/package.json +1 -1
  44. package/dist/chunk-2QURTHMA.mjs.map +0 -1
  45. package/dist/chunk-RWA5G6NG.mjs.map +0 -1
  46. /package/dist/{chunk-LJ4OOWYU.mjs.map → chunk-7435FNA7.mjs.map} +0 -0
  47. /package/dist/{chunk-72D674RG.mjs.map → chunk-TERE6URA.mjs.map} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-ClbRuePq.mjs';
2
- import { g as UserFormData, C as CreateUserFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormData, k as CreatePartnerFormData, l as PostFormData, m as CreatePostFormData, n as AppSettingsFormData, o as CreateAppSettingsFormData, p as SchoolFormData, q as CreateSchoolFormData } from '../post-B65KQS6r.mjs';
2
+ import { g as UserFormData, C as CreateUserFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormData, k as CreatePartnerFormData, l as PostFormData, m as CreatePostFormData, n as AppSettingsFormData, o as CreateAppSettingsFormData, p as SchoolFormData, q as CreateSchoolFormData } from '../post-DjuHzWo7.mjs';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-Bxz2zKuN.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
6
6
  import '../images/index.mjs';
7
- import '../game-CKJKoqrR.mjs';
7
+ import '../game-BPtE3yaQ.mjs';
8
8
 
9
9
  interface PlacePrediction {
10
10
  place_id: string;
@@ -1,10 +1,10 @@
1
1
  import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-CDqmjLH1.js';
2
- import { g as UserFormData, C as CreateUserFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormData, k as CreatePartnerFormData, l as PostFormData, m as CreatePostFormData, n as AppSettingsFormData, o as CreateAppSettingsFormData, p as SchoolFormData, q as CreateSchoolFormData } from '../post-C22p1dDe.js';
2
+ import { g as UserFormData, C as CreateUserFormData, h as PartnerFormData, i as AdFormData, j as CreateAdFormData, k as CreatePartnerFormData, l as PostFormData, m as CreatePostFormData, n as AppSettingsFormData, o as CreateAppSettingsFormData, p as SchoolFormData, q as CreateSchoolFormData } from '../post-C0CIWXwc.js';
3
3
  import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-BiybdWuP.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
6
6
  import '../images/index.js';
7
- import '../game-DAQTH29H.js';
7
+ import '../game-1CSiEjlf.js';
8
8
 
9
9
  interface PlacePrediction {
10
10
  place_id: string;
@@ -1,9 +1,9 @@
1
- import "../chunk-LJ4OOWYU.mjs";
1
+ import "../chunk-7435FNA7.mjs";
2
2
  import {
3
3
  dateFormat,
4
4
  normalizeUrl,
5
5
  timeFormat
6
- } from "../chunk-72D674RG.mjs";
6
+ } from "../chunk-TERE6URA.mjs";
7
7
  import "../chunk-G2YFRN6A.mjs";
8
8
  import {
9
9
  EnumEventDateStatus,
@@ -16,7 +16,7 @@ import {
16
16
  EnumUserLicence,
17
17
  EnumUserRole,
18
18
  EnumVendorType
19
- } from "../chunk-2QURTHMA.mjs";
19
+ } from "../chunk-ZR4TGWTS.mjs";
20
20
  import "../chunk-N26FUCHY.mjs";
21
21
  import "../chunk-DWO35OY4.mjs";
22
22
  import "../chunk-I7WE3EBR.mjs";
@@ -28,7 +28,7 @@ import {
28
28
  EnumPostContentType,
29
29
  EnumPostType
30
30
  } from "../chunk-HYU4YHHL.mjs";
31
- import "../chunk-RWA5G6NG.mjs";
31
+ import "../chunk-LOABFNIJ.mjs";
32
32
 
33
33
  // src/hooks/useLocationSearch.ts
34
34
  var handleApiError = (error, message) => {
package/dist/index.cjs CHANGED
@@ -464,6 +464,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
464
464
  EnumNotificationResourceType2["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
465
465
  EnumNotificationResourceType2["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
466
466
  EnumNotificationResourceType2["NEW_CHAT_MESSAGE"] = "new_chat_message";
467
+ EnumNotificationResourceType2["NEW_POST_CREATED"] = "new_post_created";
467
468
  EnumNotificationResourceType2["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
468
469
  EnumNotificationResourceType2["SYSTEM_ALERT"] = "system_alert";
469
470
  EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
@@ -760,6 +761,8 @@ var priceUnits = [
760
761
  ];
761
762
 
762
763
  // src/types/game.ts
764
+ var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
765
+ var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
763
766
  var gameScreenIdentifierList = [
764
767
  {
765
768
  clue: "Where your actions turn into a timeline.",
@@ -779,7 +782,7 @@ var gameScreenIdentifierList = [
779
782
  {
780
783
  clue: "A single moment worth showing up for.",
781
784
  id: "single-event",
782
- match: /^\/events\/[a-f0-9]{24}$/
785
+ match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
783
786
  },
784
787
  {
785
788
  clue: "What\u2019s happening around you, right now.",
@@ -792,15 +795,10 @@ var gameScreenIdentifierList = [
792
795
  match: "/events"
793
796
  },
794
797
  {
795
- clue: "What\u2019s happening in a wider area\u2014not just nearby.",
798
+ clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
796
799
  id: "events-region",
797
800
  match: /^\/events\/region\/[^/]+$/
798
801
  },
799
- {
800
- clue: "Where you go to find something specific.",
801
- id: "events-search",
802
- match: "/events/search"
803
- },
804
802
  {
805
803
  clue: "Where fun becomes a challenge.",
806
804
  id: "games",
@@ -812,7 +810,7 @@ var gameScreenIdentifierList = [
812
810
  match: "/"
813
811
  },
814
812
  {
815
- clue: "Where the app taps you on the shoulder.",
813
+ clue: "Where the app whispers what you shouldn\u2019t miss.",
816
814
  id: "notifications",
817
815
  match: "/notifications"
818
816
  },
@@ -822,19 +820,19 @@ var gameScreenIdentifierList = [
822
820
  match: "/options"
823
821
  },
824
822
  {
825
- clue: "A single collaborator in the ecosystem.",
823
+ clue: "An organisation or creator supporting the community.",
826
824
  id: "single-partner",
827
- match: /^\/partners\/[a-f0-9]{24}$/
825
+ match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
828
826
  },
829
827
  {
830
- clue: "The network behind the scenes.",
828
+ clue: "Organisations and creators supporting the community.",
831
829
  id: "partners",
832
830
  match: "/partners"
833
831
  },
834
832
  {
835
- clue: "Where you share something with everyone.",
833
+ clue: "A single published post in full view.",
836
834
  id: "single-visitor-post",
837
- match: /^\/visitors\/posts\/[a-f0-9]{24}$/
835
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
838
836
  },
839
837
  {
840
838
  clue: "Your identity, on display.",
@@ -842,17 +840,17 @@ var gameScreenIdentifierList = [
842
840
  match: "/profile"
843
841
  },
844
842
  {
845
- clue: "One provider offering something valuable.",
843
+ clue: "One stallholder offering something valuable.",
846
844
  id: "single-vendor",
847
- match: /^\/vendors\/[a-f0-9]{24}$/
845
+ match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
848
846
  },
849
847
  {
850
- clue: "A marketplace of providers.",
848
+ clue: "Where every stallholder waits under the right category.",
851
849
  id: "vendors",
852
850
  match: "/vendors"
853
851
  },
854
852
  {
855
- clue: "People who stopped by to see you.",
853
+ clue: "Where you browse articles and posts from around the platform.",
856
854
  id: "visitors",
857
855
  match: "/visitors"
858
856
  }