@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
package/dist/index.d.mts CHANGED
@@ -130,6 +130,7 @@ declare enum EnumNotificationResourceType {
130
130
  EXPIRATION_REMINDER_PARTNER = "expiration_reminder_partner",
131
131
  EXPIRATION_REMINDER_VENDOR = "expiration_reminder_vendor",
132
132
  NEW_CHAT_MESSAGE = "new_chat_message",
133
+ NEW_POST_CREATED = "new_post_created",
133
134
  REGISTERED_USER_BY_SCHOOL_CODE = "registered_user_by_school_code",
134
135
  SYSTEM_ALERT = "system_alert",
135
136
  VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
@@ -1045,13 +1046,9 @@ declare const gameScreenIdentifierList: readonly [{
1045
1046
  readonly id: "events";
1046
1047
  readonly match: "/events";
1047
1048
  }, {
1048
- readonly clue: "What’s happening in a wider area—not just nearby.";
1049
+ readonly clue: "What’s happening in a wider area not just nearby.";
1049
1050
  readonly id: "events-region";
1050
1051
  readonly match: RegExp;
1051
- }, {
1052
- readonly clue: "Where you go to find something specific.";
1053
- readonly id: "events-search";
1054
- readonly match: "/events/search";
1055
1052
  }, {
1056
1053
  readonly clue: "Where fun becomes a challenge.";
1057
1054
  readonly id: "games";
@@ -1061,7 +1058,7 @@ declare const gameScreenIdentifierList: readonly [{
1061
1058
  readonly id: "home";
1062
1059
  readonly match: "/";
1063
1060
  }, {
1064
- readonly clue: "Where the app taps you on the shoulder.";
1061
+ readonly clue: "Where the app whispers what you shouldn’t miss.";
1065
1062
  readonly id: "notifications";
1066
1063
  readonly match: "/notifications";
1067
1064
  }, {
@@ -1069,15 +1066,15 @@ declare const gameScreenIdentifierList: readonly [{
1069
1066
  readonly id: "options";
1070
1067
  readonly match: "/options";
1071
1068
  }, {
1072
- readonly clue: "A single collaborator in the ecosystem.";
1069
+ readonly clue: "An organisation or creator supporting the community.";
1073
1070
  readonly id: "single-partner";
1074
1071
  readonly match: RegExp;
1075
1072
  }, {
1076
- readonly clue: "The network behind the scenes.";
1073
+ readonly clue: "Organisations and creators supporting the community.";
1077
1074
  readonly id: "partners";
1078
1075
  readonly match: "/partners";
1079
1076
  }, {
1080
- readonly clue: "Where you share something with everyone.";
1077
+ readonly clue: "A single published post in full view.";
1081
1078
  readonly id: "single-visitor-post";
1082
1079
  readonly match: RegExp;
1083
1080
  }, {
@@ -1085,15 +1082,15 @@ declare const gameScreenIdentifierList: readonly [{
1085
1082
  readonly id: "profile";
1086
1083
  readonly match: "/profile";
1087
1084
  }, {
1088
- readonly clue: "One provider offering something valuable.";
1085
+ readonly clue: "One stallholder offering something valuable.";
1089
1086
  readonly id: "single-vendor";
1090
1087
  readonly match: RegExp;
1091
1088
  }, {
1092
- readonly clue: "A marketplace of providers.";
1089
+ readonly clue: "Where every stallholder waits under the right category.";
1093
1090
  readonly id: "vendors";
1094
1091
  readonly match: "/vendors";
1095
1092
  }, {
1096
- readonly clue: "People who stopped by to see you.";
1093
+ readonly clue: "Where you browse articles and posts from around the platform.";
1097
1094
  readonly id: "visitors";
1098
1095
  readonly match: "/visitors";
1099
1096
  }];
package/dist/index.d.ts CHANGED
@@ -130,6 +130,7 @@ declare enum EnumNotificationResourceType {
130
130
  EXPIRATION_REMINDER_PARTNER = "expiration_reminder_partner",
131
131
  EXPIRATION_REMINDER_VENDOR = "expiration_reminder_vendor",
132
132
  NEW_CHAT_MESSAGE = "new_chat_message",
133
+ NEW_POST_CREATED = "new_post_created",
133
134
  REGISTERED_USER_BY_SCHOOL_CODE = "registered_user_by_school_code",
134
135
  SYSTEM_ALERT = "system_alert",
135
136
  VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
@@ -1045,13 +1046,9 @@ declare const gameScreenIdentifierList: readonly [{
1045
1046
  readonly id: "events";
1046
1047
  readonly match: "/events";
1047
1048
  }, {
1048
- readonly clue: "What’s happening in a wider area—not just nearby.";
1049
+ readonly clue: "What’s happening in a wider area not just nearby.";
1049
1050
  readonly id: "events-region";
1050
1051
  readonly match: RegExp;
1051
- }, {
1052
- readonly clue: "Where you go to find something specific.";
1053
- readonly id: "events-search";
1054
- readonly match: "/events/search";
1055
1052
  }, {
1056
1053
  readonly clue: "Where fun becomes a challenge.";
1057
1054
  readonly id: "games";
@@ -1061,7 +1058,7 @@ declare const gameScreenIdentifierList: readonly [{
1061
1058
  readonly id: "home";
1062
1059
  readonly match: "/";
1063
1060
  }, {
1064
- readonly clue: "Where the app taps you on the shoulder.";
1061
+ readonly clue: "Where the app whispers what you shouldn’t miss.";
1065
1062
  readonly id: "notifications";
1066
1063
  readonly match: "/notifications";
1067
1064
  }, {
@@ -1069,15 +1066,15 @@ declare const gameScreenIdentifierList: readonly [{
1069
1066
  readonly id: "options";
1070
1067
  readonly match: "/options";
1071
1068
  }, {
1072
- readonly clue: "A single collaborator in the ecosystem.";
1069
+ readonly clue: "An organisation or creator supporting the community.";
1073
1070
  readonly id: "single-partner";
1074
1071
  readonly match: RegExp;
1075
1072
  }, {
1076
- readonly clue: "The network behind the scenes.";
1073
+ readonly clue: "Organisations and creators supporting the community.";
1077
1074
  readonly id: "partners";
1078
1075
  readonly match: "/partners";
1079
1076
  }, {
1080
- readonly clue: "Where you share something with everyone.";
1077
+ readonly clue: "A single published post in full view.";
1081
1078
  readonly id: "single-visitor-post";
1082
1079
  readonly match: RegExp;
1083
1080
  }, {
@@ -1085,15 +1082,15 @@ declare const gameScreenIdentifierList: readonly [{
1085
1082
  readonly id: "profile";
1086
1083
  readonly match: "/profile";
1087
1084
  }, {
1088
- readonly clue: "One provider offering something valuable.";
1085
+ readonly clue: "One stallholder offering something valuable.";
1089
1086
  readonly id: "single-vendor";
1090
1087
  readonly match: RegExp;
1091
1088
  }, {
1092
- readonly clue: "A marketplace of providers.";
1089
+ readonly clue: "Where every stallholder waits under the right category.";
1093
1090
  readonly id: "vendors";
1094
1091
  readonly match: "/vendors";
1095
1092
  }, {
1096
- readonly clue: "People who stopped by to see you.";
1093
+ readonly clue: "Where you browse articles and posts from around the platform.";
1097
1094
  readonly id: "visitors";
1098
1095
  readonly match: "/visitors";
1099
1096
  }];
package/dist/index.mjs CHANGED
@@ -139,6 +139,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
139
139
  EnumNotificationResourceType2["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
140
140
  EnumNotificationResourceType2["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
141
141
  EnumNotificationResourceType2["NEW_CHAT_MESSAGE"] = "new_chat_message";
142
+ EnumNotificationResourceType2["NEW_POST_CREATED"] = "new_post_created";
142
143
  EnumNotificationResourceType2["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
143
144
  EnumNotificationResourceType2["SYSTEM_ALERT"] = "system_alert";
144
145
  EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
@@ -435,6 +436,8 @@ var priceUnits = [
435
436
  ];
436
437
 
437
438
  // src/types/game.ts
439
+ var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
440
+ var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
438
441
  var gameScreenIdentifierList = [
439
442
  {
440
443
  clue: "Where your actions turn into a timeline.",
@@ -454,7 +457,7 @@ var gameScreenIdentifierList = [
454
457
  {
455
458
  clue: "A single moment worth showing up for.",
456
459
  id: "single-event",
457
- match: /^\/events\/[a-f0-9]{24}$/
460
+ match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
458
461
  },
459
462
  {
460
463
  clue: "What\u2019s happening around you, right now.",
@@ -467,15 +470,10 @@ var gameScreenIdentifierList = [
467
470
  match: "/events"
468
471
  },
469
472
  {
470
- clue: "What\u2019s happening in a wider area\u2014not just nearby.",
473
+ clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
471
474
  id: "events-region",
472
475
  match: /^\/events\/region\/[^/]+$/
473
476
  },
474
- {
475
- clue: "Where you go to find something specific.",
476
- id: "events-search",
477
- match: "/events/search"
478
- },
479
477
  {
480
478
  clue: "Where fun becomes a challenge.",
481
479
  id: "games",
@@ -487,7 +485,7 @@ var gameScreenIdentifierList = [
487
485
  match: "/"
488
486
  },
489
487
  {
490
- clue: "Where the app taps you on the shoulder.",
488
+ clue: "Where the app whispers what you shouldn\u2019t miss.",
491
489
  id: "notifications",
492
490
  match: "/notifications"
493
491
  },
@@ -497,19 +495,19 @@ var gameScreenIdentifierList = [
497
495
  match: "/options"
498
496
  },
499
497
  {
500
- clue: "A single collaborator in the ecosystem.",
498
+ clue: "An organisation or creator supporting the community.",
501
499
  id: "single-partner",
502
- match: /^\/partners\/[a-f0-9]{24}$/
500
+ match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
503
501
  },
504
502
  {
505
- clue: "The network behind the scenes.",
503
+ clue: "Organisations and creators supporting the community.",
506
504
  id: "partners",
507
505
  match: "/partners"
508
506
  },
509
507
  {
510
- clue: "Where you share something with everyone.",
508
+ clue: "A single published post in full view.",
511
509
  id: "single-visitor-post",
512
- match: /^\/visitors\/posts\/[a-f0-9]{24}$/
510
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
513
511
  },
514
512
  {
515
513
  clue: "Your identity, on display.",
@@ -517,17 +515,17 @@ var gameScreenIdentifierList = [
517
515
  match: "/profile"
518
516
  },
519
517
  {
520
- clue: "One provider offering something valuable.",
518
+ clue: "One stallholder offering something valuable.",
521
519
  id: "single-vendor",
522
- match: /^\/vendors\/[a-f0-9]{24}$/
520
+ match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
523
521
  },
524
522
  {
525
- clue: "A marketplace of providers.",
523
+ clue: "Where every stallholder waits under the right category.",
526
524
  id: "vendors",
527
525
  match: "/vendors"
528
526
  },
529
527
  {
530
- clue: "People who stopped by to see you.",
528
+ clue: "Where you browse articles and posts from around the platform.",
531
529
  id: "visitors",
532
530
  match: "/visitors"
533
531
  }