@timardex/cluemart-shared 1.5.498 → 1.5.500
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-AUTKJ6QP.mjs → chunk-IDDG4XZS.mjs} +2 -2
- package/dist/{chunk-O4ILKWFI.mjs → chunk-Q6CO7TFK.mjs} +49 -20
- package/dist/chunk-Q6CO7TFK.mjs.map +1 -0
- package/dist/{chunk-O5IIN45V.mjs → chunk-W4FADQMS.mjs} +2 -2
- package/dist/formFields/index.cjs +111 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-B-YC4Am7.d.ts → game-BzOJ4f7U.d.ts} +25 -6
- package/dist/{game-C6zLvmHU.d.mts → game-CoVv7iyf.d.mts} +25 -6
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +111 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +48 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +25 -6
- package/dist/index.d.ts +25 -6
- package/dist/index.mjs +48 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DFTmI0uz.d.mts → post-CcJowEi5.d.mts} +1 -1
- package/dist/{post-CNm_rxZm.d.ts → post-D9_1FbFI.d.ts} +1 -1
- package/dist/types/index.cjs +48 -19
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +48 -19
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-O4ILKWFI.mjs.map +0 -1
- /package/dist/{chunk-AUTKJ6QP.mjs.map → chunk-IDDG4XZS.mjs.map} +0 -0
- /package/dist/{chunk-O5IIN45V.mjs.map → chunk-W4FADQMS.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -962,60 +962,79 @@ interface PartnerType extends BaseResourceType {
|
|
|
962
962
|
declare const gameScreenIdentifierList: readonly [{
|
|
963
963
|
readonly clue: "Where your actions turn into a timeline.";
|
|
964
964
|
readonly id: "activities";
|
|
965
|
+
readonly match: "/profile/activities";
|
|
965
966
|
}, {
|
|
966
967
|
readonly clue: "Where conversations happen without speaking.";
|
|
967
968
|
readonly id: "chat";
|
|
969
|
+
readonly match: "/profile/chat";
|
|
968
970
|
}, {
|
|
969
971
|
readonly clue: "The place to redefine who you are.";
|
|
970
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: "event";
|
|
976
|
+
readonly id: "single-event";
|
|
977
|
+
readonly match: RegExp;
|
|
974
978
|
}, {
|
|
975
979
|
readonly clue: "What’s happening around you, right now.";
|
|
976
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
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: "events
|
|
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
|
|
992
|
+
readonly id: "events-search";
|
|
993
|
+
readonly match: "/events/search";
|
|
986
994
|
}, {
|
|
987
995
|
readonly clue: "Where fun becomes a challenge.";
|
|
988
996
|
readonly id: "games";
|
|
997
|
+
readonly match: "/games";
|
|
989
998
|
}, {
|
|
990
999
|
readonly clue: "Your starting point for everything.";
|
|
991
1000
|
readonly id: "home";
|
|
1001
|
+
readonly match: "/";
|
|
992
1002
|
}, {
|
|
993
1003
|
readonly clue: "Where the app taps you on the shoulder.";
|
|
994
1004
|
readonly id: "notifications";
|
|
1005
|
+
readonly match: "/notifications";
|
|
995
1006
|
}, {
|
|
996
1007
|
readonly clue: "Where you fine-tune your experience.";
|
|
997
1008
|
readonly id: "options";
|
|
1009
|
+
readonly match: "/options";
|
|
998
1010
|
}, {
|
|
999
1011
|
readonly clue: "A single collaborator in the ecosystem.";
|
|
1000
|
-
readonly id: "partner";
|
|
1012
|
+
readonly id: "single-partner";
|
|
1013
|
+
readonly match: RegExp;
|
|
1001
1014
|
}, {
|
|
1002
1015
|
readonly clue: "The network behind the scenes.";
|
|
1003
1016
|
readonly id: "partners";
|
|
1017
|
+
readonly match: "/partners";
|
|
1004
1018
|
}, {
|
|
1005
1019
|
readonly clue: "Where you share something with everyone.";
|
|
1006
|
-
readonly id: "post";
|
|
1020
|
+
readonly id: "single-visitor-post";
|
|
1021
|
+
readonly match: RegExp;
|
|
1007
1022
|
}, {
|
|
1008
1023
|
readonly clue: "Your identity, on display.";
|
|
1009
1024
|
readonly id: "profile";
|
|
1025
|
+
readonly match: "/profile";
|
|
1010
1026
|
}, {
|
|
1011
1027
|
readonly clue: "One provider offering something valuable.";
|
|
1012
|
-
readonly id: "vendor";
|
|
1028
|
+
readonly id: "single-vendor";
|
|
1029
|
+
readonly match: RegExp;
|
|
1013
1030
|
}, {
|
|
1014
1031
|
readonly clue: "A marketplace of providers.";
|
|
1015
1032
|
readonly id: "vendors";
|
|
1033
|
+
readonly match: "/vendors";
|
|
1016
1034
|
}, {
|
|
1017
1035
|
readonly clue: "People who stopped by to see you.";
|
|
1018
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
|
@@ -962,60 +962,79 @@ interface PartnerType extends BaseResourceType {
|
|
|
962
962
|
declare const gameScreenIdentifierList: readonly [{
|
|
963
963
|
readonly clue: "Where your actions turn into a timeline.";
|
|
964
964
|
readonly id: "activities";
|
|
965
|
+
readonly match: "/profile/activities";
|
|
965
966
|
}, {
|
|
966
967
|
readonly clue: "Where conversations happen without speaking.";
|
|
967
968
|
readonly id: "chat";
|
|
969
|
+
readonly match: "/profile/chat";
|
|
968
970
|
}, {
|
|
969
971
|
readonly clue: "The place to redefine who you are.";
|
|
970
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: "event";
|
|
976
|
+
readonly id: "single-event";
|
|
977
|
+
readonly match: RegExp;
|
|
974
978
|
}, {
|
|
975
979
|
readonly clue: "What’s happening around you, right now.";
|
|
976
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
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: "events
|
|
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
|
|
992
|
+
readonly id: "events-search";
|
|
993
|
+
readonly match: "/events/search";
|
|
986
994
|
}, {
|
|
987
995
|
readonly clue: "Where fun becomes a challenge.";
|
|
988
996
|
readonly id: "games";
|
|
997
|
+
readonly match: "/games";
|
|
989
998
|
}, {
|
|
990
999
|
readonly clue: "Your starting point for everything.";
|
|
991
1000
|
readonly id: "home";
|
|
1001
|
+
readonly match: "/";
|
|
992
1002
|
}, {
|
|
993
1003
|
readonly clue: "Where the app taps you on the shoulder.";
|
|
994
1004
|
readonly id: "notifications";
|
|
1005
|
+
readonly match: "/notifications";
|
|
995
1006
|
}, {
|
|
996
1007
|
readonly clue: "Where you fine-tune your experience.";
|
|
997
1008
|
readonly id: "options";
|
|
1009
|
+
readonly match: "/options";
|
|
998
1010
|
}, {
|
|
999
1011
|
readonly clue: "A single collaborator in the ecosystem.";
|
|
1000
|
-
readonly id: "partner";
|
|
1012
|
+
readonly id: "single-partner";
|
|
1013
|
+
readonly match: RegExp;
|
|
1001
1014
|
}, {
|
|
1002
1015
|
readonly clue: "The network behind the scenes.";
|
|
1003
1016
|
readonly id: "partners";
|
|
1017
|
+
readonly match: "/partners";
|
|
1004
1018
|
}, {
|
|
1005
1019
|
readonly clue: "Where you share something with everyone.";
|
|
1006
|
-
readonly id: "post";
|
|
1020
|
+
readonly id: "single-visitor-post";
|
|
1021
|
+
readonly match: RegExp;
|
|
1007
1022
|
}, {
|
|
1008
1023
|
readonly clue: "Your identity, on display.";
|
|
1009
1024
|
readonly id: "profile";
|
|
1025
|
+
readonly match: "/profile";
|
|
1010
1026
|
}, {
|
|
1011
1027
|
readonly clue: "One provider offering something valuable.";
|
|
1012
|
-
readonly id: "vendor";
|
|
1028
|
+
readonly id: "single-vendor";
|
|
1029
|
+
readonly match: RegExp;
|
|
1013
1030
|
}, {
|
|
1014
1031
|
readonly clue: "A marketplace of providers.";
|
|
1015
1032
|
readonly id: "vendors";
|
|
1033
|
+
readonly match: "/vendors";
|
|
1016
1034
|
}, {
|
|
1017
1035
|
readonly clue: "People who stopped by to see you.";
|
|
1018
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,82 +438,111 @@ 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
|
+
};
|
|
441
451
|
var gameScreenIdentifierList = [
|
|
442
452
|
{
|
|
443
453
|
clue: "Where your actions turn into a timeline.",
|
|
444
|
-
id: "activities"
|
|
454
|
+
id: "activities",
|
|
455
|
+
match: "/profile/activities"
|
|
445
456
|
},
|
|
446
457
|
{
|
|
447
458
|
clue: "Where conversations happen without speaking.",
|
|
448
|
-
id: "chat"
|
|
459
|
+
id: "chat",
|
|
460
|
+
match: "/profile/chat"
|
|
449
461
|
},
|
|
450
462
|
{
|
|
451
463
|
clue: "The place to redefine who you are.",
|
|
452
|
-
id: "edit-profile"
|
|
464
|
+
id: "edit-profile",
|
|
465
|
+
match: "/profile/edit-profile"
|
|
453
466
|
},
|
|
454
467
|
{
|
|
455
468
|
clue: "A single moment worth showing up for.",
|
|
456
|
-
id: "event"
|
|
469
|
+
id: "single-event",
|
|
470
|
+
match: createRouteMatcher("events", "mongoId")
|
|
457
471
|
},
|
|
458
472
|
{
|
|
459
473
|
clue: "What\u2019s happening around you, right now.",
|
|
460
|
-
id: "events-near-me"
|
|
474
|
+
id: "events-near-me",
|
|
475
|
+
match: "/events/events-near-me"
|
|
461
476
|
},
|
|
462
477
|
{
|
|
463
478
|
clue: "A collection of things worth attending.",
|
|
464
|
-
id: "events"
|
|
479
|
+
id: "events",
|
|
480
|
+
match: "/events"
|
|
465
481
|
},
|
|
466
482
|
{
|
|
467
483
|
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
468
|
-
id: "events
|
|
484
|
+
id: "events-region",
|
|
485
|
+
match: createRouteMatcher("events/region", "slug")
|
|
469
486
|
},
|
|
470
487
|
{
|
|
471
488
|
clue: "Where you go to find something specific.",
|
|
472
|
-
id: "events
|
|
489
|
+
id: "events-search",
|
|
490
|
+
match: "/events/search"
|
|
473
491
|
},
|
|
474
492
|
{
|
|
475
493
|
clue: "Where fun becomes a challenge.",
|
|
476
|
-
id: "games"
|
|
494
|
+
id: "games",
|
|
495
|
+
match: "/games"
|
|
477
496
|
},
|
|
478
497
|
{
|
|
479
498
|
clue: "Your starting point for everything.",
|
|
480
|
-
id: "home"
|
|
499
|
+
id: "home",
|
|
500
|
+
match: "/"
|
|
481
501
|
},
|
|
482
502
|
{
|
|
483
503
|
clue: "Where the app taps you on the shoulder.",
|
|
484
|
-
id: "notifications"
|
|
504
|
+
id: "notifications",
|
|
505
|
+
match: "/notifications"
|
|
485
506
|
},
|
|
486
507
|
{
|
|
487
508
|
clue: "Where you fine-tune your experience.",
|
|
488
|
-
id: "options"
|
|
509
|
+
id: "options",
|
|
510
|
+
match: "/options"
|
|
489
511
|
},
|
|
490
512
|
{
|
|
491
513
|
clue: "A single collaborator in the ecosystem.",
|
|
492
|
-
id: "partner"
|
|
514
|
+
id: "single-partner",
|
|
515
|
+
match: createRouteMatcher("partners", "mongoId")
|
|
493
516
|
},
|
|
494
517
|
{
|
|
495
518
|
clue: "The network behind the scenes.",
|
|
496
|
-
id: "partners"
|
|
519
|
+
id: "partners",
|
|
520
|
+
match: "/partners"
|
|
497
521
|
},
|
|
498
522
|
{
|
|
499
523
|
clue: "Where you share something with everyone.",
|
|
500
|
-
id: "post"
|
|
524
|
+
id: "single-visitor-post",
|
|
525
|
+
match: createRouteMatcher("visitors/posts", "mongoId")
|
|
501
526
|
},
|
|
502
527
|
{
|
|
503
528
|
clue: "Your identity, on display.",
|
|
504
|
-
id: "profile"
|
|
529
|
+
id: "profile",
|
|
530
|
+
match: "/profile"
|
|
505
531
|
},
|
|
506
532
|
{
|
|
507
533
|
clue: "One provider offering something valuable.",
|
|
508
|
-
id: "vendor"
|
|
534
|
+
id: "single-vendor",
|
|
535
|
+
match: createRouteMatcher("vendors", "mongoId")
|
|
509
536
|
},
|
|
510
537
|
{
|
|
511
538
|
clue: "A marketplace of providers.",
|
|
512
|
-
id: "vendors"
|
|
539
|
+
id: "vendors",
|
|
540
|
+
match: "/vendors"
|
|
513
541
|
},
|
|
514
542
|
{
|
|
515
543
|
clue: "People who stopped by to see you.",
|
|
516
|
-
id: "visitors"
|
|
544
|
+
id: "visitors",
|
|
545
|
+
match: "/visitors"
|
|
517
546
|
}
|
|
518
547
|
];
|
|
519
548
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|