@timardex/cluemart-shared 1.0.92 → 1.0.94

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.d.mts CHANGED
@@ -247,52 +247,6 @@ interface SatllholderWithConnectionDatesType extends StallholderType {
247
247
  relationDates: RelationDate[] | undefined;
248
248
  }
249
249
 
250
- type UserFormData = {
251
- _id?: string;
252
- active: boolean;
253
- avatar?: ResourceImageType | null;
254
- avatarUpload?: ResourceImageType | null;
255
- confirmPassword: string;
256
- email: string;
257
- firstName: string;
258
- lastName: string;
259
- password: string;
260
- preferredRegion: string;
261
- role: EnumUserRole;
262
- };
263
- interface CreateUserFormData {
264
- control: Control<UserFormData, any>;
265
- fields: UserFormData;
266
- formState: {
267
- errors: FieldErrors<UserFormData>;
268
- };
269
- handleSubmit: UseFormHandleSubmit<UserFormData, any>;
270
- reset: UseFormReset<UserFormData>;
271
- setValue: UseFormSetValue<UserFormData>;
272
- watch: UseFormWatch<UserFormData>;
273
- }
274
- interface UserType {
275
- _id: string;
276
- active: boolean;
277
- avatar: ResourceImageType | null;
278
- createdAt: string;
279
- email: string;
280
- favourites: {
281
- markets: string[];
282
- stallholders: string[];
283
- };
284
- firstName: string;
285
- lastName: string;
286
- licences: EnumUserLicence[] | null;
287
- markets: string[] | null;
288
- password: string;
289
- preferredRegion: string;
290
- refreshToken: string | null;
291
- role: EnumUserRole;
292
- stallholder: string | null;
293
- updatedAt: string;
294
- }
295
-
296
250
  type Nullable<T> = {
297
251
  [K in keyof T]: T[K] | null | undefined;
298
252
  };
@@ -319,10 +273,17 @@ interface BaseResourceTypeFormData {
319
273
  region: string;
320
274
  socialMedia?: SocialMediaType[] | null;
321
275
  }
276
+ type OwnerType = {
277
+ _id: string;
278
+ avatar: string | null;
279
+ email: string;
280
+ licences: string[];
281
+ name: string;
282
+ };
322
283
  type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
323
284
  _id: string;
324
285
  createdAt: string;
325
- owner: Pick<UserType, "_id" | "email" | "licences">;
286
+ owner: OwnerType;
326
287
  relationIds: string[] | null;
327
288
  updatedAt: string;
328
289
  };
