@timardex/cluemart-shared 1.1.78 → 1.1.79

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.
Files changed (55) hide show
  1. package/dist/{ad-ByaFgKCJ.d.ts → ad-Ce7cLdiv.d.ts} +4 -4
  2. package/dist/{ad-BoyPTKzO.d.mts → ad-DwRLMLYf.d.mts} +4 -4
  3. package/dist/{auth-CatvNkT_.d.ts → auth-D0DRigoH.d.ts} +1 -1
  4. package/dist/{auth-CsMldwsP.d.mts → auth-waRIlEXb.d.mts} +1 -1
  5. package/dist/{chunk-ERBPRUAF.mjs → chunk-MVZHKSTO.mjs} +12 -12
  6. package/dist/chunk-MVZHKSTO.mjs.map +1 -0
  7. package/dist/{chunk-JFIG6CV2.mjs → chunk-YOGSPGDV.mjs} +2 -2
  8. package/dist/chunk-YOGSPGDV.mjs.map +1 -0
  9. package/dist/{chunk-JZMSWUO5.mjs → chunk-Z4MFANBF.mjs} +2 -2
  10. package/dist/enums/index.cjs +11 -11
  11. package/dist/enums/index.cjs.map +1 -1
  12. package/dist/enums/index.d.mts +11 -11
  13. package/dist/enums/index.d.ts +11 -11
  14. package/dist/enums/index.mjs +1 -1
  15. package/dist/formFields/index.cjs +26 -26
  16. package/dist/formFields/index.cjs.map +1 -1
  17. package/dist/formFields/index.d.mts +7 -7
  18. package/dist/formFields/index.d.ts +7 -7
  19. package/dist/formFields/index.mjs +23 -23
  20. package/dist/formFields/index.mjs.map +1 -1
  21. package/dist/{global-BsANkXhj.d.ts → global-SUox6kvO.d.ts} +14 -14
  22. package/dist/{global-Dt-vAIF9.d.mts → global-yFmN7ypZ.d.mts} +14 -14
  23. package/dist/graphql/index.cjs +249 -248
  24. package/dist/graphql/index.cjs.map +1 -1
  25. package/dist/graphql/index.d.mts +33 -33
  26. package/dist/graphql/index.d.ts +33 -33
  27. package/dist/graphql/index.mjs +236 -235
  28. package/dist/graphql/index.mjs.map +1 -1
  29. package/dist/hooks/index.cjs +36 -36
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.d.mts +15 -15
  32. package/dist/hooks/index.d.ts +15 -15
  33. package/dist/hooks/index.mjs +33 -33
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +321 -320
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +74 -74
  38. package/dist/index.d.ts +74 -74
  39. package/dist/index.mjs +298 -297
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/{resourceViews-C2CYUMC0.d.ts → resourceViews-CcElRvU6.d.ts} +2 -2
  42. package/dist/{resourceViews-ja9Qif1X.d.mts → resourceViews-Xr7sq5z4.d.mts} +2 -2
  43. package/dist/types/index.cjs +1 -1
  44. package/dist/types/index.cjs.map +1 -1
  45. package/dist/types/index.d.mts +4 -4
  46. package/dist/types/index.d.ts +4 -4
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/utils/index.cjs.map +1 -1
  49. package/dist/utils/index.d.mts +1 -1
  50. package/dist/utils/index.d.ts +1 -1
  51. package/dist/utils/index.mjs +2 -2
  52. package/package.json +1 -1
  53. package/dist/chunk-ERBPRUAF.mjs.map +0 -1
  54. package/dist/chunk-JFIG6CV2.mjs.map +0 -1
  55. /package/dist/{chunk-JZMSWUO5.mjs.map → chunk-Z4MFANBF.mjs.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
- import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-ja9Qif1X.mjs';
3
- import { M as MarketType, b as MarketInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType } from '../global-Dt-vAIF9.mjs';
2
+ import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-Xr7sq5z4.mjs';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType } from '../global-yFmN7ypZ.mjs';
4
4
  import { EnumResourceType } from '../enums/index.mjs';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-BoyPTKzO.mjs';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-DwRLMLYf.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -92,70 +92,70 @@ declare const useContactUs: () => {
92
92
  loading: boolean;
93
93
  };
