@timardex/cluemart-shared 1.7.67 → 1.7.68
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/auth/index.cjs +2 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-6ALUN6LP.mjs → chunk-LMWIDQZ6.mjs} +3 -1
- package/dist/chunk-LMWIDQZ6.mjs.map +1 -0
- package/dist/{chunk-NDJ52M2N.mjs → chunk-LZG5WM4M.mjs} +5 -4
- package/dist/chunk-LZG5WM4M.mjs.map +1 -0
- package/dist/graphql/index.cjs +5 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +2 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6ALUN6LP.mjs.map +0 -1
- package/dist/chunk-NDJ52M2N.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -2089,7 +2089,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
|
|
|
2089
2089
|
eventByPlaceId: EventListItemType | null;
|
|
2090
2090
|
}>>;
|
|
2091
2091
|
};
|
|
2092
|
-
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus) => {
|
|
2092
|
+
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus, tags?: string[]) => {
|
|
2093
2093
|
error: _apollo_client.ApolloError | undefined;
|
|
2094
2094
|
eventsByRegion: EventListItemType[];
|
|
2095
2095
|
fetchMore: <TFetchData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -2089,7 +2089,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
|
|
|
2089
2089
|
eventByPlaceId: EventListItemType | null;
|
|
2090
2090
|
}>>;
|
|
2091
2091
|
};
|
|
2092
|
-
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus) => {
|
|
2092
|
+
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions, dateStatus?: EnumEventDateStatus, tags?: string[]) => {
|
|
2093
2093
|
error: _apollo_client.ApolloError | undefined;
|
|
2094
2094
|
eventsByRegion: EventListItemType[];
|
|
2095
2095
|
fetchMore: <TFetchData = {
|
package/dist/index.mjs
CHANGED
|
@@ -3749,11 +3749,13 @@ var GET_EVENTS_BY_REGION = gql2`
|
|
|
3749
3749
|
$region: String!
|
|
3750
3750
|
$options: ResourcesByRegionOptions
|
|
3751
3751
|
$dateStatus: EventDateStatusEnumType
|
|
3752
|
+
$tags: [String]
|
|
3752
3753
|
) {
|
|
3753
3754
|
eventsByRegion(
|
|
3754
3755
|
region: $region
|
|
3755
3756
|
options: $options
|
|
3756
3757
|
dateStatus: $dateStatus
|
|
3758
|
+
tags: $tags
|
|
3757
3759
|
) {
|
|
3758
3760
|
...EventListItemFields
|
|
3759
3761
|
}
|
|
@@ -5453,11 +5455,12 @@ var useGetEventByPlaceId = (googlePlaceId) => {
|
|
|
5453
5455
|
const eventByPlaceId = data?.eventByPlaceId || null;
|
|
5454
5456
|
return { error, eventByPlaceId, loading, refetch };
|
|
5455
5457
|
};
|
|
5456
|
-
var useGetEventsByRegion = (region, options, dateStatus) => {
|
|
5458
|
+
var useGetEventsByRegion = (region, options, dateStatus, tags) => {
|
|
5457
5459
|
const variables = {
|
|
5458
5460
|
dateStatus,
|
|
5459
5461
|
options,
|
|
5460
|
-
region
|
|
5462
|
+
region,
|
|
5463
|
+
tags: (tags ?? []).filter(Boolean)
|
|
5461
5464
|
};
|
|
5462
5465
|
const { loading, error, data, refetch, fetchMore } = useQuery2(GET_EVENTS_BY_REGION, {
|
|
5463
5466
|
fetchPolicy: "network-only",
|