@@ -498,7 +459,7 @@ interface CreateValidateVerificationTokenFormData {
498
459
 
499
460
  interface ChatInput {
500
461
  name: string;
501
- participants: string[];
462
+ participants: OwnerType[];
502
463
  }
503
464
  interface ChatMessageInput {
504
465
  content: string;
@@ -518,7 +479,7 @@ interface ChatType {
518
479
  createdAt: string;
519
480
  messages: ChatMessageType[];
520
481
  name: string;
521
- participants: string[];
482
+ participants: OwnerType[];
522
483
  updatedAt: string;
523
484
  }
524
485
 
@@ -605,6 +566,52 @@ type TesterType = {
605
566
  updatedAt: string;
606
567
  };
607
568
 
569
+ type UserFormData = {
570
+ _id?: string;
571
+ active: boolean;
572
+ avatar?: ResourceImageType | null;
573
+ avatarUpload?: ResourceImageType | null;
574
+ confirmPassword: string;
575
+ email: string;
576
+ firstName: string;
577
+ lastName: string;
578
+ password: string;
579
+ preferredRegion: string;
580
+ role: EnumUserRole;
581
+ };
582
+ interface CreateUserFormData {
583
+ control: Control<UserFormData, any>;
584
+ fields: UserFormData;
585
+ formState: {
586
+ errors: FieldErrors<UserFormData>;
587
+ };
588
+ handleSubmit: UseFormHandleSubmit<UserFormData, any>;
589
+ reset: UseFormReset<UserFormData>;
590
+ setValue: UseFormSetValue<UserFormData>;
591
+ watch: UseFormWatch<UserFormData>;
592
+ }
593
+ interface UserType {
594
+ _id: string;
595
+ active: boolean;
596
+ avatar: ResourceImageType | null;
597
+ createdAt: string;
598
+ email: string;
599
+ favourites: {
600
+ markets: string[];
601
+ stallholders: string[];
602
+ };
603
+ firstName: string;
604
+ lastName: string;
605
+ licences: EnumUserLicence[] | null;
606
+ markets: string[] | null;
607
+ password: string;
608
+ preferredRegion: string;
609
+ refreshToken: string | null;
610
+ role: EnumUserRole;
611
+ stallholder: string | null;
612
+ updatedAt: string;
613
+ }
614
+
608
615
  declare const stallholderElectricity: {
609
616
  details: FormField;
610
617
  isRequired: FormField;
@@ -1265,4 +1272,4 @@ declare const availableRegionOptions: OptionItem[];
1265
1272
  declare const paymentMethodOptions: OptionItem[];
1266
1273
  declare function normalizeUrl(url: string): string;
1267
1274
 
1268
- export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, 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, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSType, 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 NotificationType, type Nullable, type OptionItem, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, 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, 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, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, 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, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
1275
+ export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, 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, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSType, 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 NotificationType, type Nullable, type OptionItem, type OwnerType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, 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, 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, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, 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, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
package/dist/index.d.ts CHANGED
@@ -247,52 +247,6 @@ interface SatllholderWithConnectionDatesType extends StallholderType {
247
247
  relationDates: RelationDate[] | undefined;
248
248
  }
249
249
 
250
- type UserFormData = {
251
- _id?: string;
252
- active: boolean;
253
- avatar?: ResourceImageType | null;
254
- avatarUpload?: ResourceImageType | null;
255
- confirmPassword: string;
256
- email: string;
257
- firstName: string;
258
- lastName: string;
259
- password: string;
260
- preferredRegion: string;
261
- role: EnumUserRole;
262
- };
263
- interface CreateUserFormData {
264
- control: Control<UserFormData, any>;
265
- fields: UserFormData;
266
- formState: {
267
- errors: FieldErrors<UserFormData>;
268
- };
269
- handleSubmit: UseFormHandleSubmit<UserFormData, any>;
270
- reset: UseFormReset<UserFormData>;
271
- setValue: UseFormSetValue<UserFormData>;
272
- watch: UseFormWatch<UserFormData>;
273
- }
274
- interface UserType {
275
- _id: string;
276
- active: boolean;
277
- avatar: ResourceImageType | null;
278
- createdAt: string;
279
- email: string;
280
- favourites: {
281
- markets: string[];
282
- stallholders: string[];
283
- };
284
- firstName: string;
285
- lastName: string;
286
- licences: EnumUserLicence[] | null;
287
- markets: string[] | null;
288
- password: string;
289
- preferredRegion: string;
290
- refreshToken: string | null;
291
- role: EnumUserRole;
292
- stallholder: string | null;
293
- updatedAt: string;
294
- }
295
-
296
250
  type Nullable<T> = {
297
251
  [K in keyof T]: T[K] | null | undefined;
298
252
  };
@@ -319,10 +273,17 @@ interface BaseResourceTypeFormData {
319
273
  region: string;
320
274
  socialMedia?: SocialMediaType[] | null;
321
275
  }
276
+ type OwnerType = {
277
+ _id: string;
278
+ avatar: string | null;
279
+ email: string;
280
+ licences: string[];
281
+ name: string;
282
+ };
322
283
  type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
323
284
  _id: string;
324
285
  createdAt: string;
325
- owner: Pick<UserType, "_id" | "email" | "licences">;
286
+ owner: OwnerType;
326
287
  relationIds: string[] | null;
327
288
  updatedAt: string;
328
289
  };
@@ -498,7 +459,7 @@ interface CreateValidateVerificationTokenFormData {
498
459
 
499
460
  interface ChatInput {
500
461
  name: string;
501
- participants: string[];
462
+ participants: OwnerType[];
502
463
  }
503
464
  interface ChatMessageInput {
504
465
  content: string;
@@ -518,7 +479,7 @@ interface ChatType {
518
479
  createdAt: string;
519
480
  messages: ChatMessageType[];
520
481
  name: string;
521
- participants: string[];
482
+ participants: OwnerType[];
522
483
  updatedAt: string;
523
484
  }
524
485
 
@@ -605,6 +566,52 @@ type TesterType = {
605
566
  updatedAt: string;
606
567
  };
607
568
 
569
+ type UserFormData = {
570
+ _id?: string;
571
+ active: boolean;
572
+ avatar?: ResourceImageType | null;
573
+ avatarUpload?: ResourceImageType | null;
574
+ confirmPassword: string;
575
+ email: string;
576
+ firstName: string;
577
+ lastName: string;
578
+ password: string;
579
+ preferredRegion: string;
580
+ role: EnumUserRole;
581
+ };
582
+ interface CreateUserFormData {
583
+ control: Control<UserFormData, any>;
584
+ fields: UserFormData;
585
+ formState: {
586
+ errors: FieldErrors<UserFormData>;
587
+ };
588
+ handleSubmit: UseFormHandleSubmit<UserFormData, any>;
589
+ reset: UseFormReset<UserFormData>;
590
+ setValue: UseFormSetValue<UserFormData>;
591
+ watch: UseFormWatch<UserFormData>;
592
+ }
593
+ interface UserType {
594
+ _id: string;
595
+ active: boolean;
596
+ avatar: ResourceImageType | null;
597
+ createdAt: string;
598
+ email: string;
599
+ favourites: {
600
+ markets: string[];
601
+ stallholders: string[];
602
+ };
603
+ firstName: string;
604
+ lastName: string;
605
+ licences: EnumUserLicence[] | null;
606
+ markets: string[] | null;
607
+ password: string;
608
+ preferredRegion: string;
609
+ refreshToken: string | null;
610
+ role: EnumUserRole;
611
+ stallholder: string | null;
612
+ updatedAt: string;
613
+ }
614
+
608
615
  declare const stallholderElectricity: {
609
616
  details: FormField;
610
617
  isRequired: FormField;
@@ -1265,4 +1272,4 @@ declare const availableRegionOptions: OptionItem[];
1265
1272
  declare const paymentMethodOptions: OptionItem[];
1266
1273
  declare function normalizeUrl(url: string): string;
1267
1274
 
1268
- export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, 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, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSType, 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 NotificationType, type Nullable, type OptionItem, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, 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, 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, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, 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, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
1275
+ export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, 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, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSType, 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 NotificationType, type Nullable, type OptionItem, type OwnerType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, 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, 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, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, 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, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
package/dist/index.mjs CHANGED
@@ -1828,8 +1828,10 @@ var RESOURCE_IMAGE_FIELDS_FRAGMENT = gql2`
1828
1828
  var OWNER_FIELDS_FRAGMENT = gql2`
1829
1829
  fragment OwnerFields on OwnerType {
1830
1830
  _id
1831
+ avatar
1831
1832
  email
1832
1833
  licences
1834
+ name
1833
1835
  }
1834
1836
  `;
1835
1837
  var CATEGORY_FIELDS_FRAGMENT = gql2`
@@ -2320,7 +2322,11 @@ var CHAT_FIELDS_FRAGMENT = gql6`
2320
2322
  ...ChatMessageFields
2321
2323
  }
2322
2324
  name
2323
- participants
2325
+ participants {
2326
+ userId
2327
+ userName
2328
+ userAvatar
2329
+ }
2324
2330
  updatedAt
2325
2331
  }
2326
2332
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}