94
94
 
95
- declare const useCreateMarket: () => {
96
- createMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
95
+ declare const useCreateEvent: () => {
96
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
97
97
  error: _apollo_client.ApolloError | undefined;
98
98
  loading: boolean;
99
99
  };
100
- declare const useUpdateMarket: () => {
100
+ declare const useUpdateEvent: () => {
101
101
  error: _apollo_client.ApolloError | undefined;
102
102
  loading: boolean;
103
- updateMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
103
+ updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
104
104
  };
105
- declare const useDeleteMarket: () => {
106
- deleteMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
105
+ declare const useDeleteEvent: () => {
106
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
107
107
  error: _apollo_client.ApolloError | undefined;
108
108
  loading: boolean;
109
109
  };
110
- declare const useCreateMarketInfo: () => {
111
- createMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
110
+ declare const useCreateEventInfo: () => {
111
+ createEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
112
112
  error: _apollo_client.ApolloError | undefined;
113
113
  loading: boolean;
114
114
  };
115
- declare const useUpdateMarketInfo: () => {
115
+ declare const useUpdateEventInfo: () => {
116
116
  error: _apollo_client.ApolloError | undefined;
117
117
  loading: boolean;
118
- updateMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
118
+ updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
119
119
  };
120
120
 
121
- declare const useGetMarkets: () => {
121
+ declare const useGetEvents: () => {
122
122
  error: _apollo_client.ApolloError | undefined;
123
+ events: EventType[];
123
124
  loading: boolean;
124
- markets: MarketType[];
125
125
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
126
126
  };
127
- declare const useGetMarket: (_id: string) => {
127
+ declare const useGetEvent: (_id: string) => {
128
128
  error: _apollo_client.ApolloError | undefined;
129
+ event: EventType;
129
130
  loading: boolean;
130
- market: MarketType;
131
131
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
132
132
  };
133
- declare const useGetMarketsByRegion: (region: string) => {
133
+ declare const useGetEventsByRegion: (region: string) => {
134
134
  error: _apollo_client.ApolloError | undefined;
135
+ eventsByRegion: EventType[];
135
136
  loading: boolean;
136
- marketsByRegion: MarketType[];
137
137
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
138
138
  };
139
- declare const useSearchMarkets: (search: string, region: string) => {
139
+ declare const useSearchEvents: (search: string, region: string) => {
140
140
  error: _apollo_client.ApolloError | undefined;
141
+ eventsSearch: EventType[];
141
142
  loading: boolean;
142
- marketsSearch: MarketType[];
143
143
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
144
144
  };
145
- declare const useGetMarketsNearMe: (location: {
145
+ declare const useGetEventsNearMe: (location: {
146
146
  latitude: number;
147
147
  longitude: number;
148
148
  radius?: number;
149
149
  }) => {
150
150
  error: _apollo_client.ApolloError | undefined;
151
+ eventsNearMe: EventType[];
151
152
  loading: boolean;
152
- marketsNearMe: MarketType[];
153
153
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
154
154
  };
155
- declare const useGetMarketInfo: (marketId: string) => {
155
+ declare const useGetEventInfo: (eventId: string) => {
156
156
  error: _apollo_client.ApolloError | undefined;
157
+ eventInfo: EventInfoType;
157
158
  loading: boolean;
158
- marketInfo: MarketInfoType;
159
159
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
160
160
  };
161
161
 
@@ -247,16 +247,16 @@ declare const useGetRelation: (_id: string) => {
247
247
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
248
248
  relation: RelationType;
249
249
  };
250
- declare const useGetRelationByMarketAndStallholder: (marketId: string, stallholderId: string) => {
250
+ declare const useGetRelationByEventAndStallholder: (eventId: string, stallholderId: string) => {
251
251
  error: _apollo_client.ApolloError | undefined;
252
252
  loading: boolean;
253
253
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
254
- relationByMarketAndStallholder: RelationType;
254
+ relationByEventAndStallholder: RelationType;
255
255
  };
256
- declare const useGetMarketRelations: (marketId: string) => {
256
+ declare const useGetEventRelations: (eventId: string) => {
257
257
  error: _apollo_client.ApolloError | undefined;
258
+ eventRelations: RelationType[];
258
259
  loading: boolean;
259
- marketRelations: RelationType[];
260
260
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
261
261
  };
262
262
  declare const useGetStallholderRelations: (stallholderId: string) => {
@@ -403,11 +403,11 @@ declare const useGetUser: (_id: string) => {
403
403
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
404
404
  user: UserType;
405
405
  };
406
- declare const useGetUserMarkets: () => {
406
+ declare const useGetUserEvents: () => {
407
407
  error: _apollo_client.ApolloError | undefined;
408
408
  loading: boolean;
409
409
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
410
- userMarkets: MarketType[];
410
+ userEvents: EventType[];
411
411
  };
412
412
  declare const useGetUserStallholder: () => {
413
413
  error: _apollo_client.ApolloError | undefined;
@@ -420,7 +420,7 @@ declare const useGetUserFavourites: () => {
420
420
  loading: boolean;
421
421
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
422
422
  userFavourites: {
423
- markets: MarketType[];
423
+ events: EventType[];
424
424
  stallholders: StallholderType[];
425
425
  };
426
426
  };
@@ -479,4 +479,4 @@ declare const useGetResourceViews: (resourceId: string, resourceType: EnumResour
479
479
  resourceViews: ResourceViewsType[];
480
480
  };
481
481
 
482
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetResourceViews, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchMarkets, useSearchStallholders, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
482
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndStallholder, useGetResourceConnections, useGetResourceViews, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchStallholders, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
- import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-C2CYUMC0.js';
3
- import { M as MarketType, b as MarketInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType } from '../global-BsANkXhj.js';
2
+ import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceViewsType } from '../resourceViews-CcElRvU6.js';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType } from '../global-SUox6kvO.js';
4
4
  import { EnumResourceType } from '../enums/index.js';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-ByaFgKCJ.js';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-Ce7cLdiv.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -92,70 +92,70 @@ declare const useContactUs: () => {
92
92
  loading: boolean;
93
93
  };
94
94
 
95
- declare const useCreateMarket: () => {
96
- createMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
95
+ declare const useCreateEvent: () => {
96
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
97
97
  error: _apollo_client.ApolloError | undefined;
98
98
  loading: boolean;
99
99
  };
100
- declare const useUpdateMarket: () => {
100
+ declare const useUpdateEvent: () => {
101
101
  error: _apollo_client.ApolloError | undefined;
102
102
  loading: boolean;
103
- updateMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
103
+ updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
104
104
  };
105
- declare const useDeleteMarket: () => {
106
- deleteMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
105
+ declare const useDeleteEvent: () => {
106
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
107
107
  error: _apollo_client.ApolloError | undefined;
108
108
  loading: boolean;
109
109
  };
110
- declare const useCreateMarketInfo: () => {
111
- createMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
110
+ declare const useCreateEventInfo: () => {
111
+ createEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
112
112
  error: _apollo_client.ApolloError | undefined;
113
113
  loading: boolean;
114
114
  };
115
- declare const useUpdateMarketInfo: () => {
115
+ declare const useUpdateEventInfo: () => {
116
116
  error: _apollo_client.ApolloError | undefined;
117
117
  loading: boolean;
118
- updateMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
118
+ updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
119
119
  };
120
120
 
121
- declare const useGetMarkets: () => {
121
+ declare const useGetEvents: () => {
122
122
  error: _apollo_client.ApolloError | undefined;
123
+ events: EventType[];
123
124
  loading: boolean;
124
- markets: MarketType[];
125
125
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
126
126
  };
127
- declare const useGetMarket: (_id: string) => {
127
+ declare const useGetEvent: (_id: string) => {
128
128
  error: _apollo_client.ApolloError | undefined;
129
+ event: EventType;
129
130
  loading: boolean;
130
- market: MarketType;
131
131
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
132
132
  };
133
- declare const useGetMarketsByRegion: (region: string) => {
133
+ declare const useGetEventsByRegion: (region: string) => {
134
134
  error: _apollo_client.ApolloError | undefined;
135
+ eventsByRegion: EventType[];
135
136
  loading: boolean;
136
- marketsByRegion: MarketType[];
137
137
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
138
138
  };
139
- declare const useSearchMarkets: (search: string, region: string) => {
139
+ declare const useSearchEvents: (search: string, region: string) => {
140
140
  error: _apollo_client.ApolloError | undefined;
141
+ eventsSearch: EventType[];
141
142
  loading: boolean;
142
- marketsSearch: MarketType[];
143
143
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
144
144
  };
145
- declare const useGetMarketsNearMe: (location: {
145
+ declare const useGetEventsNearMe: (location: {
146
146
  latitude: number;
147
147
  longitude: number;
148
148
  radius?: number;
149
149
  }) => {
150
150
  error: _apollo_client.ApolloError | undefined;
151
+ eventsNearMe: EventType[];
151
152
  loading: boolean;
152
- marketsNearMe: MarketType[];
153
153
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
154
154
  };
155
- declare const useGetMarketInfo: (marketId: string) => {
155
+ declare const useGetEventInfo: (eventId: string) => {
156
156
  error: _apollo_client.ApolloError | undefined;
157
+ eventInfo: EventInfoType;
157
158
  loading: boolean;
158
- marketInfo: MarketInfoType;
159
159
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
160
160
  };
161
161
 
@@ -247,16 +247,16 @@ declare const useGetRelation: (_id: string) => {
247
247
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
248
248
  relation: RelationType;
249
249
  };
250
- declare const useGetRelationByMarketAndStallholder: (marketId: string, stallholderId: string) => {
250
+ declare const useGetRelationByEventAndStallholder: (eventId: string, stallholderId: string) => {
251
251
  error: _apollo_client.ApolloError | undefined;
252
252
  loading: boolean;
253
253
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
254
- relationByMarketAndStallholder: RelationType;
254
+ relationByEventAndStallholder: RelationType;
255
255
  };
256
- declare const useGetMarketRelations: (marketId: string) => {
256
+ declare const useGetEventRelations: (eventId: string) => {
257
257
  error: _apollo_client.ApolloError | undefined;
258
+ eventRelations: RelationType[];
258
259
  loading: boolean;
259
- marketRelations: RelationType[];
260
260
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
261
261
  };
262
262
  declare const useGetStallholderRelations: (stallholderId: string) => {
@@ -403,11 +403,11 @@ declare const useGetUser: (_id: string) => {
403
403
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
404
404
  user: UserType;
405
405
  };
406
- declare const useGetUserMarkets: () => {
406
+ declare const useGetUserEvents: () => {
407
407
  error: _apollo_client.ApolloError | undefined;
408
408
  loading: boolean;
409
409
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
410
- userMarkets: MarketType[];
410
+ userEvents: EventType[];
411
411
  };
412
412
  declare const useGetUserStallholder: () => {
413
413
  error: _apollo_client.ApolloError | undefined;
@@ -420,7 +420,7 @@ declare const useGetUserFavourites: () => {
420
420
  loading: boolean;
421
421
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
422
422
  userFavourites: {
423
- markets: MarketType[];
423
+ events: EventType[];
424
424
  stallholders: StallholderType[];
425
425
  };
426
426
  };
@@ -479,4 +479,4 @@ declare const useGetResourceViews: (resourceId: string, resourceType: EnumResour
479
479
  resourceViews: ResourceViewsType[];
480
480
  };
481
481
 
482
- export { useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetResourceViews, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchMarkets, useSearchStallholders, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
482
+ export { useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndStallholder, useGetResourceConnections, useGetResourceViews, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchStallholders, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };