@timardex/cluemart-shared 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +210 -52
- package/dist/index.d.mts +51 -28
- package/dist/index.d.ts +51 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +185 -33
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -100,23 +100,24 @@ interface CreateRegisterFormData {
|
|
|
100
100
|
setValue: UseFormSetValue<RegisterFormData>;
|
|
101
101
|
watch: UseFormWatch<RegisterFormData>;
|
|
102
102
|
}
|
|
103
|
-
type
|
|
103
|
+
type RequestPasswordResetFormData = {
|
|
104
104
|
email: string;
|
|
105
105
|
};
|
|
106
|
-
interface
|
|
107
|
-
control: Control<
|
|
108
|
-
fields:
|
|
106
|
+
interface CreateRequestPasswordResetFormData {
|
|
107
|
+
control: Control<RequestPasswordResetFormData, any>;
|
|
108
|
+
fields: RequestPasswordResetFormData;
|
|
109
109
|
formState: {
|
|
110
|
-
errors: FieldErrors<
|
|
110
|
+
errors: FieldErrors<RequestPasswordResetFormData>;
|
|
111
111
|
};
|
|
112
|
-
handleSubmit: UseFormHandleSubmit<
|
|
113
|
-
reset: UseFormReset<
|
|
114
|
-
setValue: UseFormSetValue<
|
|
115
|
-
watch: UseFormWatch<
|
|
112
|
+
handleSubmit: UseFormHandleSubmit<RequestPasswordResetFormData, any>;
|
|
113
|
+
reset: UseFormReset<RequestPasswordResetFormData>;
|
|
114
|
+
setValue: UseFormSetValue<RequestPasswordResetFormData>;
|
|
115
|
+
watch: UseFormWatch<RequestPasswordResetFormData>;
|
|
116
116
|
}
|
|
117
117
|
type ResetPasswordFormData = {
|
|
118
|
-
password: string;
|
|
119
118
|
confirmPassword: string;
|
|
119
|
+
email: string;
|
|
120
|
+
password: string;
|
|
120
121
|
};
|
|
121
122
|
interface CreateResetPasswordFormData {
|
|
122
123
|
control: Control<ResetPasswordFormData, any>;
|
|
@@ -124,24 +125,25 @@ interface CreateResetPasswordFormData {
|
|
|
124
125
|
formState: {
|
|
125
126
|
errors: FieldErrors<ResetPasswordFormData>;
|
|
126
127
|
};
|
|
127
|
-
handleSubmit: UseFormHandleSubmit<ResetPasswordFormData,
|
|
128
|
+
handleSubmit: UseFormHandleSubmit<ResetPasswordFormData, any>;
|
|
128
129
|
reset: UseFormReset<ResetPasswordFormData>;
|
|
129
130
|
setValue: UseFormSetValue<ResetPasswordFormData>;
|
|
130
131
|
watch: UseFormWatch<ResetPasswordFormData>;
|
|
131
132
|
}
|
|
132
|
-
type
|
|
133
|
+
type ValidateTokenFormData = {
|
|
134
|
+
email: string;
|
|
133
135
|
token: string;
|
|
134
136
|
};
|
|
135
|
-
interface
|
|
136
|
-
control: Control<
|
|
137
|
-
fields:
|
|
137
|
+
interface CreateValidateTokenFormData {
|
|
138
|
+
control: Control<ValidateTokenFormData, any>;
|
|
139
|
+
fields: ValidateTokenFormData;
|
|
138
140
|
formState: {
|
|
139
|
-
errors: FieldErrors<
|
|
141
|
+
errors: FieldErrors<ValidateTokenFormData>;
|
|
140
142
|
};
|
|
141
|
-
handleSubmit: UseFormHandleSubmit<
|
|
142
|
-
reset: UseFormReset<
|
|
143
|
-
setValue: UseFormSetValue<
|
|
144
|
-
watch: UseFormWatch<
|
|
143
|
+
handleSubmit: UseFormHandleSubmit<ValidateTokenFormData, any>;
|
|
144
|
+
reset: UseFormReset<ValidateTokenFormData>;
|
|
145
|
+
setValue: UseFormSetValue<ValidateTokenFormData>;
|
|
146
|
+
watch: UseFormWatch<ValidateTokenFormData>;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
interface ChatInput {
|
|
@@ -625,6 +627,12 @@ declare function useLoginForm(): CreateLoginFormData;
|
|
|
625
627
|
*/
|
|
626
628
|
declare function useRegisterForm(): CreateRegisterFormData;
|
|
627
629
|
|
|
630
|
+
declare function useRequestPasswordResetForm(): CreateRequestPasswordResetFormData;
|
|
631
|
+
|
|
632
|
+
declare function useValidateTokenForm(): CreateValidateTokenFormData;
|
|
633
|
+
|
|
634
|
+
declare function useResetPasswordForm(): CreateResetPasswordFormData;
|
|
635
|
+
|
|
628
636
|
declare const globalDefaultValues: BaseResourceTypeFormData;
|
|
629
637
|
declare const defaultMarketFormValues: MarketFormData;
|
|
630
638
|
declare const defaultStallholderFormValues: StallholderFormData;
|
|
@@ -875,21 +883,25 @@ declare const registerSchema: yup.ObjectSchema<{
|
|
|
875
883
|
password: undefined;
|
|
876
884
|
role: undefined;
|
|
877
885
|
}, "">;
|
|
878
|
-
declare const
|
|
886
|
+
declare const requestPasswordResetSchema: yup.ObjectSchema<{
|
|
879
887
|
email: string;
|
|
880
888
|
}, yup.AnyObject, {
|
|
881
889
|
email: undefined;
|
|
882
890
|
}, "">;
|
|
883
891
|
declare const resetPasswordSchema: yup.ObjectSchema<{
|
|
892
|
+
email: string;
|
|
884
893
|
password: string;
|
|
885
894
|
confirmPassword: string;
|
|
886
895
|
}, yup.AnyObject, {
|
|
896
|
+
email: undefined;
|
|
887
897
|
password: undefined;
|
|
888
898
|
confirmPassword: undefined;
|
|
889
899
|
}, "">;
|
|
890
|
-
declare const
|
|
900
|
+
declare const validateTokenSchema: yup.ObjectSchema<{
|
|
901
|
+
email: string;
|
|
891
902
|
token: string;
|
|
892
903
|
}, yup.AnyObject, {
|
|
904
|
+
email: undefined;
|
|
893
905
|
token: undefined;
|
|
894
906
|
}, "">;
|
|
895
907
|
|
|
@@ -903,15 +915,20 @@ declare const useRegister: () => {
|
|
|
903
915
|
loading: boolean;
|
|
904
916
|
register: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
905
917
|
};
|
|
906
|
-
declare const
|
|
918
|
+
declare const useRequestPasswordReset: () => {
|
|
919
|
+
error: _apollo_client.ApolloError | undefined;
|
|
920
|
+
loading: boolean;
|
|
921
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
922
|
+
};
|
|
923
|
+
declare const useValidateToken: () => {
|
|
907
924
|
error: _apollo_client.ApolloError | undefined;
|
|
908
|
-
forgotPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
909
925
|
loading: boolean;
|
|
926
|
+
validateToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
910
927
|
};
|
|
911
|
-
declare const
|
|
928
|
+
declare const useResetPassword: () => {
|
|
912
929
|
error: _apollo_client.ApolloError | undefined;
|
|
913
930
|
loading: boolean;
|
|
914
|
-
|
|
931
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
915
932
|
};
|
|
916
933
|
|
|
917
934
|
declare const useCreateChat: () => {
|
|
@@ -1113,6 +1130,11 @@ declare const useGetNotification: () => {
|
|
|
1113
1130
|
loading: boolean;
|
|
1114
1131
|
notification: NotificationType;
|
|
1115
1132
|
};
|
|
1133
|
+
declare const useGetChatSubscription: () => {
|
|
1134
|
+
chat: ChatType;
|
|
1135
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1136
|
+
loading: boolean;
|
|
1137
|
+
};
|
|
1116
1138
|
|
|
1117
1139
|
declare const useCreateUser: () => {
|
|
1118
1140
|
createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
@@ -1216,12 +1238,13 @@ declare const rejectionPolicyOptions: OptionItem[];
|
|
|
1216
1238
|
|
|
1217
1239
|
declare const loginFields: FormField[];
|
|
1218
1240
|
declare const registerFields: FormField[];
|
|
1219
|
-
declare const
|
|
1241
|
+
declare const requestPasswordResetFields: FormField[];
|
|
1220
1242
|
declare const resetPasswordFields: FormField[];
|
|
1243
|
+
declare const validateTokenFields: FormField[];
|
|
1221
1244
|
|
|
1222
1245
|
declare const profileFields: FormField[];
|
|
1223
1246
|
|
|
1224
1247
|
declare const availableCategories: Category[];
|
|
1225
1248
|
declare const categoryColors: Record<string, string>;
|
|
1226
1249
|
|
|
1227
|
-
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type
|
|
1250
|
+
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, EnumInviteStatus, EnumNotification, 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 OptionItem, type PlacePrediction, 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, dateTimeSchema, defaultMarketFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, emailSchema, endDateAfterStartDateTest, endDateNotInPastTest, endTimeMustBeAfterStartTimeTest, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, globalResourceSchema, locationSchema, loginFields, loginSchema, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketSchema, marketStartDateFields, packagingOptions, passwordSchema, paymentMethodOptions, producedIngOptions, profileFields, registerFields, registerSchema, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, requestPasswordResetSchema, resetPasswordFields, resetPasswordSchema, sortDatesByProximity, stallApplicationInfo, stallHolderSchema, stallholderApplyFormSchema, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, startDateNotInPastTest, startTimeCannotBeInPastTest, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, 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, userSchema, validateTokenFields, validateTokenSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -100,23 +100,24 @@ interface CreateRegisterFormData {
|
|
|
100
100
|
setValue: UseFormSetValue<RegisterFormData>;
|
|
101
101
|
watch: UseFormWatch<RegisterFormData>;
|
|
102
102
|
}
|
|
103
|
-
type
|
|
103
|
+
type RequestPasswordResetFormData = {
|
|
104
104
|
email: string;
|
|
105
105
|
};
|
|
106
|
-
interface
|
|
107
|
-
control: Control<
|
|
108
|
-
fields:
|
|
106
|
+
interface CreateRequestPasswordResetFormData {
|
|
107
|
+
control: Control<RequestPasswordResetFormData, any>;
|
|
108
|
+
fields: RequestPasswordResetFormData;
|
|
109
109
|
formState: {
|
|
110
|
-
errors: FieldErrors<
|
|
110
|
+
errors: FieldErrors<RequestPasswordResetFormData>;
|
|
111
111
|
};
|
|
112
|
-
handleSubmit: UseFormHandleSubmit<
|
|
113
|
-
reset: UseFormReset<
|
|
114
|
-
setValue: UseFormSetValue<
|
|
115
|
-
watch: UseFormWatch<
|
|
112
|
+
handleSubmit: UseFormHandleSubmit<RequestPasswordResetFormData, any>;
|
|
113
|
+
reset: UseFormReset<RequestPasswordResetFormData>;
|
|
114
|
+
setValue: UseFormSetValue<RequestPasswordResetFormData>;
|
|
115
|
+
watch: UseFormWatch<RequestPasswordResetFormData>;
|
|
116
116
|
}
|
|
117
117
|
type ResetPasswordFormData = {
|
|
118
|
-
password: string;
|
|
119
118
|
confirmPassword: string;
|
|
119
|
+
email: string;
|
|
120
|
+
password: string;
|
|
120
121
|
};
|
|
121
122
|
interface CreateResetPasswordFormData {
|
|
122
123
|
control: Control<ResetPasswordFormData, any>;
|
|
@@ -124,24 +125,25 @@ interface CreateResetPasswordFormData {
|
|
|
124
125
|
formState: {
|
|
125
126
|
errors: FieldErrors<ResetPasswordFormData>;
|
|
126
127
|
};
|
|
127
|
-
handleSubmit: UseFormHandleSubmit<ResetPasswordFormData,
|
|
128
|
+
handleSubmit: UseFormHandleSubmit<ResetPasswordFormData, any>;
|
|
128
129
|
reset: UseFormReset<ResetPasswordFormData>;
|
|
129
130
|
setValue: UseFormSetValue<ResetPasswordFormData>;
|
|
130
131
|
watch: UseFormWatch<ResetPasswordFormData>;
|
|
131
132
|
}
|
|
132
|
-
type
|
|
133
|
+
type ValidateTokenFormData = {
|
|
134
|
+
email: string;
|
|
133
135
|
token: string;
|
|
134
136
|
};
|
|
135
|
-
interface
|
|
136
|
-
control: Control<
|
|
137
|
-
fields:
|
|
137
|
+
interface CreateValidateTokenFormData {
|
|
138
|
+
control: Control<ValidateTokenFormData, any>;
|
|
139
|
+
fields: ValidateTokenFormData;
|
|
138
140
|
formState: {
|
|
139
|
-
errors: FieldErrors<
|
|
141
|
+
errors: FieldErrors<ValidateTokenFormData>;
|
|
140
142
|
};
|
|
141
|
-
handleSubmit: UseFormHandleSubmit<
|
|
142
|
-
reset: UseFormReset<
|
|
143
|
-
setValue: UseFormSetValue<
|
|
144
|
-
watch: UseFormWatch<
|
|
143
|
+
handleSubmit: UseFormHandleSubmit<ValidateTokenFormData, any>;
|
|
144
|
+
reset: UseFormReset<ValidateTokenFormData>;
|
|
145
|
+
setValue: UseFormSetValue<ValidateTokenFormData>;
|
|
146
|
+
watch: UseFormWatch<ValidateTokenFormData>;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
interface ChatInput {
|
|
@@ -625,6 +627,12 @@ declare function useLoginForm(): CreateLoginFormData;
|
|
|
625
627
|
*/
|
|
626
628
|
declare function useRegisterForm(): CreateRegisterFormData;
|
|
627
629
|
|
|
630
|
+
declare function useRequestPasswordResetForm(): CreateRequestPasswordResetFormData;
|
|
631
|
+
|
|
632
|
+
declare function useValidateTokenForm(): CreateValidateTokenFormData;
|
|
633
|
+
|
|
634
|
+
declare function useResetPasswordForm(): CreateResetPasswordFormData;
|
|
635
|
+
|
|
628
636
|
declare const globalDefaultValues: BaseResourceTypeFormData;
|
|
629
637
|
declare const defaultMarketFormValues: MarketFormData;
|
|
630
638
|
declare const defaultStallholderFormValues: StallholderFormData;
|
|
@@ -875,21 +883,25 @@ declare const registerSchema: yup.ObjectSchema<{
|
|
|
875
883
|
password: undefined;
|
|
876
884
|
role: undefined;
|
|
877
885
|
}, "">;
|
|
878
|
-
declare const
|
|
886
|
+
declare const requestPasswordResetSchema: yup.ObjectSchema<{
|
|
879
887
|
email: string;
|
|
880
888
|
}, yup.AnyObject, {
|
|
881
889
|
email: undefined;
|
|
882
890
|
}, "">;
|
|
883
891
|
declare const resetPasswordSchema: yup.ObjectSchema<{
|
|
892
|
+
email: string;
|
|
884
893
|
password: string;
|
|
885
894
|
confirmPassword: string;
|
|
886
895
|
}, yup.AnyObject, {
|
|
896
|
+
email: undefined;
|
|
887
897
|
password: undefined;
|
|
888
898
|
confirmPassword: undefined;
|
|
889
899
|
}, "">;
|
|
890
|
-
declare const
|
|
900
|
+
declare const validateTokenSchema: yup.ObjectSchema<{
|
|
901
|
+
email: string;
|
|
891
902
|
token: string;
|
|
892
903
|
}, yup.AnyObject, {
|
|
904
|
+
email: undefined;
|
|
893
905
|
token: undefined;
|
|
894
906
|
}, "">;
|
|
895
907
|
|
|
@@ -903,15 +915,20 @@ declare const useRegister: () => {
|
|
|
903
915
|
loading: boolean;
|
|
904
916
|
register: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
905
917
|
};
|
|
906
|
-
declare const
|
|
918
|
+
declare const useRequestPasswordReset: () => {
|
|
919
|
+
error: _apollo_client.ApolloError | undefined;
|
|
920
|
+
loading: boolean;
|
|
921
|
+
requestPasswordReset: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
922
|
+
};
|
|
923
|
+
declare const useValidateToken: () => {
|
|
907
924
|
error: _apollo_client.ApolloError | undefined;
|
|
908
|
-
forgotPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
909
925
|
loading: boolean;
|
|
926
|
+
validateToken: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
910
927
|
};
|
|
911
|
-
declare const
|
|
928
|
+
declare const useResetPassword: () => {
|
|
912
929
|
error: _apollo_client.ApolloError | undefined;
|
|
913
930
|
loading: boolean;
|
|
914
|
-
|
|
931
|
+
resetPassword: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
915
932
|
};
|
|
916
933
|
|
|
917
934
|
declare const useCreateChat: () => {
|
|
@@ -1113,6 +1130,11 @@ declare const useGetNotification: () => {
|
|
|
1113
1130
|
loading: boolean;
|
|
1114
1131
|
notification: NotificationType;
|
|
1115
1132
|
};
|
|
1133
|
+
declare const useGetChatSubscription: () => {
|
|
1134
|
+
chat: ChatType;
|
|
1135
|
+
error: _apollo_client.ApolloError | undefined;
|
|
1136
|
+
loading: boolean;
|
|
1137
|
+
};
|
|
1116
1138
|
|
|
1117
1139
|
declare const useCreateUser: () => {
|
|
1118
1140
|
createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
@@ -1216,12 +1238,13 @@ declare const rejectionPolicyOptions: OptionItem[];
|
|
|
1216
1238
|
|
|
1217
1239
|
declare const loginFields: FormField[];
|
|
1218
1240
|
declare const registerFields: FormField[];
|
|
1219
|
-
declare const
|
|
1241
|
+
declare const requestPasswordResetFields: FormField[];
|
|
1220
1242
|
declare const resetPasswordFields: FormField[];
|
|
1243
|
+
declare const validateTokenFields: FormField[];
|
|
1221
1244
|
|
|
1222
1245
|
declare const profileFields: FormField[];
|
|
1223
1246
|
|
|
1224
1247
|
declare const availableCategories: Category[];
|
|
1225
1248
|
declare const categoryColors: Record<string, string>;
|
|
1226
1249
|
|
|
1227
|
-
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type
|
|
1250
|
+
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, EnumInviteStatus, EnumNotification, 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 OptionItem, type PlacePrediction, 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, dateTimeSchema, defaultMarketFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, emailSchema, endDateAfterStartDateTest, endDateNotInPastTest, endTimeMustBeAfterStartTimeTest, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, globalResourceSchema, locationSchema, loginFields, loginSchema, mapArrayToOptions, marketBasicInfoFields, marketEndDateFields, marketSchema, marketStartDateFields, packagingOptions, passwordSchema, paymentMethodOptions, producedIngOptions, profileFields, registerFields, registerSchema, rejectionPolicyOptions, removeTypename, requestPasswordResetFields, requestPasswordResetSchema, resetPasswordFields, resetPasswordSchema, sortDatesByProximity, stallApplicationInfo, stallHolderSchema, stallholderApplyFormSchema, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, startDateNotInPastTest, startTimeCannotBeInPastTest, statusOptions, tagOptions, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useCreateChat, useCreateMarket, 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, userSchema, validateTokenFields, validateTokenSchema };
|