@timardex/cluemart-shared 1.5.498 → 1.5.499
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-O5IIN45V.mjs → chunk-6WV7CECU.mjs} +2 -2
- package/dist/{chunk-AUTKJ6QP.mjs → chunk-EJSVR77W.mjs} +2 -2
- package/dist/{chunk-O4ILKWFI.mjs → chunk-RO2IWCW2.mjs} +30 -20
- package/dist/chunk-RO2IWCW2.mjs.map +1 -0
- package/dist/formFields/index.cjs +92 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-C6zLvmHU.d.mts → game-BR9xpQkt.d.mts} +19 -19
- package/dist/{game-B-YC4Am7.d.ts → game-Dn5SH8_0.d.ts} +19 -19
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +92 -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 +29 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/index.mjs +29 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DFTmI0uz.d.mts → post-BBYcN5xv.d.mts} +1 -1
- package/dist/{post-CNm_rxZm.d.ts → post-CWZFxlP7.d.ts} +1 -1
- package/dist/types/index.cjs +29 -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 +29 -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-O5IIN45V.mjs.map → chunk-6WV7CECU.mjs.map} +0 -0
- /package/dist/{chunk-AUTKJ6QP.mjs.map → chunk-EJSVR77W.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-BBYcN5xv.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-BR9xpQkt.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-CWZFxlP7.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-Dn5SH8_0.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-6WV7CECU.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-EJSVR77W.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-RO2IWCW2.mjs";
|
|
31
31
|
|
|
32
32
|
// src/hooks/useLocationSearch.ts
|
|
33
33
|
var handleApiError = (error, message) => {
|
package/dist/index.cjs
CHANGED
|
@@ -733,82 +733,92 @@ 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
|
+
};
|
|
736
746
|
var gameScreenIdentifierList = [
|
|
737
747
|
{
|
|
738
748
|
clue: "Where your actions turn into a timeline.",
|
|
739
|
-
id: "activities"
|
|
749
|
+
id: "/profile/activities"
|
|
740
750
|
},
|
|
741
751
|
{
|
|
742
752
|
clue: "Where conversations happen without speaking.",
|
|
743
|
-
id: "chat"
|
|
753
|
+
id: "/profile/chat"
|
|
744
754
|
},
|
|
745
755
|
{
|
|
746
756
|
clue: "The place to redefine who you are.",
|
|
747
|
-
id: "edit-profile"
|
|
757
|
+
id: "/profile/edit-profile"
|
|
748
758
|
},
|
|
749
759
|
{
|
|
750
760
|
clue: "A single moment worth showing up for.",
|
|
751
|
-
id: "
|
|
761
|
+
id: createRouteMatcher("events", "mongoId")
|
|
752
762
|
},
|
|
753
763
|
{
|
|
754
764
|
clue: "What\u2019s happening around you, right now.",
|
|
755
|
-
id: "events-near-me"
|
|
765
|
+
id: "/events/events-near-me"
|
|
756
766
|
},
|
|
757
767
|
{
|
|
758
768
|
clue: "A collection of things worth attending.",
|
|
759
|
-
id: "events"
|
|
769
|
+
id: "/events"
|
|
760
770
|
},
|
|
761
771
|
{
|
|
762
772
|
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
763
|
-
id: "events/region"
|
|
773
|
+
id: createRouteMatcher("events/region", "slug")
|
|
764
774
|
},
|
|
765
775
|
{
|
|
766
776
|
clue: "Where you go to find something specific.",
|
|
767
|
-
id: "events/search"
|
|
777
|
+
id: "/events/search"
|
|
768
778
|
},
|
|
769
779
|
{
|
|
770
780
|
clue: "Where fun becomes a challenge.",
|
|
771
|
-
id: "games"
|
|
781
|
+
id: "/games"
|
|
772
782
|
},
|
|
773
783
|
{
|
|
774
784
|
clue: "Your starting point for everything.",
|
|
775
|
-
id: "
|
|
785
|
+
id: "/"
|
|
776
786
|
},
|
|
777
787
|
{
|
|
778
788
|
clue: "Where the app taps you on the shoulder.",
|
|
779
|
-
id: "notifications"
|
|
789
|
+
id: "/notifications"
|
|
780
790
|
},
|
|
781
791
|
{
|
|
782
792
|
clue: "Where you fine-tune your experience.",
|
|
783
|
-
id: "options"
|
|
793
|
+
id: "/options"
|
|
784
794
|
},
|
|
785
795
|
{
|
|
786
796
|
clue: "A single collaborator in the ecosystem.",
|
|
787
|
-
id: "
|
|
797
|
+
id: createRouteMatcher("partners", "mongoId")
|
|
788
798
|
},
|
|
789
799
|
{
|
|
790
800
|
clue: "The network behind the scenes.",
|
|
791
|
-
id: "partners"
|
|
801
|
+
id: "/partners"
|
|
792
802
|
},
|
|
793
803
|
{
|
|
794
804
|
clue: "Where you share something with everyone.",
|
|
795
|
-
id: "
|
|
805
|
+
id: createRouteMatcher("visitors/posts", "mongoId")
|
|
796
806
|
},
|
|
797
807
|
{
|
|
798
808
|
clue: "Your identity, on display.",
|
|
799
|
-
id: "profile"
|
|
809
|
+
id: "/profile"
|
|
800
810
|
},
|
|
801
811
|
{
|
|
802
812
|
clue: "One provider offering something valuable.",
|
|
803
|
-
id: "
|
|
813
|
+
id: createRouteMatcher("vendors", "mongoId")
|
|
804
814
|
},
|
|
805
815
|
{
|
|
806
816
|
clue: "A marketplace of providers.",
|
|
807
|
-
id: "vendors"
|
|
817
|
+
id: "/vendors"
|
|
808
818
|
},
|
|
809
819
|
{
|
|
810
820
|
clue: "People who stopped by to see you.",
|
|
811
|
-
id: "visitors"
|
|
821
|
+
id: "/visitors"
|
|
812
822
|
}
|
|
813
823
|
];
|
|
814
824
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|