@timardex/cluemart-shared 1.5.499 → 1.5.501

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 (38) hide show
  1. package/dist/{chunk-6WV7CECU.mjs → chunk-6JRXEOO3.mjs} +2 -2
  2. package/dist/{chunk-RO2IWCW2.mjs → chunk-7GWVTPXL.mjs} +39 -30
  3. package/dist/chunk-7GWVTPXL.mjs.map +1 -0
  4. package/dist/{chunk-EJSVR77W.mjs → chunk-PZZKQ3IV.mjs} +2 -2
  5. package/dist/formFields/index.cjs +0 -92
  6. package/dist/formFields/index.cjs.map +1 -1
  7. package/dist/formFields/index.mjs +3 -3
  8. package/dist/{game-Dn5SH8_0.d.ts → game-BzOJ4f7U.d.ts} +38 -19
  9. package/dist/{game-BR9xpQkt.d.mts → game-CoVv7iyf.d.mts} +38 -19
  10. package/dist/graphql/index.d.mts +2 -2
  11. package/dist/graphql/index.d.ts +2 -2
  12. package/dist/hooks/index.cjs +0 -92
  13. package/dist/hooks/index.cjs.map +1 -1
  14. package/dist/hooks/index.d.mts +2 -2
  15. package/dist/hooks/index.d.ts +2 -2
  16. package/dist/hooks/index.mjs +3 -3
  17. package/dist/index.cjs +38 -29
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.mts +38 -19
  20. package/dist/index.d.ts +38 -19
  21. package/dist/index.mjs +38 -29
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/{post-BBYcN5xv.d.mts → post-CcJowEi5.d.mts} +1 -1
  24. package/dist/{post-CWZFxlP7.d.ts → post-D9_1FbFI.d.ts} +1 -1
  25. package/dist/types/index.cjs +38 -29
  26. package/dist/types/index.cjs.map +1 -1
  27. package/dist/types/index.d.mts +2 -2
  28. package/dist/types/index.d.ts +2 -2
  29. package/dist/types/index.mjs +1 -1
  30. package/dist/utils/index.cjs +38 -29
  31. package/dist/utils/index.cjs.map +1 -1
  32. package/dist/utils/index.d.mts +1 -1
  33. package/dist/utils/index.d.ts +1 -1
  34. package/dist/utils/index.mjs +2 -2
  35. package/package.json +1 -1
  36. package/dist/chunk-RO2IWCW2.mjs.map +0 -1
  37. /package/dist/{chunk-6WV7CECU.mjs.map → chunk-6JRXEOO3.mjs.map} +0 -0
  38. /package/dist/{chunk-EJSVR77W.mjs.map → chunk-PZZKQ3IV.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -961,61 +961,80 @@ interface PartnerType extends BaseResourceType {
961
961
 
962
962
  declare const gameScreenIdentifierList: readonly [{
963
963
  readonly clue: "Where your actions turn into a timeline.";
964
- readonly id: "/profile/activities";
964
+ readonly id: "activities";
965
+ readonly match: "/profile/activities";
965
966
  }, {
966
967
  readonly clue: "Where conversations happen without speaking.";
967
- readonly id: "/profile/chat";
968
+ readonly id: "chat";
969
+ readonly match: "/profile/chat";
968
970
  }, {
969
971
  readonly clue: "The place to redefine who you are.";
970
- readonly id: "/profile/edit-profile";
972
+ readonly id: "edit-profile";
973
+ readonly match: "/profile/edit-profile";
971
974
  }, {
972
975
  readonly clue: "A single moment worth showing up for.";
973
- readonly id: RegExp;
976
+ readonly id: "single-event";
977
+ readonly match: RegExp;
974
978
  }, {
975
979
  readonly clue: "What’s happening around you, right now.";
976
- readonly id: "/events/events-near-me";
980
+ readonly id: "events-near-me";
981
+ readonly match: "/events/events-near-me";
977
982
  }, {
978
983
  readonly clue: "A collection of things worth attending.";
979
- readonly id: "/events";
984
+ readonly id: "events";
985
+ readonly match: "/events";
980
986
  }, {
981
987
  readonly clue: "What’s happening in a wider area—not just nearby.";
982
- readonly id: RegExp;
988
+ readonly id: "events-region";
989
+ readonly match: RegExp;
983
990
  }, {
984
991
  readonly clue: "Where you go to find something specific.";
985
- readonly id: "/events/search";
992
+ readonly id: "events-search";
993
+ readonly match: "/events/search";
986
994
  }, {
987
995
  readonly clue: "Where fun becomes a challenge.";
988
- readonly id: "/games";
996
+ readonly id: "games";
997
+ readonly match: "/games";
989
998
  }, {
990
999
  readonly clue: "Your starting point for everything.";
991
- readonly id: "/";
1000
+ readonly id: "home";
1001
+ readonly match: "/";
992
1002
  }, {
993
1003
  readonly clue: "Where the app taps you on the shoulder.";
994
- readonly id: "/notifications";
1004
+ readonly id: "notifications";
1005
+ readonly match: "/notifications";
995
1006
  }, {
996
1007
  readonly clue: "Where you fine-tune your experience.";
997
- readonly id: "/options";
1008
+ readonly id: "options";
1009
+ readonly match: "/options";
998
1010
  }, {
999
1011
  readonly clue: "A single collaborator in the ecosystem.";
1000
- readonly id: RegExp;
1012
+ readonly id: "single-partner";
1013
+ readonly match: RegExp;
1001
1014
  }, {
1002
1015
  readonly clue: "The network behind the scenes.";
1003
- readonly id: "/partners";
1016
+ readonly id: "partners";
1017
+ readonly match: "/partners";
1004
1018
  }, {
1005
1019
  readonly clue: "Where you share something with everyone.";
1006
- readonly id: RegExp;
1020
+ readonly id: "single-visitor-post";
1021
+ readonly match: RegExp;
1007
1022
  }, {
1008
1023
  readonly clue: "Your identity, on display.";
1009
- readonly id: "/profile";
1024
+ readonly id: "profile";
1025
+ readonly match: "/profile";
1010
1026
  }, {
1011
1027
  readonly clue: "One provider offering something valuable.";
1012
- readonly id: RegExp;
1028
+ readonly id: "single-vendor";
1029
+ readonly match: RegExp;
1013
1030
  }, {
1014
1031
  readonly clue: "A marketplace of providers.";
1015
- readonly id: "/vendors";
1032
+ readonly id: "vendors";
1033
+ readonly match: "/vendors";
1016
1034
  }, {
1017
1035
  readonly clue: "People who stopped by to see you.";
1018
- readonly id: "/visitors";
1036
+ readonly id: "visitors";
1037
+ readonly match: "/visitors";
1019
1038
  }];
1020
1039
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
1021
1040
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
package/dist/index.d.ts CHANGED
@@ -961,61 +961,80 @@ interface PartnerType extends BaseResourceType {
961
961
 
962
962
  declare const gameScreenIdentifierList: readonly [{
963
963
  readonly clue: "Where your actions turn into a timeline.";
964
- readonly id: "/profile/activities";
964
+ readonly id: "activities";
965
+ readonly match: "/profile/activities";
965
966
  }, {
966
967
  readonly clue: "Where conversations happen without speaking.";
967
- readonly id: "/profile/chat";
968
+ readonly id: "chat";
969
+ readonly match: "/profile/chat";
968
970
  }, {
969
971
  readonly clue: "The place to redefine who you are.";
970
- readonly id: "/profile/edit-profile";
972
+ readonly id: "edit-profile";
973
+ readonly match: "/profile/edit-profile";
971
974
  }, {
972
975
  readonly clue: "A single moment worth showing up for.";
973
- readonly id: RegExp;
976
+ readonly id: "single-event";
977
+ readonly match: RegExp;
974
978
  }, {
975
979
  readonly clue: "What’s happening around you, right now.";
976
- readonly id: "/events/events-near-me";
980
+ readonly id: "events-near-me";
981
+ readonly match: "/events/events-near-me";
977
982
  }, {
978
983
  readonly clue: "A collection of things worth attending.";
979
- readonly id: "/events";
984
+ readonly id: "events";
985
+ readonly match: "/events";
980
986
  }, {
981
987
  readonly clue: "What’s happening in a wider area—not just nearby.";
982
- readonly id: RegExp;
988
+ readonly id: "events-region";
989
+ readonly match: RegExp;
983
990
  }, {
984
991
  readonly clue: "Where you go to find something specific.";
985
- readonly id: "/events/search";
992
+ readonly id: "events-search";
993
+ readonly match: "/events/search";
986
994
  }, {
987
995
  readonly clue: "Where fun becomes a challenge.";
988
- readonly id: "/games";
996
+ readonly id: "games";
997
+ readonly match: "/games";
989
998
  }, {
990
999
  readonly clue: "Your starting point for everything.";
991
- readonly id: "/";
1000
+ readonly id: "home";
1001
+ readonly match: "/";
992
1002
  }, {
993
1003
  readonly clue: "Where the app taps you on the shoulder.";
994
- readonly id: "/notifications";
1004
+ readonly id: "notifications";
1005
+ readonly match: "/notifications";
995
1006
  }, {
996
1007
  readonly clue: "Where you fine-tune your experience.";
997
- readonly id: "/options";
1008
+ readonly id: "options";
1009
+ readonly match: "/options";
998
1010
  }, {
999
1011
  readonly clue: "A single collaborator in the ecosystem.";
1000
- readonly id: RegExp;
1012
+ readonly id: "single-partner";
1013
+ readonly match: RegExp;
1001
1014
  }, {
1002
1015
  readonly clue: "The network behind the scenes.";
1003
- readonly id: "/partners";
1016
+ readonly id: "partners";
1017
+ readonly match: "/partners";
1004
1018
  }, {
1005
1019
  readonly clue: "Where you share something with everyone.";
1006
- readonly id: RegExp;
1020
+ readonly id: "single-visitor-post";
1021
+ readonly match: RegExp;
1007
1022
  }, {
1008
1023
  readonly clue: "Your identity, on display.";
1009
- readonly id: "/profile";
1024
+ readonly id: "profile";
1025
+ readonly match: "/profile";
1010
1026
  }, {
1011
1027
  readonly clue: "One provider offering something valuable.";
1012
- readonly id: RegExp;
1028
+ readonly id: "single-vendor";
1029
+ readonly match: RegExp;
1013
1030
  }, {
1014
1031
  readonly clue: "A marketplace of providers.";
1015
- readonly id: "/vendors";
1032
+ readonly id: "vendors";
1033
+ readonly match: "/vendors";
1016
1034
  }, {
1017
1035
  readonly clue: "People who stopped by to see you.";
1018
- readonly id: "/visitors";
1036
+ readonly id: "visitors";
1037
+ readonly match: "/visitors";
1019
1038
  }];
1020
1039
  type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
1021
1040
  type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
package/dist/index.mjs CHANGED
@@ -438,92 +438,101 @@ import dayjs from "dayjs";
438
438
  import utc from "dayjs/plugin/utc";
439
439
 
440
440
  // src/types/game.ts
441
- var createRouteMatcher = (base, type) => {
442
- switch (type) {
443
- case "mongoId":
444
- return new RegExp(`^\\/${base}\\/([a-f0-9]{24})$`);
445
- case "slug":
446
- return new RegExp(`^\\/${base}\\/[^/]+$`);
447
- default:
448
- return new RegExp(`^\\/${base}$`);
449
- }
450
- };
451
441
  var gameScreenIdentifierList = [
452
442
  {
453
443
  clue: "Where your actions turn into a timeline.",
454
- id: "/profile/activities"
444
+ id: "activities",
445
+ match: "/profile/activities"
455
446
  },
456
447
  {
457
448
  clue: "Where conversations happen without speaking.",
458
- id: "/profile/chat"
449
+ id: "chat",
450
+ match: "/profile/chat"
459
451
  },
460
452
  {
461
453
  clue: "The place to redefine who you are.",
462
- id: "/profile/edit-profile"
454
+ id: "edit-profile",
455
+ match: "/profile/edit-profile"
463
456
  },
464
457
  {
465
458
  clue: "A single moment worth showing up for.",
466
- id: createRouteMatcher("events", "mongoId")
459
+ id: "single-event",
460
+ match: /^\/events\/[a-f0-9]{24}$/
467
461
  },
468
462
  {
469
463
  clue: "What\u2019s happening around you, right now.",
470
- id: "/events/events-near-me"
464
+ id: "events-near-me",
465
+ match: "/events/events-near-me"
471
466
  },
472
467
  {
473
468
  clue: "A collection of things worth attending.",
474
- id: "/events"
469
+ id: "events",
470
+ match: "/events"
475
471
  },
476
472
  {
477
473
  clue: "What\u2019s happening in a wider area\u2014not just nearby.",
478
- id: createRouteMatcher("events/region", "slug")
474
+ id: "events-region",
475
+ match: /^\/events\/region\/[^/]+$/
479
476
  },
480
477
  {
481
478
  clue: "Where you go to find something specific.",
482
- id: "/events/search"
479
+ id: "events-search",
480
+ match: "/events/search"
483
481
  },
484
482
  {
485
483
  clue: "Where fun becomes a challenge.",
486
- id: "/games"
484
+ id: "games",
485
+ match: "/games"
487
486
  },
488
487
  {
489
488
  clue: "Your starting point for everything.",
490
- id: "/"
489
+ id: "home",
490
+ match: "/"
491
491
  },
492
492
  {
493
493
  clue: "Where the app taps you on the shoulder.",
494
- id: "/notifications"
494
+ id: "notifications",
495
+ match: "/notifications"
495
496
  },
496
497
  {
497
498
  clue: "Where you fine-tune your experience.",
498
- id: "/options"
499
+ id: "options",
500
+ match: "/options"
499
501
  },
500
502
  {
501
503
  clue: "A single collaborator in the ecosystem.",
502
- id: createRouteMatcher("partners", "mongoId")
504
+ id: "single-partner",
505
+ match: /^\/partners\/[a-f0-9]{24}$/
503
506
  },
504
507
  {
505
508
  clue: "The network behind the scenes.",
506
- id: "/partners"
509
+ id: "partners",
510
+ match: "/partners"
507
511
  },
508
512
  {
509
513
  clue: "Where you share something with everyone.",
510
- id: createRouteMatcher("visitors/posts", "mongoId")
514
+ id: "single-visitor-post",
515
+ match: /^\/visitors\/posts\/[a-f0-9]{24}$/
511
516
  },
512
517
  {
513
518
  clue: "Your identity, on display.",
514
- id: "/profile"
519
+ id: "profile",
520
+ match: "/profile"
515
521
  },
516
522
  {
517
523
  clue: "One provider offering something valuable.",
518
- id: createRouteMatcher("vendors", "mongoId")
524
+ id: "single-vendor",
525
+ match: /^\/vendors\/[a-f0-9]{24}$/
519
526
  },
520
527
  {
521
528
  clue: "A marketplace of providers.",
522
- id: "/vendors"
529
+ id: "vendors",
530
+ match: "/vendors"
523
531
  },
524
532
  {
525
533
  clue: "People who stopped by to see you.",
526
- id: "/visitors"
534
+ id: "visitors",
535
+ match: "/visitors"
527
536
  }
528
537
  ];
529
538
  var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {