@timardex/cluemart-shared 1.5.500 → 1.5.502
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/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-6JRXEOO3.mjs";
|
|
2
2
|
import "../chunk-RQDZX76B.mjs";
|
|
3
3
|
import "../chunk-DWO35OY4.mjs";
|
|
4
4
|
import "../chunk-I7WE3EBR.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
dateFormat,
|
|
15
15
|
normalizeUrl,
|
|
16
16
|
timeFormat
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-PZZKQ3IV.mjs";
|
|
18
18
|
import {
|
|
19
19
|
EnumEventDateStatus,
|
|
20
20
|
EnumEventType,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
EnumUserRole,
|
|
28
28
|
EnumVendorType
|
|
29
29
|
} from "../chunk-534WN2SR.mjs";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-7GWVTPXL.mjs";
|
|
31
31
|
|
|
32
32
|
// src/hooks/useLocationSearch.ts
|
|
33
33
|
var handleApiError = (error, message) => {
|
package/dist/index.cjs
CHANGED
|
@@ -733,16 +733,6 @@ var import_dayjs = __toESM(require("dayjs"));
|
|
|
733
733
|
var import_utc = __toESM(require("dayjs/plugin/utc"));
|
|
734
734
|
|
|
735
735
|
// src/types/game.ts
|
|
736
|
-
var createRouteMatcher = (base, type) => {
|
|
737
|
-
switch (type) {
|
|
738
|
-
case "mongoId":
|
|
739
|
-
return new RegExp(`^\\/${base}\\/([a-f0-9]{24})$`);
|
|
740
|
-
case "slug":
|
|
741
|
-
return new RegExp(`^\\/${base}\\/[^/]+$`);
|
|
742
|
-
default:
|
|
743
|
-
return new RegExp(`^\\/${base}$`);
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
736
|
var gameScreenIdentifierList = [
|
|
747
737
|
{
|
|
748
738
|
clue: "Where your actions turn into a timeline.",
|
|
@@ -762,7 +752,7 @@ var gameScreenIdentifierList = [
|
|
|
762
752
|
{
|
|
763
753
|
clue: "A single moment worth showing up for.",
|
|
764
754
|
id: "single-event",
|
|
765
|
-
match:
|
|
755
|
+
match: /^\/events\/[a-f0-9]{24}$/
|
|
766
756
|
},
|
|
767
757
|
{
|
|
768
758
|
clue: "What\u2019s happening around you, right now.",
|
|
@@ -777,7 +767,7 @@ var gameScreenIdentifierList = [
|
|
|
777
767
|
{
|
|
778
768
|
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
779
769
|
id: "events-region",
|
|
780
|
-
match:
|
|
770
|
+
match: /^\/events\/region\/[^/]+$/
|
|
781
771
|
},
|
|
782
772
|
{
|
|
783
773
|
clue: "Where you go to find something specific.",
|
|
@@ -807,7 +797,7 @@ var gameScreenIdentifierList = [
|
|
|
807
797
|
{
|
|
808
798
|
clue: "A single collaborator in the ecosystem.",
|
|
809
799
|
id: "single-partner",
|
|
810
|
-
match:
|
|
800
|
+
match: /^\/partners\/[a-f0-9]{24}$/
|
|
811
801
|
},
|
|
812
802
|
{
|
|
813
803
|
clue: "The network behind the scenes.",
|
|
@@ -817,7 +807,7 @@ var gameScreenIdentifierList = [
|
|
|
817
807
|
{
|
|
818
808
|
clue: "Where you share something with everyone.",
|
|
819
809
|
id: "single-visitor-post",
|
|
820
|
-
match:
|
|
810
|
+
match: /^\/visitors\/posts\/[a-f0-9]{24}$/
|
|
821
811
|
},
|
|
822
812
|
{
|
|
823
813
|
clue: "Your identity, on display.",
|
|
@@ -827,7 +817,7 @@ var gameScreenIdentifierList = [
|
|
|
827
817
|
{
|
|
828
818
|
clue: "One provider offering something valuable.",
|
|
829
819
|
id: "single-vendor",
|
|
830
|
-
match:
|
|
820
|
+
match: /^\/vendors\/[a-f0-9]{24}$/
|
|
831
821
|
},
|
|
832
822
|
{
|
|
833
823
|
clue: "A marketplace of providers.",
|