@timardex/cluemart-shared 1.0.16 → 1.0.18

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 (35) hide show
  1. package/dist/{auth-CdcH8nqw.d.mts → auth-CAeHx-BM.d.mts} +1 -1
  2. package/dist/{auth-TM_XttY3.d.ts → auth-gmfsaSPo.d.ts} +1 -1
  3. package/dist/{chat-NGx5Emrr.d.mts → chat-BUVCf9Tu.d.mts} +1 -1
  4. package/dist/{chat-NGx5Emrr.d.ts → chat-BUVCf9Tu.d.ts} +1 -1
  5. package/dist/formFields/index.cjs +49 -47
  6. package/dist/formFields/index.cjs.map +1 -1
  7. package/dist/formFields/index.d.mts +5 -4
  8. package/dist/formFields/index.d.ts +5 -4
  9. package/dist/formFields/index.mjs +49 -47
  10. package/dist/formFields/index.mjs.map +1 -1
  11. package/dist/{global-B7gB8cvC.d.ts → global-Cj-4jtsW.d.ts} +38 -9
  12. package/dist/{global-B8kYikwQ.d.mts → global-zKCLfUmA.d.mts} +38 -9
  13. package/dist/graphql/index.cjs +96 -16
  14. package/dist/graphql/index.cjs.map +1 -1
  15. package/dist/graphql/index.d.mts +19 -3
  16. package/dist/graphql/index.d.ts +19 -3
  17. package/dist/graphql/index.mjs +93 -16
  18. package/dist/graphql/index.mjs.map +1 -1
  19. package/dist/hooks/index.cjs +164 -82
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.mts +12 -3
  22. package/dist/hooks/index.d.ts +12 -3
  23. package/dist/hooks/index.mjs +162 -82
  24. package/dist/hooks/index.mjs.map +1 -1
  25. package/dist/index.cjs +309 -145
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +66 -11
  28. package/dist/index.d.ts +66 -11
  29. package/dist/index.mjs +304 -145
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/types/index.d.mts +3 -3
  32. package/dist/types/index.d.ts +3 -3
  33. package/dist/utils/index.d.mts +1 -1
  34. package/dist/utils/index.d.ts +1 -1
  35. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -211,11 +211,14 @@ interface RelationType {
211
211
  updatedAt?: string;
212
212
  }
213
213
 
