@timardex/cluemart-shared 1.5.500 → 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.
- package/dist/{chunk-W4FADQMS.mjs → chunk-6JRXEOO3.mjs} +2 -2
- package/dist/{chunk-Q6CO7TFK.mjs → chunk-7GWVTPXL.mjs} +6 -16
- package/dist/chunk-7GWVTPXL.mjs.map +1 -0
- package/dist/{chunk-IDDG4XZS.mjs → chunk-PZZKQ3IV.mjs} +2 -2
- package/dist/formFields/index.cjs +0 -111
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/hooks/index.cjs +0 -111
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +5 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -15
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +5 -15
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +5 -15
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-Q6CO7TFK.mjs.map +0 -1
- /package/dist/{chunk-W4FADQMS.mjs.map → chunk-6JRXEOO3.mjs.map} +0 -0
- /package/dist/{chunk-IDDG4XZS.mjs.map → chunk-PZZKQ3IV.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -438,16 +438,6 @@ 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.",
|
|
@@ -467,7 +457,7 @@ var gameScreenIdentifierList = [
|
|
|
467
457
|
{
|
|
468
458
|
clue: "A single moment worth showing up for.",
|
|
469
459
|
id: "single-event",
|
|
470
|
-
match:
|
|
460
|
+
match: /^\/events\/[a-f0-9]{24}$/
|
|
471
461
|
},
|
|
472
462
|
{
|
|
473
463
|
clue: "What\u2019s happening around you, right now.",
|
|
@@ -482,7 +472,7 @@ var gameScreenIdentifierList = [
|
|
|
482
472
|
{
|
|
483
473
|
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
484
474
|
id: "events-region",
|
|
485
|
-
match:
|
|
475
|
+
match: /^\/events\/region\/[^/]+$/
|
|
486
476
|
},
|
|
487
477
|
{
|
|
488
478
|
clue: "Where you go to find something specific.",
|
|
@@ -512,7 +502,7 @@ var gameScreenIdentifierList = [
|
|
|
512
502
|
{
|
|
513
503
|
clue: "A single collaborator in the ecosystem.",
|
|
514
504
|
id: "single-partner",
|
|
515
|
-
match:
|
|
505
|
+
match: /^\/partners\/[a-f0-9]{24}$/
|
|
516
506
|
},
|
|
517
507
|
{
|
|
518
508
|
clue: "The network behind the scenes.",
|
|
@@ -522,7 +512,7 @@ var gameScreenIdentifierList = [
|
|
|
522
512
|
{
|
|
523
513
|
clue: "Where you share something with everyone.",
|
|
524
514
|
id: "single-visitor-post",
|
|
525
|
-
match:
|
|
515
|
+
match: /^\/visitors\/posts\/[a-f0-9]{24}$/
|
|
526
516
|
},
|
|
527
517
|
{
|
|
528
518
|
clue: "Your identity, on display.",
|
|
@@ -532,7 +522,7 @@ var gameScreenIdentifierList = [
|
|
|
532
522
|
{
|
|
533
523
|
clue: "One provider offering something valuable.",
|
|
534
524
|
id: "single-vendor",
|
|
535
|
-
match:
|
|
525
|
+
match: /^\/vendors\/[a-f0-9]{24}$/
|
|
536
526
|
},
|
|
537
527
|
{
|
|
538
528
|
clue: "A marketplace of providers.",
|