@timardex/cluemart-shared 1.1.78 → 1.1.80

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-BoyPTKzO.d.mts → ad-5mNvL58V.d.mts} +4 -4
  2. package/dist/{ad-ByaFgKCJ.d.ts → ad-DrHJhh2M.d.ts} +4 -4
  3. package/dist/{auth-CsMldwsP.d.mts → auth-C0eE66vz.d.mts} +1 -1
  4. package/dist/{auth-CatvNkT_.d.ts → auth-Csul8lXc.d.ts} +1 -1
  5. package/dist/{chunk-ERBPRUAF.mjs → chunk-AXCOUPK2.mjs} +20 -12
  6. package/dist/chunk-AXCOUPK2.mjs.map +1 -0
  7. package/dist/{chunk-JZMSWUO5.mjs → chunk-CCBDLLRT.mjs} +2 -2
  8. package/dist/{chunk-JFIG6CV2.mjs → chunk-YOGSPGDV.mjs} +2 -2
  9. package/dist/chunk-YOGSPGDV.mjs.map +1 -0
  10. package/dist/enums/index.cjs +20 -11
  11. package/dist/enums/index.cjs.map +1 -1
  12. package/dist/enums/index.d.mts +18 -12
  13. package/dist/enums/index.d.ts +18 -12
  14. package/dist/enums/index.mjs +3 -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-Dt-vAIF9.d.mts → global-2SIDtEJn.d.ts} +17 -15
  22. package/dist/{global-BsANkXhj.d.ts → global-CNtWgZW4.d.mts} +17 -15
  23. package/dist/graphql/index.cjs +251 -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 +238 -235
  28. package/dist/graphql/index.mjs.map +1 -1
  29. package/dist/hooks/index.cjs +48 -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 +39 -33
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +337 -320
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +82 -74
  38. package/dist/index.d.ts +82 -74
  39. package/dist/index.mjs +313 -297
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/{resourceViews-ja9Qif1X.d.mts → resourceViews-COYpf0aX.d.mts} +2 -2
  42. package/dist/{resourceViews-C2CYUMC0.d.ts → resourceViews-DEKze3fc.d.ts} +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-CCBDLLRT.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -25,29 +25,35 @@ declare enum EnumPaymentMethod {
25
25
  STRIPE = "stripe"
26
26
  }
27
27
  declare enum EnumResourceType {
28
- MARKET = "market",
28
+ EVENT = "event",
29
29
  STALLHOLDER = "stallholder"
30
30
  }
31
+ declare enum EnumEventType {
32
+ EXPO = "expo",
33
+ FAIR = "fair",
34
+ FESTIVAL = "festival",
35
+ MARKET = "market"
36
+ }
31
37
  declare enum EnumOSPlatform {
32
38
  ANDROID = "android",
33
39
  IOS = "ios",
34
40
  WEB = "web"
35
41
  }
36
42
  declare enum EnumRelationResource {
37
- MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
38
- STALLHOLDER_APPLICATION_TO_MARKET = "stallholder_application_to_market"
43
+ EVENT_INVITE_STALLHOLDER = "event_invite_stallholder",
44
+ STALLHOLDER_APPLICATION_TO_EVENT = "stallholder_application_to_event"
39
45
  }
40
46
  declare enum EnumNotificationResourceType {
41
- CREATED_MARKET = "created_market",
47
+ CREATED_EVENT = "created_event",
42
48
  CREATED_STALLHOLDER = "created_stallholder",
43
- APPROVED_MARKET = "approved_market",
49
+ APPROVED_EVENT = "approved_event",
44
50
  APPROVED_STALLHOLDER = "approved_stallholder",
45
51
  NEW_CHAT_MESSAGE = "new_chat_message",
46
- MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
47
- STALLHOLDER_APPLICATION_TO_MARKET = "stallholder_application_to_market"
52
+ EVENT_INVITE_STALLHOLDER = "event_invite_stallholder",
53
+ STALLHOLDER_APPLICATION_TO_EVENT = "stallholder_application_to_event"
48
54
  }