214
- type DateTimeWithPrice = DateTimeType & {
214
+ interface DateTimeWithPriceType extends DateTimeType {
215
215
  marketPrice: number;
216
- };
217
- type StallApplicationInfoType = {
216
+ }
217
+ interface MarketInfoFormData {
218
+ _id?: string;
219
+ active: boolean;
218
220
  applicationDeadlineHours: number;
221
+ dateTime: DateTimeWithPriceType[];
219
222
  paymentDueHours: number;
220
223
  paymentMethod: EnumPaymentMethod;
221
224
  paymentTarget: {
@@ -225,14 +228,24 @@ type StallApplicationInfoType = {
225
228
  };
226
229
  rejectionPolicy: EnumRejectionPolicy;
227
230
  stallCapacity: number;
228
- };
231
+ }
229
232
  interface MarketFormData extends BaseResourceTypeFormData {
230
- dateTime: DateTimeWithPrice[];
233
+ dateTime: DateTimeType[];
231
234
  location: LocationType;
232
235
  provider: string;
233
- stallApplicationInfo: StallApplicationInfoType;
234
236
  tags?: string[] | null;
235
237
  }
238
+ interface CreateMarketInfoFormData {
239
+ control: Control<MarketInfoFormData, any>;
240
+ fields: MarketInfoFormData;
241
+ formState: {
242
+ errors: FieldErrors<MarketInfoFormData>;
243
+ };
244
+ handleSubmit: UseFormHandleSubmit<MarketInfoFormData, any>;
245
+ reset: UseFormReset<MarketInfoFormData>;
246
+ setValue: UseFormSetValue<MarketInfoFormData>;
247
+ watch: UseFormWatch<MarketInfoFormData>;
248
+ }
236
249
  interface CreateMarketFormData {
237
250
  control: Control<MarketFormData, any>;
238
251
  fields: MarketFormData;
@@ -247,10 +260,26 @@ interface CreateMarketFormData {
247
260
  interface MarketType extends BaseResourceType {
248
261
  dateTime: MarketFormData["dateTime"];
249
262
  location: MarketFormData["location"];
263
+ marketInfoId: string;
250
264
  provider: string;
251
- stallApplicationInfo: MarketFormData["stallApplicationInfo"];
252
265
  tags: string[] | null;
253
266
  }
267
+ interface MarketInfoType {
268
+ _id: string;
269
+ active: boolean;
270
+ applicationDeadlineHours: number;
271
+ dateTime: DateTimeWithPriceType[];
272
+ marketId: string;
273
+ paymentDueHours: number;
274
+ paymentMethod: EnumPaymentMethod;
275
+ paymentTarget: {
276
+ accountHolderName?: string;
277
+ accountNumber?: string;
278
+ link?: string;
279
+ };
280
+ rejectionPolicy: EnumRejectionPolicy;
281
+ stallCapacity: number;
282
+ }
254
283
  interface MarketWithConnectionDatesType extends MarketType {
255
284
  relationDates: RelationDate[] | undefined;
256
285
  }
@@ -620,6 +649,14 @@ declare function useStallholderApplyForm(data?: StallholderApplyFormFormData): C
620
649
  */
621
650
  declare function useMarketForm(data?: MarketFormData): CreateMarketFormData;
622
651
 
652
+ /**
653
+ * Custom hook to manage the market form state and validation.
654
+ *
655
+ * @param {MarketInfoFormData} data - The initial form data.
656
+ * @returns {CreateMarketInfoFormData} - The form methods and state.
657
+ */
658
+ declare function useMarketInfoForm(data?: MarketInfoFormData): CreateMarketInfoFormData;
659
+
623
660
  /**
624
661
  * Custom hook to manage the user form state and validation.
625
662
  *
@@ -650,6 +687,7 @@ declare function useResetPasswordForm(): CreateResetPasswordFormData;
650
687
 
651
688
  declare const globalDefaultValues: BaseResourceTypeFormData;
652
689
  declare const defaultMarketFormValues: MarketFormData;
690
+ declare const defaultMarketInfoFormValues: MarketInfoFormData;
653
691
  declare const defaultStallholderFormValues: StallholderFormData;
654
692
  declare const defaultStallholderApplyFormValues: StallholderApplyFormFormData;
655
693
 
@@ -733,6 +771,16 @@ declare const useDeleteMarket: () => {
733
771
  error: _apollo_client.ApolloError | undefined;
734
772
  loading: boolean;
735
773
  };
774
+ declare const useCreateMarketInfo: () => {
775
+ createMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
776
+ error: _apollo_client.ApolloError | undefined;
777
+ loading: boolean;
778
+ };
779
+ declare const useUpdateMarketInfo: () => {
780
+ error: _apollo_client.ApolloError | undefined;
781
+ loading: boolean;
782
+ updateMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
783
+ };
736
784
 
737
785
  declare const useGetMarkets: () => {
738
786
  error: _apollo_client.ApolloError | undefined;
@@ -768,6 +816,12 @@ declare const useGetMarketsNearMe: (location: {
768
816
  markets: MarketType[];
769
817
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
770
818
  };
819
+ declare const useGetMarketInfo: (marketId: string) => {
820
+ error: _apollo_client.ApolloError | undefined;
821
+ loading: boolean;
822
+ marketInfo: MarketInfoType;
823
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
824
+ };
771
825
 
772
826
  declare const useCreatePoster: () => {
773
827
  createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
@@ -980,13 +1034,14 @@ declare const packagingOptions: OptionItem[];
980
1034
  declare const producedIngOptions: OptionItem[];
981
1035
 
982
1036
  declare const marketBasicInfoFields: FormField[];
983
- declare const stallApplicationInfo: FormField[];
984
- declare const stallApplicationInfoPaymentTarget: FormField[];
985
1037
  declare const marketStartDateFields: FormDateField[];
986
- declare const marketPriceByDateFields: FormField[];
987
1038
  declare const marketEndDateFields: FormDateField[];
988
1039
  declare const availableTagTypes: string[];
989
1040
  declare const tagOptions: OptionItem[];
1041
+
1042
+ declare const stallApplicationInfo: FormField[];
1043
+ declare const stallApplicationInfoPaymentTarget: FormField[];
1044
+ declare const marketPriceByDateFields: FormField[];
990
1045
  declare const rejectionPolicyOptions: OptionItem[];
991
1046
 
992
1047
  declare const loginFields: FormField[];
@@ -1000,4 +1055,4 @@ declare const profileFields: FormField[];
1000
1055
  declare const availableCategories: Category[];
1001
1056
  declare const categoryColors: Record<string, string>;
1002
1057
 
1003
- export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type CreateLoginFormData, type CreateMarketFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateUserFormData, type CreateValidateTokenFormData, type DateTimeType, type DateTimeWithPrice, EnumInviteStatus, EnumNotification, EnumPaymentMethod, EnumRegions, EnumRejectionPolicy, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, type SatllholderWithConnectionDatesType, type StallApplicationInfoType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type UserFormData, type UserType, type ValidateTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, dateFormat, defaultMarketFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketPriceByDateFields, marketStartDateFields, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, resetPasswordFields, sortDatesByProximity, stallApplicationInfo, stallApplicationInfoPaymentTarget, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUsers, useLocationSearch, useLogin, useLoginForm, useMarketForm, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useUpdateMarket, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateUser, useUserForm, useValidateToken, useValidateTokenForm, validateTokenFields };
1058
+ export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateUserFormData, type CreateValidateTokenFormData, type DateTimeType, EnumInviteStatus, EnumNotification, EnumPaymentMethod, EnumRegions, EnumRejectionPolicy, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, 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 NotificationType, type Nullable, type OptionItem, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, type SatllholderWithConnectionDatesType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type UserFormData, type UserType, type ValidateTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketPriceByDateFields, marketStartDateFields, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, resetPasswordFields, sortDatesByProximity, stallApplicationInfo, stallApplicationInfoPaymentTarget, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUsers, useLocationSearch, useLogin, useLoginForm, useMarketForm, useMarketInfoForm, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateUser, useUserForm, useValidateToken, useValidateTokenForm, validateTokenFields };
package/dist/index.d.ts CHANGED
@@ -211,11 +211,14 @@ interface RelationType {
211
211
  updatedAt?: string;
212
212
  }
213
213
 
214
- type DateTimeWithPrice = DateTimeType & {
214
+ interface DateTimeWithPriceType extends DateTimeType {
215
215
  marketPrice: number;
216
- };
217
- type StallApplicationInfoType = {
216
+ }
217
+ interface MarketInfoFormData {
218
+ _id?: string;
219
+ active: boolean;
218
220
  applicationDeadlineHours: number;
221
+ dateTime: DateTimeWithPriceType[];
219
222
  paymentDueHours: number;
220
223
  paymentMethod: EnumPaymentMethod;
221
224
  paymentTarget: {
@@ -225,14 +228,24 @@ type StallApplicationInfoType = {
225
228
  };
226
229
  rejectionPolicy: EnumRejectionPolicy;
227
230
  stallCapacity: number;
228
- };
231
+ }
229
232
  interface MarketFormData extends BaseResourceTypeFormData {
230
- dateTime: DateTimeWithPrice[];
233
+ dateTime: DateTimeType[];
231
234
  location: LocationType;
232
235
  provider: string;
233
- stallApplicationInfo: StallApplicationInfoType;
234
236
  tags?: string[] | null;
235
237
  }
238
+ interface CreateMarketInfoFormData {
239
+ control: Control<MarketInfoFormData, any>;
240
+ fields: MarketInfoFormData;
241
+ formState: {
242
+ errors: FieldErrors<MarketInfoFormData>;
243
+ };
244
+ handleSubmit: UseFormHandleSubmit<MarketInfoFormData, any>;
245
+ reset: UseFormReset<MarketInfoFormData>;
246
+ setValue: UseFormSetValue<MarketInfoFormData>;
247
+ watch: UseFormWatch<MarketInfoFormData>;
248
+ }
236
249
  interface CreateMarketFormData {
237
250
  control: Control<MarketFormData, any>;
238
251
  fields: MarketFormData;
@@ -247,10 +260,26 @@ interface CreateMarketFormData {
247
260
  interface MarketType extends BaseResourceType {
248
261
  dateTime: MarketFormData["dateTime"];
249
262
  location: MarketFormData["location"];
263
+ marketInfoId: string;
250
264
  provider: string;
251
- stallApplicationInfo: MarketFormData["stallApplicationInfo"];
252
265
  tags: string[] | null;
253
266
  }
267
+ interface MarketInfoType {
268
+ _id: string;
269
+ active: boolean;
270
+ applicationDeadlineHours: number;
271
+ dateTime: DateTimeWithPriceType[];
272
+ marketId: string;
273
+ paymentDueHours: number;
274
+ paymentMethod: EnumPaymentMethod;
275
+ paymentTarget: {
276
+ accountHolderName?: string;
277
+ accountNumber?: string;
278
+ link?: string;
279
+ };
280
+ rejectionPolicy: EnumRejectionPolicy;
281
+ stallCapacity: number;
282
+ }
254
283
  interface MarketWithConnectionDatesType extends MarketType {
255
284
  relationDates: RelationDate[] | undefined;
256
285
  }
@@ -620,6 +649,14 @@ declare function useStallholderApplyForm(data?: StallholderApplyFormFormData): C
620
649
  */
621
650
  declare function useMarketForm(data?: MarketFormData): CreateMarketFormData;
622
651
 
652
+ /**
653
+ * Custom hook to manage the market form state and validation.
654
+ *
655
+ * @param {MarketInfoFormData} data - The initial form data.
656
+ * @returns {CreateMarketInfoFormData} - The form methods and state.
657
+ */
658
+ declare function useMarketInfoForm(data?: MarketInfoFormData): CreateMarketInfoFormData;
659
+
623
660
  /**
624
661
  * Custom hook to manage the user form state and validation.
625
662
  *
@@ -650,6 +687,7 @@ declare function useResetPasswordForm(): CreateResetPasswordFormData;
650
687
 
651
688
  declare const globalDefaultValues: BaseResourceTypeFormData;
652
689
  declare const defaultMarketFormValues: MarketFormData;
690
+ declare const defaultMarketInfoFormValues: MarketInfoFormData;
653
691
  declare const defaultStallholderFormValues: StallholderFormData;
654
692
  declare const defaultStallholderApplyFormValues: StallholderApplyFormFormData;
655
693
 
@@ -733,6 +771,16 @@ declare const useDeleteMarket: () => {
733
771
  error: _apollo_client.ApolloError | undefined;
734
772
  loading: boolean;
735
773
  };
774
+ declare const useCreateMarketInfo: () => {
775
+ createMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
776
+ error: _apollo_client.ApolloError | undefined;
777
+ loading: boolean;
778
+ };
779
+ declare const useUpdateMarketInfo: () => {
780
+ error: _apollo_client.ApolloError | undefined;
781
+ loading: boolean;
782
+ updateMarketInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
783
+ };
736
784
 
737
785
  declare const useGetMarkets: () => {
738
786
  error: _apollo_client.ApolloError | undefined;
@@ -768,6 +816,12 @@ declare const useGetMarketsNearMe: (location: {
768
816
  markets: MarketType[];
769
817
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
770
818
  };
819
+ declare const useGetMarketInfo: (marketId: string) => {
820
+ error: _apollo_client.ApolloError | undefined;
821
+ loading: boolean;
822
+ marketInfo: MarketInfoType;
823
+ refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
824
+ };
771
825
 
772
826
  declare const useCreatePoster: () => {
773
827
  createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
@@ -980,13 +1034,14 @@ declare const packagingOptions: OptionItem[];
980
1034
  declare const producedIngOptions: OptionItem[];
981
1035
 
982
1036
  declare const marketBasicInfoFields: FormField[];
983
- declare const stallApplicationInfo: FormField[];
984
- declare const stallApplicationInfoPaymentTarget: FormField[];
985
1037
  declare const marketStartDateFields: FormDateField[];
986
- declare const marketPriceByDateFields: FormField[];
987
1038
  declare const marketEndDateFields: FormDateField[];
988
1039
  declare const availableTagTypes: string[];
989
1040
  declare const tagOptions: OptionItem[];
1041
+
1042
+ declare const stallApplicationInfo: FormField[];
1043
+ declare const stallApplicationInfoPaymentTarget: FormField[];
1044
+ declare const marketPriceByDateFields: FormField[];
990
1045
  declare const rejectionPolicyOptions: OptionItem[];
991
1046
 
992
1047
  declare const loginFields: FormField[];
@@ -1000,4 +1055,4 @@ declare const profileFields: FormField[];
1000
1055
  declare const availableCategories: Category[];
1001
1056
  declare const categoryColors: Record<string, string>;
1002
1057
 
1003
- export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type CreateLoginFormData, type CreateMarketFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateUserFormData, type CreateValidateTokenFormData, type DateTimeType, type DateTimeWithPrice, EnumInviteStatus, EnumNotification, EnumPaymentMethod, EnumRegions, EnumRejectionPolicy, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, type SatllholderWithConnectionDatesType, type StallApplicationInfoType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type UserFormData, type UserType, type ValidateTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, dateFormat, defaultMarketFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketPriceByDateFields, marketStartDateFields, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, resetPasswordFields, sortDatesByProximity, stallApplicationInfo, stallApplicationInfoPaymentTarget, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUsers, useLocationSearch, useLogin, useLoginForm, useMarketForm, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useUpdateMarket, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateUser, useUserForm, useValidateToken, useValidateTokenForm, validateTokenFields };
1058
+ export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateUserFormData, type CreateValidateTokenFormData, type DateTimeType, EnumInviteStatus, EnumNotification, EnumPaymentMethod, EnumRegions, EnumRejectionPolicy, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, 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 NotificationType, type Nullable, type OptionItem, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, type SatllholderWithConnectionDatesType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type UserFormData, type UserType, type ValidateTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketPriceByDateFields, marketStartDateFields, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, resetPasswordFields, sortDatesByProximity, stallApplicationInfo, stallApplicationInfoPaymentTarget, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUsers, useLocationSearch, useLogin, useLoginForm, useMarketForm, useMarketInfoForm, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateUser, useUserForm, useValidateToken, useValidateTokenForm, validateTokenFields };