@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.
- package/dist/{chunk-6WV7CECU.mjs → chunk-6JRXEOO3.mjs} +2 -2
- package/dist/{chunk-RO2IWCW2.mjs → chunk-7GWVTPXL.mjs} +39 -30
- package/dist/chunk-7GWVTPXL.mjs.map +1 -0
- package/dist/{chunk-EJSVR77W.mjs → chunk-PZZKQ3IV.mjs} +2 -2
- package/dist/formFields/index.cjs +0 -92
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-Dn5SH8_0.d.ts → game-BzOJ4f7U.d.ts} +38 -19
- package/dist/{game-BR9xpQkt.d.mts → game-CoVv7iyf.d.mts} +38 -19
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +0 -92
- 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 +38 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +38 -19
- package/dist/index.d.ts +38 -19
- package/dist/index.mjs +38 -29
- package/dist/index.mjs.map +1 -1
- package/dist/{post-BBYcN5xv.d.mts → post-CcJowEi5.d.mts} +1 -1
- package/dist/{post-CWZFxlP7.d.ts → post-D9_1FbFI.d.ts} +1 -1
- package/dist/types/index.cjs +38 -29
- 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 +38 -29
- 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-RO2IWCW2.mjs.map +0 -1
- /package/dist/{chunk-6WV7CECU.mjs.map → chunk-6JRXEOO3.mjs.map} +0 -0
- /package/dist/{chunk-EJSVR77W.mjs.map → chunk-PZZKQ3IV.mjs.map} +0 -0
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-MMBYi34A.mjs';
|
|
2
|
-
import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-
|
|
2
|
+
import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-CcJowEi5.mjs';
|
|
3
3
|
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DtPfNKc4.mjs';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
import '../enums/index.mjs';
|
|
6
|
-
import '../game-
|
|
6
|
+
import '../game-CoVv7iyf.mjs';
|
|
7
7
|
|
|
8
8
|
interface PlacePrediction {
|
|
9
9
|
place_id: string;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { L as LocationType, i as VendorFormData, j as CreateVendorFormData, k as VendorInfoFormData, l as CreateVendorInfoFormData, m as EventFormData, n as CreateEventFormData, o as EventInfoFormData, p as CreateEventInfoFormData, q as UnregisteredVendorFormData, B as BaseResourceTypeFormData } from '../global-B0WdAD-8.js';
|
|
2
|
-
import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-
|
|
2
|
+
import { e as UserFormData, C as CreateUserFormData, f as PartnerFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData, l as AppSettingsFormData, m as CreateAppSettingsFormData } from '../post-D9_1FbFI.js';
|
|
3
3
|
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-B5tprOIL.js';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
import '../enums/index.js';
|
|
6
|
-
import '../game-
|
|
6
|
+
import '../game-BzOJ4f7U.js';
|
|
7
7
|
|
|
8
8
|
interface PlacePrediction {
|
|
9
9
|
place_id: string;
|
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,92 +733,101 @@ 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.",
|
|
749
|
-
id: "
|
|
739
|
+
id: "activities",
|
|
740
|
+
match: "/profile/activities"
|
|
750
741
|
},
|
|
751
742
|
{
|
|
752
743
|
clue: "Where conversations happen without speaking.",
|
|
753
|
-
id: "
|
|
744
|
+
id: "chat",
|
|
745
|
+
match: "/profile/chat"
|
|
754
746
|
},
|
|
755
747
|
{
|
|
756
748
|
clue: "The place to redefine who you are.",
|
|
757
|
-
id: "
|
|
749
|
+
id: "edit-profile",
|
|
750
|
+
match: "/profile/edit-profile"
|
|
758
751
|
},
|
|
759
752
|
{
|
|
760
753
|
clue: "A single moment worth showing up for.",
|
|
761
|
-
id:
|
|
754
|
+
id: "single-event",
|
|
755
|
+
match: /^\/events\/[a-f0-9]{24}$/
|
|
762
756
|
},
|
|
763
757
|
{
|
|
764
758
|
clue: "What\u2019s happening around you, right now.",
|
|
765
|
-
id: "
|
|
759
|
+
id: "events-near-me",
|
|
760
|
+
match: "/events/events-near-me"
|
|
766
761
|
},
|
|
767
762
|
{
|
|
768
763
|
clue: "A collection of things worth attending.",
|
|
769
|
-
id: "
|
|
764
|
+
id: "events",
|
|
765
|
+
match: "/events"
|
|
770
766
|
},
|
|
771
767
|
{
|
|
772
768
|
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
773
|
-
id:
|
|
769
|
+
id: "events-region",
|
|
770
|
+
match: /^\/events\/region\/[^/]+$/
|
|
774
771
|
},
|
|
775
772
|
{
|
|
776
773
|
clue: "Where you go to find something specific.",
|
|
777
|
-
id: "
|
|
774
|
+
id: "events-search",
|
|
775
|
+
match: "/events/search"
|
|
778
776
|
},
|
|
779
777
|
{
|
|
780
778
|
clue: "Where fun becomes a challenge.",
|
|
781
|
-
id: "
|
|
779
|
+
id: "games",
|
|
780
|
+
match: "/games"
|
|
782
781
|
},
|
|
783
782
|
{
|
|
784
783
|
clue: "Your starting point for everything.",
|
|
785
|
-
id: "
|
|
784
|
+
id: "home",
|
|
785
|
+
match: "/"
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
clue: "Where the app taps you on the shoulder.",
|
|
789
|
-
id: "
|
|
789
|
+
id: "notifications",
|
|
790
|
+
match: "/notifications"
|
|
790
791
|
},
|
|
791
792
|
{
|
|
792
793
|
clue: "Where you fine-tune your experience.",
|
|
793
|
-
id: "
|
|
794
|
+
id: "options",
|
|
795
|
+
match: "/options"
|
|
794
796
|
},
|
|
795
797
|
{
|
|
796
798
|
clue: "A single collaborator in the ecosystem.",
|
|
797
|
-
id:
|
|
799
|
+
id: "single-partner",
|
|
800
|
+
match: /^\/partners\/[a-f0-9]{24}$/
|
|
798
801
|
},
|
|
799
802
|
{
|
|
800
803
|
clue: "The network behind the scenes.",
|
|
801
|
-
id: "
|
|
804
|
+
id: "partners",
|
|
805
|
+
match: "/partners"
|
|
802
806
|
},
|
|
803
807
|
{
|
|
804
808
|
clue: "Where you share something with everyone.",
|
|
805
|
-
id:
|
|
809
|
+
id: "single-visitor-post",
|
|
810
|
+
match: /^\/visitors\/posts\/[a-f0-9]{24}$/
|
|
806
811
|
},
|
|
807
812
|
{
|
|
808
813
|
clue: "Your identity, on display.",
|
|
809
|
-
id: "
|
|
814
|
+
id: "profile",
|
|
815
|
+
match: "/profile"
|
|
810
816
|
},
|
|
811
817
|
{
|
|
812
818
|
clue: "One provider offering something valuable.",
|
|
813
|
-
id:
|
|
819
|
+
id: "single-vendor",
|
|
820
|
+
match: /^\/vendors\/[a-f0-9]{24}$/
|
|
814
821
|
},
|
|
815
822
|
{
|
|
816
823
|
clue: "A marketplace of providers.",
|
|
817
|
-
id: "
|
|
824
|
+
id: "vendors",
|
|
825
|
+
match: "/vendors"
|
|
818
826
|
},
|
|
819
827
|
{
|
|
820
828
|
clue: "People who stopped by to see you.",
|
|
821
|
-
id: "
|
|
829
|
+
id: "visitors",
|
|
830
|
+
match: "/visitors"
|
|
822
831
|
}
|
|
823
832
|
];
|
|
824
833
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|