49
55
  declare enum EnumNotificationType {
50
- MARKET = "market",
56
+ EVENT = "event",
51
57
  STALLHOLDER = "stallholder",
52
58
  RELATION = "relation",
53
59
  CHAT = "chat",
@@ -74,11 +80,11 @@ declare enum ImageTypeEnum {
74
80
  LOGO = "logo"
75
81
  }
76
82
  declare enum EnumUserLicence {
77
- PRO_MARKET = "pro_market",
78
- PRO_PLUS_MARKET = "pro_plus_market",
83
+ PRO_EVENT = "pro_event",
84
+ PRO_PLUS_EVENT = "pro_plus_event",
79
85
  PRO_PLUS_STALLHOLDER = "pro_plus_stallholder",
80
86
  PRO_STALLHOLDER = "pro_stallholder",
81
- STANDARD_MARKET = "standard_market",
87
+ STANDARD_EVENT = "standard_event",
82
88
  STANDARD_STALLHOLDER = "standard_stallholder"
83
89
  }
84
90
  declare enum EnumUserRole {
@@ -110,7 +116,7 @@ interface RelationType {
110
116
  createdAt?: string;
111
117
  deletedAt?: string | null;
112
118
  lastUpdateBy: EnumResourceType;
113
- marketId: string;
119
+ eventId: string;
114
120
  relationDates: RelationDate[];
115
121
  relationType: EnumRelationResource;
116
122
  stallholderId: string;
@@ -140,38 +146,40 @@ type Requirement = {
140
146
  label: string;
141
147
  value: boolean;
142
148
  };
143
- interface MarketInfoFormData {
149
+ interface EventInfoFormData {
144
150
  _id?: string;
145
151
  applicationDeadlineHours: number;
146
152
  contactDetails?: ResourceContactDetailsType | null;
147
153
  dateTime: DateTimeWithPriceType[];
148
- marketId: string;
154
+ eventId: string;
149
155
  packInTime: number;
150
156
  paymentDueHours: number;
151
157
  paymentInfo: PaymentInfoType[];
152
158
  requirements?: Requirement[];
153
159
  }
154
- interface MarketFormData extends BaseResourceTypeFormData {
160
+ interface EventFormData extends BaseResourceTypeFormData {
155
161
  dateTime: DateTimeType[];
162
+ eventType: EnumEventType;
156
163
  location: LocationType;
157
164
  provider?: string | null;
158
165
  rainOrShine: boolean;
159
166
  tags: string[];
160
167
  }
161
- type CreateMarketInfoFormData = CreateFormData<MarketInfoFormData>;
162
- type CreateMarketFormData = CreateFormData<MarketFormData>;
163
- interface MarketType extends BaseResourceType {
168
+ type CreateEventInfoFormData = CreateFormData<EventInfoFormData>;
169
+ type CreateEventFormData = CreateFormData<EventFormData>;
170
+ interface EventType extends BaseResourceType {
164
171
  dateTime: DateTimeType[];
172
+ eventInfoId: string;
173
+ eventType: EnumEventType;
165
174
  location: LocationType;
166
- marketInfoId: string;
167
175
  provider: string | null;
168
176
  rainOrShine: boolean;
169
177
  tags: string[];
170
178
  }
171
- type MarketInfoType = Omit<MarketInfoFormData, "_id"> & {
179
+ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
172
180
  _id: string;
173
181
  };
174
- interface MarketWithConnectionDatesType extends MarketType {
182
+ interface EventWithConnectionDatesType extends EventType {
175
183
  relationDates: RelationDate[] | undefined;
176
184
  }
177
185
 
@@ -227,7 +235,7 @@ interface StallholderType extends BaseResourceType {
227
235
  type StallholderInfoType = Omit<StallholderInfoFormData, "_id" | "foodSafetyGradeFilesUpload"> & {
228
236
  _id: string;
229
237
  };
230
- interface SatllholderWithConnectionDatesType extends StallholderType {
238
+ interface StallholderWithConnectionDatesType extends StallholderType {
231
239
  relationDates: RelationDate[] | undefined;
232
240
  }
233
241
 
@@ -348,8 +356,8 @@ type ImageObjectType = {
348
356
  name: string;
349
357
  };
350
358
  interface ResourceConnectionsType {
351
- markets: MarketWithConnectionDatesType[] | null;
352
- stallholders: SatllholderWithConnectionDatesType[] | null;
359
+ events: EventWithConnectionDatesType[] | null;
360
+ stallholders: StallholderWithConnectionDatesType[] | null;
353
361
  }
354
362
  interface CreateFormData<T extends FieldValues> {
355
363
  control: Control<T, any>;
@@ -439,7 +447,7 @@ interface ChatType {
439
447
  messages: ChatMessageType[];
440
448
  participants: ParticipantType[];
441
449
  resourceInfo: {
442
- marketId: string;
450
+ eventId: string;
443
451
  stallholderId: string;
444
452
  } | null;
445
453
  updatedAt: string;
@@ -530,13 +538,13 @@ interface UserType {
530
538
  email: string;
531
539
  isTester: boolean;
532
540
  favourites: {
533
- markets: string[];
541
+ events: string[];
534
542
  stallholders: string[];
535
543
  };
536
544
  firstName: string;
537
545
  lastName: string;
538
546
  licences: EnumUserLicence[] | null;
539
- markets: string[] | null;
547
+ events: string[] | null;
540
548
  password: string;
541
549
  platform: EnumOSPlatform | null;
542
550
  preferredRegion: string;
@@ -548,7 +556,7 @@ interface UserType {
548
556
 
549
557
  declare enum EnumAdShowOn {
550
558
  FRONT_PAGE = "Front_page",
551
- MARKETS_PAGE = "Markets_page",
559
+ EVENTS_PAGE = "Events_page",
552
560
  STALLHOLDERS_PAGE = "Stallholders_page"
553
561
  }
554
562
  declare enum EnumAdStatus {
@@ -642,17 +650,17 @@ declare const stallholderProducedIn: FormField;
642
650
  declare const packagingOptions: OptionItem[];
643
651
  declare const producedIngOptions: OptionItem[];
644
652
 
645
- declare const marketBasicInfoFields: FormField[];
646
- declare const marketStartDateFields: FormDateField[];
647
- declare const marketEndDateFields: FormDateField[];
653
+ declare const eventBasicInfoFields: FormField[];
654
+ declare const eventStartDateFields: FormDateField[];
655
+ declare const eventEndDateFields: FormDateField[];
648
656
  declare const availableTagTypes: {
649
657
  icon: string;
650
658
  label: string;
651
659
  }[];
652
660
  declare const tagOptions: OptionItem[];
653
661
 
654
- declare const marketInfo: FormField[];
655
- declare const marketInfoPaymentInfo: FormField[];
662
+ declare const eventInfo: FormField[];
663
+ declare const eventInfoPaymentInfo: FormField[];
656
664
  declare const requirementsOptions: Requirement[];
657
665
  declare const stallTypeOptions: StallType[];
658
666
 
@@ -762,70 +770,70 @@ declare const useContactUs: () => {
762
770
  loading: boolean;
763
771
  };
764
772
 
765
- declare const useCreateMarket: () => {
766
- createMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
773
+ declare const useCreateEvent: () => {
774
+ createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
767
775
  error: _apollo_client.ApolloError | undefined;
768
776
  loading: boolean;
769
777
  };
770
- declare const useUpdateMarket: () => {
778
+ declare const useUpdateEvent: () => {
771
779
  error: _apollo_client.ApolloError | undefined;
772
780
  loading: boolean;
773
- updateMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
781
+ updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
774
782
  };
775
- declare const useDeleteMarket: () => {
776
- deleteMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
783
+ declare const useDeleteEvent: () => {
784
+ deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
777
785
  error: _apollo_client.ApolloError | undefined;
778
786
  loading: boolean;
779
787
  };
780
- declare const useCreateMarketInfo: () => {
781
- createMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
788
+ declare const useCreateEventInfo: () => {
789
+ createEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
782
790
  error: _apollo_client.ApolloError | undefined;
783
791
  loading: boolean;
784
792
  };
785
- declare const useUpdateMarketInfo: () => {
793
+ declare const useUpdateEventInfo: () => {
786
794
  error: _apollo_client.ApolloError | undefined;
787
795
  loading: boolean;
788
- updateMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
796
+ updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
789
797
  };
790
798
 
791
- declare const useGetMarkets: () => {
799
+ declare const useGetEvents: () => {
792
800
  error: _apollo_client.ApolloError | undefined;
801
+ events: EventType[];
793
802
  loading: boolean;
794
- markets: MarketType[];
795
803
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
796
804
  };
797
- declare const useGetMarket: (_id: string) => {
805
+ declare const useGetEvent: (_id: string) => {
798
806
  error: _apollo_client.ApolloError | undefined;
807
+ event: EventType;
799
808
  loading: boolean;
800
- market: MarketType;
801
809
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
802
810
  };
803
- declare const useGetMarketsByRegion: (region: string) => {
811
+ declare const useGetEventsByRegion: (region: string) => {
804
812
  error: _apollo_client.ApolloError | undefined;
813
+ eventsByRegion: EventType[];
805
814
  loading: boolean;
806
- marketsByRegion: MarketType[];
807
815
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
808
816
  };
809
- declare const useSearchMarkets: (search: string, region: string) => {
817
+ declare const useSearchEvents: (search: string, region: string) => {
810
818
  error: _apollo_client.ApolloError | undefined;
819
+ eventsSearch: EventType[];
811
820
  loading: boolean;
812
- marketsSearch: MarketType[];
813
821
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
814
822
  };
815
- declare const useGetMarketsNearMe: (location: {
823
+ declare const useGetEventsNearMe: (location: {
816
824
  latitude: number;
817
825
  longitude: number;
818
826
  radius?: number;
819
827
  }) => {
820
828
  error: _apollo_client.ApolloError | undefined;
829
+ eventsNearMe: EventType[];
821
830
  loading: boolean;
822
- marketsNearMe: MarketType[];
823
831
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
824
832
  };
825
- declare const useGetMarketInfo: (marketId: string) => {
833
+ declare const useGetEventInfo: (eventId: string) => {
826
834
  error: _apollo_client.ApolloError | undefined;
835
+ eventInfo: EventInfoType;
827
836
  loading: boolean;
828
- marketInfo: MarketInfoType;
829
837
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
830
838
  };
831
839
 
@@ -917,16 +925,16 @@ declare const useGetRelation: (_id: string) => {
917
925
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
918
926
  relation: RelationType;
919
927
  };
920
- declare const useGetRelationByMarketAndStallholder: (marketId: string, stallholderId: string) => {
928
+ declare const useGetRelationByEventAndStallholder: (eventId: string, stallholderId: string) => {
921
929
  error: _apollo_client.ApolloError | undefined;
922
930
  loading: boolean;
923
931
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
924
- relationByMarketAndStallholder: RelationType;
932
+ relationByEventAndStallholder: RelationType;
925
933
  };
926
- declare const useGetMarketRelations: (marketId: string) => {
934
+ declare const useGetEventRelations: (eventId: string) => {
927
935
  error: _apollo_client.ApolloError | undefined;
936
+ eventRelations: RelationType[];
928
937
  loading: boolean;
929
- marketRelations: RelationType[];
930
938
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
931
939
  };
932
940
  declare const useGetStallholderRelations: (stallholderId: string) => {
@@ -1073,11 +1081,11 @@ declare const useGetUser: (_id: string) => {
1073
1081
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1074
1082
  user: UserType;
1075
1083
  };
1076
- declare const useGetUserMarkets: () => {
1084
+ declare const useGetUserEvents: () => {
1077
1085
  error: _apollo_client.ApolloError | undefined;
1078
1086
  loading: boolean;
1079
1087
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1080
- userMarkets: MarketType[];
1088
+ userEvents: EventType[];
1081
1089
  };
1082
1090
  declare const useGetUserStallholder: () => {
1083
1091
  error: _apollo_client.ApolloError | undefined;
@@ -1090,7 +1098,7 @@ declare const useGetUserFavourites: () => {
1090
1098
  loading: boolean;
1091
1099
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
1092
1100
  userFavourites: {
1093
- markets: MarketType[];
1101
+ events: EventType[];
1094
1102
  stallholders: StallholderType[];
1095
1103
  };
1096
1104
  };
@@ -1181,20 +1189,20 @@ declare function useStallholderForm(data?: StallholderFormData): CreateStallhold
1181
1189
  declare function useStallholderInfoForm(data?: StallholderInfoFormData): CreateStallholderInfoFormData;
1182
1190
 
1183
1191
  /**
1184
- * Custom hook to manage the market form state and validation.
1192
+ * Custom hook to manage the event form state and validation.
1185
1193
  *
1186
- * @param {MarketFormData} data - The initial form data.
1187
- * @returns {CreateMarketFormData} - The form methods and state.
1194
+ * @param {EventFormData} data - The initial form data.
1195
+ * @returns {CreateEventFormData} - The form methods and state.
1188
1196
  */
1189
- declare function useMarketForm(data?: MarketFormData): CreateMarketFormData;
1197
+ declare function useEventForm(data?: EventFormData): CreateEventFormData;
1190
1198
 
1191
1199
  /**
1192
- * Custom hook to manage the market form state and validation.
1200
+ * Custom hook to manage the event form state and validation.
1193
1201
  *
1194
- * @param {MarketInfoFormData} data - The initial form data.
1195
- * @returns {CreateMarketInfoFormData} - The form methods and state.
1202
+ * @param {EventInfoFormData} data - The initial form data.
1203
+ * @returns {CreateEventInfoFormData} - The form methods and state.
1196
1204
  */
1197
- declare function useMarketInfoForm(data?: MarketInfoFormData): CreateMarketInfoFormData;
1205
+ declare function useEventInfoForm(data?: EventInfoFormData): CreateEventInfoFormData;
1198
1206
 
1199
1207
  /**
1200
1208
  * Custom hook to manage the user form state and validation.
@@ -1225,11 +1233,11 @@ declare function useValidateVerificationTokenForm(): CreateValidateVerificationT
1225
1233
  declare function useResetPasswordForm(): CreateResetPasswordFormData;
1226
1234
 
1227
1235
  declare const globalDefaultValues: BaseResourceTypeFormData;
1228
- declare const defaultMarketFormValues: MarketFormData;
1229
- declare const defaultMarketInfoFormValues: MarketInfoFormData;
1236
+ declare const defaultEventFormValues: EventFormData;
1237
+ declare const defaultEventInfoFormValues: EventInfoFormData;
1230
1238
  declare const defaultStallholderFormValues: StallholderFormData;
1231
1239
  declare const defaultStallholderInfoFormValues: StallholderInfoFormData;
1232
- declare function mapBaseResourceTypeToFormData(data: MarketFormData | StallholderFormData): BaseResourceTypeFormData;
1240
+ declare function mapBaseResourceTypeToFormData(data: EventFormData | StallholderFormData): BaseResourceTypeFormData;
1233
1241
 
1234
1242
  declare function useTestersForm(data?: TestersFormData): CreateTestersFormData;
1235
1243
 
@@ -1339,4 +1347,4 @@ declare const availableRegionOptions: OptionItem[];
1339
1347
  declare const paymentMethodOptions: OptionItem[];
1340
1348
  declare function normalizeUrl(url: string): string;
1341
1349
 
1342
- export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type PosterUsageType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentInfo, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, 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, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useMarketForm, useMarketInfoForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSelectPackage, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateAd, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
1350
+ export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumEventType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type EventWithConnectionDatesType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type PosterUsageType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type StallholderWithConnectionDatesType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useEventForm, useEventInfoForm, 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, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchStallholders, useSelectPackage, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };