@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/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",