@timardex/cluemart-shared 1.5.545 → 1.5.546

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.
@@ -295,7 +295,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetEventsByReg
295
295
  eventsByRegion: EventListItemType[];
296
296
  }>>;
297
297
  };
298
- declare const useSearchEvents: (search: string, region: string) => {
298
+ declare const useSearchEvents: (region: string, search?: string, tags?: string[]) => {
299
299
  error: _apollo_client.ApolloError | undefined;
300
300
  eventsSearch: EventListItemType[];
301
301
  loading: boolean;
@@ -295,7 +295,7 @@ declare const useGetEventsByRegion: (region: string, options?: UseGetEventsByReg
295
295
  eventsByRegion: EventListItemType[];
296
296
  }>>;
297
297
  };
298
- declare const useSearchEvents: (search: string, region: string) => {
298
+ declare const useSearchEvents: (region: string, search?: string, tags?: string[]) => {
299
299
  error: _apollo_client.ApolloError | undefined;
300
300
  eventsSearch: EventListItemType[];
301
301
  loading: boolean;
@@ -132,7 +132,7 @@ import {
132
132
  useUpdateVendor,
133
133
  useUpdateVendorInfo,
134
134
  useValidateVerificationToken
135
- } from "../chunk-G2YFRN6A.mjs";
135
+ } from "../chunk-EZO7FVLV.mjs";
136
136
  import "../chunk-ZR4TGWTS.mjs";
137
137
  export {
138
138
  useAddParticipantToChat,
@@ -2677,8 +2677,8 @@ var GET_EVENTS_BY_REGION = import_client3.gql`
2677
2677
  ${EVENT_LIST_ITEM}
2678
2678
  `;
2679
2679
  var SEARCH_EVENTS = import_client3.gql`
2680
- query searchEvents($search: String!, $region: String) {
2681
- eventsSearch(search: $search, region: $region) {
2680
+ query searchEvents($region: String, $search: String,$tags: [String]) {
2681
+ eventsSearch(region: $region, search: $search, tags: $tags) {
2682
2682
  ...EventListItemFields
2683
2683
  }
2684
2684
  }