@connectedxm/client 7.9.7 → 7.9.8
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/index.d.ts +189 -171
- package/dist/index.js +30 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2786,6 +2786,32 @@ var useGetEventSessionPassIntent = (eventId = "", sessionId = "", passId = "", a
|
|
|
2786
2786
|
);
|
|
2787
2787
|
};
|
|
2788
2788
|
|
|
2789
|
+
// src/queries/events/useGetEventsExplore.ts
|
|
2790
|
+
var EVENTS_EXPLORE_QUERY_KEY = () => ["EVENTS_EXPLORE"];
|
|
2791
|
+
var SET_EVENTS_EXPLORE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2792
|
+
client.setQueryData(
|
|
2793
|
+
[
|
|
2794
|
+
...EVENTS_EXPLORE_QUERY_KEY(...keyParams),
|
|
2795
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
2796
|
+
],
|
|
2797
|
+
response
|
|
2798
|
+
);
|
|
2799
|
+
};
|
|
2800
|
+
var GetEventsExplore = async ({
|
|
2801
|
+
clientApiParams
|
|
2802
|
+
}) => {
|
|
2803
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
2804
|
+
const { data } = await clientApi.get(`/events/explore`);
|
|
2805
|
+
return data;
|
|
2806
|
+
};
|
|
2807
|
+
var useGetEventsExplore = (options = {}) => {
|
|
2808
|
+
return useConnectedSingleQuery(
|
|
2809
|
+
EVENTS_EXPLORE_QUERY_KEY(),
|
|
2810
|
+
(params) => GetEventsExplore({ ...params }),
|
|
2811
|
+
options
|
|
2812
|
+
);
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2789
2815
|
// src/queries/groups/useGetGroups.ts
|
|
2790
2816
|
var GROUPS_QUERY_KEY = (access) => {
|
|
2791
2817
|
const keys = ["GROUPS"];
|
|
@@ -13110,6 +13136,7 @@ export {
|
|
|
13110
13136
|
ERR_REGISTER_THROUGH_SERIES,
|
|
13111
13137
|
ERR_REGISTRATION_UNAVAILABLE,
|
|
13112
13138
|
ERR_TIER_REQUIRED,
|
|
13139
|
+
EVENTS_EXPLORE_QUERY_KEY,
|
|
13113
13140
|
EVENTS_QUERY_KEY,
|
|
13114
13141
|
EVENT_ACTIVATIONS_QUERY_KEY,
|
|
13115
13142
|
EVENT_ACTIVATION_QUERY_KEY,
|
|
@@ -13221,6 +13248,7 @@ export {
|
|
|
13221
13248
|
GetEventSponsorship,
|
|
13222
13249
|
GetEventSponsorshipLevels,
|
|
13223
13250
|
GetEvents,
|
|
13251
|
+
GetEventsExplore,
|
|
13224
13252
|
GetGroup,
|
|
13225
13253
|
GetGroupActivities,
|
|
13226
13254
|
GetGroupAnnouncements,
|
|
@@ -13523,6 +13551,7 @@ export {
|
|
|
13523
13551
|
SET_CHANNEL_SUBSCRIBERS_QUERY_DATA,
|
|
13524
13552
|
SET_CONTENTS_QUERY_DATA,
|
|
13525
13553
|
SET_CONTENT_ACTIVITIES_QUERY_DATA,
|
|
13554
|
+
SET_EVENTS_EXPLORE_QUERY_DATA,
|
|
13526
13555
|
SET_EVENTS_QUERY_DATA,
|
|
13527
13556
|
SET_EVENT_ACTIVATIONS_QUERY_DATA,
|
|
13528
13557
|
SET_EVENT_ACTIVATION_QUERY_DATA,
|
|
@@ -13896,6 +13925,7 @@ export {
|
|
|
13896
13925
|
useGetEventSponsorship,
|
|
13897
13926
|
useGetEventSponsorshipLevels,
|
|
13898
13927
|
useGetEvents,
|
|
13928
|
+
useGetEventsExplore,
|
|
13899
13929
|
useGetGroup,
|
|
13900
13930
|
useGetGroupActivities,
|
|
13901
13931
|
useGetGroupAnnouncements,
|