@timardex/cluemart-shared 1.0.84 → 1.0.85

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
@@ -856,17 +856,15 @@ declare const useDeleteNotification: () => {
856
856
  loading: boolean;
857
857
  };
858
858
 
859
- declare const useGetUserNotifications: (userId: string, limit?: number, offset?: number) => {
859
+ declare const useGetUserNotificationsSubscription: (userId: string) => {
860
860
  error: _apollo_client.ApolloError | undefined;
861
861
  loading: boolean;
862
862
  notifications: NotificationType[];
863
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
864
863
  };
865
- declare const useGetNotificationCount: (userId: string) => {
864
+ declare const useGetNotificationCountSubscription: (userId: string) => {
866
865
  error: _apollo_client.ApolloError | undefined;
867
866
  loading: boolean;
868
867
  notificationCount: NotificationCount;
869
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
870
868
  };
871
869
 
872
870
  declare const useCreatePoster: () => {
@@ -1076,8 +1074,6 @@ declare const useGetUserFavourites: () => {
1076
1074
  };
1077
1075
  };
1078
1076
 
1079
- declare const GET_CHAT_MESSAGE: _apollo_client.DocumentNode;
1080
-
1081
1077
  interface PlacePrediction {
1082
1078
  place_id: string;
1083
1079
  description: string;
@@ -1266,4 +1262,4 @@ declare const availableRegionOptions: OptionItem[];
1266
1262
  declare const paymentMethodOptions: OptionItem[];
1267
1263
  declare function normalizeUrl(url: string): string;
1268
1264
 
1269
- 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 CreateNotificationInput, 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, GET_CHAT_MESSAGE, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, 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, useCreateNotification, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, 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 };
1265
+ 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 CreateNotificationInput, 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 MarkAllNotificationsReadInput, type MarkNotificationReadInput, 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, useCreateNotification, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, 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
@@ -856,17 +856,15 @@ declare const useDeleteNotification: () => {
856
856
  loading: boolean;
857
857
  };
858
858
 
859
- declare const useGetUserNotifications: (userId: string, limit?: number, offset?: number) => {
859
+ declare const useGetUserNotificationsSubscription: (userId: string) => {
860
860
  error: _apollo_client.ApolloError | undefined;
861
861
  loading: boolean;
862
862
  notifications: NotificationType[];
863
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
864
863
  };
865
- declare const useGetNotificationCount: (userId: string) => {
864
+ declare const useGetNotificationCountSubscription: (userId: string) => {
866
865
  error: _apollo_client.ApolloError | undefined;
867
866
  loading: boolean;
868
867
  notificationCount: NotificationCount;
869
- refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
870
868
  };
871
869
 
872
870
  declare const useCreatePoster: () => {
@@ -1076,8 +1074,6 @@ declare const useGetUserFavourites: () => {
1076
1074
  };
1077
1075
  };
1078
1076
 
1079
- declare const GET_CHAT_MESSAGE: _apollo_client.DocumentNode;
1080
-
1081
1077
  interface PlacePrediction {
1082
1078
  place_id: string;
1083
1079
  description: string;
@@ -1266,4 +1262,4 @@ declare const availableRegionOptions: OptionItem[];
1266
1262
  declare const paymentMethodOptions: OptionItem[];
1267
1263
  declare function normalizeUrl(url: string): string;
1268
1264
 
1269
- 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 CreateNotificationInput, 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, GET_CHAT_MESSAGE, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, 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, useCreateNotification, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, 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 };
1265
+ 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 CreateNotificationInput, 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 MarkAllNotificationsReadInput, type MarkNotificationReadInput, 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, useCreateNotification, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, 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
@@ -2341,6 +2341,14 @@ var USER_CHATS = gql6`
2341
2341
  }
2342
2342
  ${CHAT_FIELDS_FRAGMENT}
2343
2343
  `;
2344
+ var GET_CHAT_MESSAGE = gql6`
2345
+ subscription {
2346
+ getChatMessage {
2347
+ ...ChatFields
2348
+ }
2349
+ }
2350
+ ${CHAT_FIELDS_FRAGMENT}
2351
+ `;
2344
2352
 
2345
2353
  // src/graphql/mutations/chat.ts
2346
2354
  var CREATE_CHAT_MUTATION = gql7`
@@ -2465,19 +2473,6 @@ var useRemoveParticipantFromChat = () => {
2465
2473
 
2466
2474
  // src/graphql/hooks/chat/hooksQuery.ts
2467
2475
  import { useQuery, useSubscription } from "@apollo/client";
2468
-
2469
- // src/graphql/subscriptions/chat.ts
2470
- import { gql as gql8 } from "@apollo/client";
2471
- var GET_CHAT_MESSAGE = gql8`
2472
- subscription {
2473
- getChatMessage {
2474
- ...ChatFields
2475
- }
2476
- }
2477
- ${CHAT_FIELDS_FRAGMENT}
2478
- `;
2479
-
2480
- // src/graphql/hooks/chat/hooksQuery.ts
2481
2476
  var useGetChat = (_id) => {
2482
2477
  const { loading, error, data, refetch } = useQuery(CHAT, {
2483
2478
  fetchPolicy: "network-only",
@@ -2504,8 +2499,8 @@ var useGetChatSubscription = () => {
2504
2499
  import { useMutation as useMutation4 } from "@apollo/client";
2505
2500
 
2506
2501
  // src/graphql/mutations/contactUs.ts
2507
- import { gql as gql9 } from "@apollo/client";
2508
- var CONTACT_US_MUTATION = gql9`
2502
+ import { gql as gql8 } from "@apollo/client";
2503
+ var CONTACT_US_MUTATION = gql8`
2509
2504
  mutation contactUs($input: ContactUsInputType!) {
2510
2505
  contactUs(input: $input) {
2511
2506
  message
@@ -2523,8 +2518,8 @@ var useContactUs = () => {
2523
2518
  import { useMutation as useMutation5 } from "@apollo/client";
2524
2519
 
2525
2520
  // src/graphql/mutations/market.ts
2526
- import { gql as gql10 } from "@apollo/client";
2527
- var CREATE_MARKET_MUTATION = gql10`
2521
+ import { gql as gql9 } from "@apollo/client";
2522
+ var CREATE_MARKET_MUTATION = gql9`
2528
2523
  mutation createMarket($input: MarketInputType!) {
2529
2524
  createMarket(input: $input) {
2530
2525
  ...MarketFields
@@ -2532,7 +2527,7 @@ var CREATE_MARKET_MUTATION = gql10`
2532
2527
  }
2533
2528
  ${MARKET}
2534
2529
  `;
2535
- var UPDATE_MARKET_MUTATION = gql10`
2530
+ var UPDATE_MARKET_MUTATION = gql9`
2536
2531
  mutation updateMarket($_id: ID!, $input: MarketInputType!) {
2537
2532
  updateMarket(_id: $_id, input: $input) {
2538
2533
  ...MarketFields
@@ -2540,12 +2535,12 @@ var UPDATE_MARKET_MUTATION = gql10`
2540
2535
  }
2541
2536
  ${MARKET}
2542
2537
  `;
2543
- var DELETE_MARKET_MUTATION = gql10`
2538
+ var DELETE_MARKET_MUTATION = gql9`
2544
2539
  mutation deleteMarket($_id: ID!) {
2545
2540
  deleteMarket(_id: $_id)
2546
2541
  }
2547
2542
  `;
2548
- var CREATE_MARKET_INFO_MUTATION = gql10`
2543
+ var CREATE_MARKET_INFO_MUTATION = gql9`
2549
2544
  mutation createMarketInfo($input: MarketInfoInputType!) {
2550
2545
  createMarketInfo(input: $input) {
2551
2546
  ...MarketInfoFields
@@ -2553,7 +2548,7 @@ var CREATE_MARKET_INFO_MUTATION = gql10`
2553
2548
  }
2554
2549
  ${MARKET_INFO}
2555
2550
  `;
2556
- var UPDATE_MARKET_INFO_MUTATION = gql10`
2551
+ var UPDATE_MARKET_INFO_MUTATION = gql9`
2557
2552
  mutation updateMarketInfo($_id: ID!, $input: MarketInfoInputType!) {
2558
2553
  updateMarketInfo(_id: $_id, input: $input) {
2559
2554
  ...MarketInfoFields
@@ -2563,8 +2558,8 @@ var UPDATE_MARKET_INFO_MUTATION = gql10`
2563
2558
  `;
2564
2559
 
2565
2560
  // src/graphql/queries/user.ts
2566
- import { gql as gql11 } from "@apollo/client";
2567
- var GET_USERS = gql11`
2561
+ import { gql as gql10 } from "@apollo/client";
2562
+ var GET_USERS = gql10`
2568
2563
  query getUsers {
2569
2564
  users {
2570
2565
  ...UserFields
@@ -2572,7 +2567,7 @@ var GET_USERS = gql11`
2572
2567
  }
2573
2568
  ${USER_FIELDS_FRAGMENT}
2574
2569
  `;
2575
- var GET_USER = gql11`
2570
+ var GET_USER = gql10`
2576
2571
  query getUser($_id: ID!) {
2577
2572
  user(_id: $_id) {
2578
2573
  ...UserFields
@@ -2580,7 +2575,7 @@ var GET_USER = gql11`
2580
2575
  }
2581
2576
  ${USER_FIELDS_FRAGMENT}
2582
2577
  `;
2583
- var GET_USER_MARKETS = gql11`
2578
+ var GET_USER_MARKETS = gql10`
2584
2579
  query getUserMarkets {
2585
2580
  userMarkets {
2586
2581
  ...MarketFields
@@ -2588,7 +2583,7 @@ var GET_USER_MARKETS = gql11`
2588
2583
  }
2589
2584
  ${MARKET}
2590
2585
  `;
2591
- var GET_USER_STALLHOLDER = gql11`
2586
+ var GET_USER_STALLHOLDER = gql10`
2592
2587
  query getUserStallholder {
2593
2588
  userStallholder {
2594
2589
  ...StallholderFields
@@ -2596,7 +2591,7 @@ var GET_USER_STALLHOLDER = gql11`
2596
2591
  }
2597
2592
  ${STALLHOLDER}
2598
2593
  `;
2599
- var GET_USER_FAVOURITES = gql11`
2594
+ var GET_USER_FAVOURITES = gql10`
2600
2595
  query getUserFavourites {
2601
2596
  userFavourites {
2602
2597
  markets {
@@ -2758,11 +2753,11 @@ var useGetMarketInfo = (marketId) => {
2758
2753
  import { useMutation as useMutation6 } from "@apollo/client";
2759
2754
 
2760
2755
  // src/graphql/mutations/notification.ts
2761
- import { gql as gql13 } from "@apollo/client";
2756
+ import { gql as gql12 } from "@apollo/client";
2762
2757
 
2763
2758
  // src/graphql/queries/notification.ts
2764
- import { gql as gql12 } from "@apollo/client";
2765
- var USER_NOTIFICATION_FRAGMENT = gql12`
2759
+ import { gql as gql11 } from "@apollo/client";
2760
+ var USER_NOTIFICATION_FRAGMENT = gql11`
2766
2761
  fragment UserNotificationFields on Notification {
2767
2762
  _id
2768
2763
  userId
@@ -2775,7 +2770,7 @@ var USER_NOTIFICATION_FRAGMENT = gql12`
2775
2770
  updatedAt
2776
2771
  }
2777
2772
  `;
2778
- var GET_USER_NOTIFICATIONS = gql12`
2773
+ var GET_USER_NOTIFICATIONS = gql11`
2779
2774
  query getUserNotifications($userId: String!, $limit: Int, $offset: Int) {
2780
2775
  userNotifications(userId: $userId, limit: $limit, offset: $offset) {
2781
2776
  ...UserNotificationFields
@@ -2783,7 +2778,7 @@ var GET_USER_NOTIFICATIONS = gql12`
2783
2778
  }
2784
2779
  ${USER_NOTIFICATION_FRAGMENT}
2785
2780
  `;
2786
- var GET_NOTIFICATION_COUNT = gql12`
2781
+ var GET_NOTIFICATION_COUNT = gql11`
2787
2782
  query getNotificationCount($userId: String!) {
2788
2783
  notificationCount(userId: $userId) {
2789
2784
  total
@@ -2793,7 +2788,7 @@ var GET_NOTIFICATION_COUNT = gql12`
2793
2788
  `;
2794
2789
 
2795
2790
  // src/graphql/mutations/notification.ts
2796
- var CREATE_NOTIFICATION = gql13`
2791
+ var CREATE_NOTIFICATION = gql12`
2797
2792
  mutation createNotification($input: CreateNotificationInput!) {
2798
2793
  createNotification(input: $input) {
2799
2794
  ...UserNotificationFields
@@ -2801,7 +2796,7 @@ var CREATE_NOTIFICATION = gql13`
2801
2796
  }
2802
2797
  ${USER_NOTIFICATION_FRAGMENT}
2803
2798
  `;
2804
- var CREATE_BULK_NOTIFICATIONS = gql13`
2799
+ var CREATE_BULK_NOTIFICATIONS = gql12`
2805
2800
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
2806
2801
  createBulkNotifications(input: $input) {
2807
2802
  ...UserNotificationFields
@@ -2809,7 +2804,7 @@ var CREATE_BULK_NOTIFICATIONS = gql13`
2809
2804
  }
2810
2805
  ${USER_NOTIFICATION_FRAGMENT}
2811
2806
  `;
2812
- var MARK_NOTIFICATION_READ = gql13`
2807
+ var MARK_NOTIFICATION_READ = gql12`
2813
2808
  mutation markNotificationRead($input: MarkNotificationReadInput!) {
2814
2809
  markNotificationRead(input: $input) {
2815
2810
  ...UserNotificationFields
@@ -2817,12 +2812,12 @@ var MARK_NOTIFICATION_READ = gql13`
2817
2812
  }
2818
2813
  ${USER_NOTIFICATION_FRAGMENT}
2819
2814
  `;
2820
- var MARK_ALL_NOTIFICATIONS_READ = gql13`
2815
+ var MARK_ALL_NOTIFICATIONS_READ = gql12`
2821
2816
  mutation markAllNotificationsRead($input: MarkAllNotificationsReadInput!) {
2822
2817
  markAllNotificationsRead(input: $input)
2823
2818
  }
2824
2819
  `;
2825
- var DELETE_NOTIFICATION = gql13`
2820
+ var DELETE_NOTIFICATION = gql12`
2826
2821
  mutation deleteNotification($_id: ID!) {
2827
2822
  deleteNotification(_id: $_id)
2828
2823
  }
@@ -2867,40 +2862,62 @@ var useDeleteNotification = () => {
2867
2862
  return { deleteNotification, error, loading };
2868
2863
  };
2869
2864
 
2870
- // src/graphql/hooks/notifications/hooksQuery.ts
2871
- import { useQuery as useQuery3 } from "@apollo/client";
2872
- var useGetUserNotifications = (userId, limit, offset) => {
2873
- const { data, error, loading, refetch } = useQuery3(GET_USER_NOTIFICATIONS, {
2874
- fetchPolicy: "no-cache",
2875
- skip: !userId,
2876
- variables: {
2877
- limit: limit ?? 50,
2878
- offset: offset ?? 0,
2879
- userId
2865
+ // src/graphql/hooks/notifications/hooksSubscription.ts
2866
+ import { useSubscription as useSubscription2 } from "@apollo/client";
2867
+
2868
+ // src/graphql/subscriptions/notification.ts
2869
+ import { gql as gql13 } from "@apollo/client";
2870
+ var USER_NOTIFICATION_FRAGMENT2 = gql13`
2871
+ fragment UserNotificationFields on Notification {
2872
+ _id
2873
+ userId
2874
+ title
2875
+ message
2876
+ type
2877
+ isRead
2878
+ data
2879
+ createdAt
2880
+ updatedAt
2881
+ }
2882
+ `;
2883
+ var GET_USER_NOTIFICATIONS_SUBSCRIPTION = gql13`
2884
+ subscription getUserNotifications($userId: String!) {
2885
+ getUserNotifications(userId: $userId) {
2886
+ ...UserNotificationFields
2887
+ }
2888
+ }
2889
+ ${USER_NOTIFICATION_FRAGMENT2}
2890
+ `;
2891
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = gql13`
2892
+ subscription getNotificationCount($userId: String!) {
2893
+ getNotificationCount(userId: $userId) {
2894
+ total
2895
+ unread
2880
2896
  }
2897
+ }
2898
+ `;
2899
+
2900
+ // src/graphql/hooks/notifications/hooksSubscription.ts
2901
+ var useGetUserNotificationsSubscription = (userId) => {
2902
+ const { data, loading, error } = useSubscription2(GET_USER_NOTIFICATIONS_SUBSCRIPTION, {
2903
+ skip: !userId,
2904
+ variables: { userId }
2881
2905
  });
2882
- const notifications = data?.userNotifications;
2883
2906
  return {
2884
2907
  error,
2885
2908
  loading,
2886
- notifications,
2887
- refetch
2909
+ notifications: data?.getUserNotifications || []
2888
2910
  };
2889
2911
  };
2890
- var useGetNotificationCount = (userId) => {
2891
- const { data, error, loading, refetch } = useQuery3(GET_NOTIFICATION_COUNT, {
2892
- fetchPolicy: "no-cache",
2912
+ var useGetNotificationCountSubscription = (userId) => {
2913
+ const { data, loading, error } = useSubscription2(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
2893
2914
  skip: !userId,
2894
- variables: {
2895
- userId
2896
- }
2915
+ variables: { userId }
2897
2916
  });
2898
- const notificationCount = data?.notificationCount;
2899
2917
  return {
2900
2918
  error,
2901
2919
  loading,
2902
- notificationCount,
2903
- refetch
2920
+ notificationCount: data?.getNotificationCount || { total: 0, unread: 0 }
2904
2921
  };
2905
2922
  };
2906
2923
 
@@ -3299,9 +3316,9 @@ var useDeleteRelation = () => {
3299
3316
  };
3300
3317
 
3301
3318
  // src/graphql/hooks/relation/hooksQuery.ts
3302
- import { useQuery as useQuery4 } from "@apollo/client";
3319
+ import { useQuery as useQuery3 } from "@apollo/client";
3303
3320
  var useGetRelation = (id) => {
3304
- const { loading, error, data, refetch } = useQuery4(GET_RELATION, {
3321
+ const { loading, error, data, refetch } = useQuery3(GET_RELATION, {
3305
3322
  fetchPolicy: "network-only",
3306
3323
  skip: id === "",
3307
3324
  variables: { id }
@@ -3310,7 +3327,7 @@ var useGetRelation = (id) => {
3310
3327
  return { error, loading, refetch, relation };
3311
3328
  };
3312
3329
  var useGetRelationByMarketAndStallholder = (marketId, stallholderId) => {
3313
- const { loading, error, data, refetch } = useQuery4(
3330
+ const { loading, error, data, refetch } = useQuery3(
3314
3331
  GET_RELATION_BY_MARKET_AND_STALLHOLDER,
3315
3332
  {
3316
3333
  fetchPolicy: "network-only",
@@ -3322,7 +3339,7 @@ var useGetRelationByMarketAndStallholder = (marketId, stallholderId) => {
3322
3339
  return { error, loading, refetch, relationByMarketAndStallholder };
3323
3340
  };
3324
3341
  var useGetMarketRelations = (marketId) => {
3325
- const { loading, error, data, refetch } = useQuery4(GET_MARKET_RELATIONS, {
3342
+ const { loading, error, data, refetch } = useQuery3(GET_MARKET_RELATIONS, {
3326
3343
  fetchPolicy: "network-only",
3327
3344
  skip: marketId === "",
3328
3345
  variables: { marketId }
@@ -3331,7 +3348,7 @@ var useGetMarketRelations = (marketId) => {
3331
3348
  return { error, loading, marketRelations, refetch };
3332
3349
  };
3333
3350
  var useGetStallholderRelations = (stallholderId) => {
3334
- const { loading, error, data, refetch } = useQuery4(
3351
+ const { loading, error, data, refetch } = useQuery3(
3335
3352
  GET_STALLHOLDER_RELATIONS,
3336
3353
  {
3337
3354
  fetchPolicy: "network-only",
@@ -3343,7 +3360,7 @@ var useGetStallholderRelations = (stallholderId) => {
3343
3360
  return { error, loading, refetch, stallholderRelations };
3344
3361
  };
3345
3362
  var useGetResourceConnections = (resourceId, resourceType) => {
3346
- const { loading, error, data, refetch } = useQuery4(GET_RESOURCE_CONNECTIONS, {
3363
+ const { loading, error, data, refetch } = useQuery3(GET_RESOURCE_CONNECTIONS, {
3347
3364
  fetchPolicy: "network-only",
3348
3365
  variables: { resourceId, resourceType }
3349
3366
  });
@@ -3477,9 +3494,9 @@ var useUpdateStallholderInfo = () => {
3477
3494
  };
3478
3495
 
3479
3496
  // src/graphql/hooks/stallholder/hooksQuery.ts
3480
- import { useQuery as useQuery5 } from "@apollo/client";
3497
+ import { useQuery as useQuery4 } from "@apollo/client";
3481
3498
  var useGetStallholders = () => {
3482
- const { loading, error, data, refetch } = useQuery5(GET_STALLHOLDERS, {
3499
+ const { loading, error, data, refetch } = useQuery4(GET_STALLHOLDERS, {
3483
3500
  fetchPolicy: "network-only"
3484
3501
  });
3485
3502
  const stallholders = data?.stallholders;
@@ -3491,7 +3508,7 @@ var useGetStallholders = () => {
3491
3508
  };
3492
3509
  };
3493
3510
  var useGetStallholder = (_id) => {
3494
- const { loading, error, data, refetch } = useQuery5(GET_STALLHOLDER, {
3511
+ const { loading, error, data, refetch } = useQuery4(GET_STALLHOLDER, {
3495
3512
  fetchPolicy: "network-only",
3496
3513
  skip: !_id,
3497
3514
  variables: { _id }
@@ -3500,7 +3517,7 @@ var useGetStallholder = (_id) => {
3500
3517
  return { error, loading, refetch, stallholder };
3501
3518
  };
3502
3519
  var useGetStallholdersByRegion = (region) => {
3503
- const { loading, error, data, refetch } = useQuery5(
3520
+ const { loading, error, data, refetch } = useQuery4(
3504
3521
  GET_STALLHOLDERS_BY_REGION,
3505
3522
  {
3506
3523
  fetchPolicy: "no-cache",
@@ -3512,7 +3529,7 @@ var useGetStallholdersByRegion = (region) => {
3512
3529
  return { error, loading, refetch, stallholdersByRegion };
3513
3530
  };
3514
3531
  var useSearchStallholders = (search, region) => {
3515
- const { loading, error, data, refetch } = useQuery5(SEARCH_STALLHOLDERS, {
3532
+ const { loading, error, data, refetch } = useQuery4(SEARCH_STALLHOLDERS, {
3516
3533
  fetchPolicy: "network-only",
3517
3534
  skip: search.length < 3,
3518
3535
  variables: { region, search }
@@ -3521,7 +3538,7 @@ var useSearchStallholders = (search, region) => {
3521
3538
  return { error, loading, refetch, stallholderSearch };
3522
3539
  };
3523
3540
  var useGetStallholderInfo = (stallholderId) => {
3524
- const { loading, error, data, refetch } = useQuery5(GET_STALLHOLDER_INFO, {
3541
+ const { loading, error, data, refetch } = useQuery4(GET_STALLHOLDER_INFO, {
3525
3542
  fetchPolicy: "network-only",
3526
3543
  skip: !stallholderId,
3527
3544
  variables: { stallholderId }
@@ -3627,9 +3644,9 @@ var useDeleteTester = () => {
3627
3644
  };
3628
3645
 
3629
3646
  // src/graphql/hooks/testers/hooksQuery.ts
3630
- import { useQuery as useQuery6 } from "@apollo/client";
3647
+ import { useQuery as useQuery5 } from "@apollo/client";
3631
3648
  var useGetTesters = () => {
3632
- const { data, loading, error, refetch } = useQuery6(GET_TESTERS);
3649
+ const { data, loading, error, refetch } = useQuery5(GET_TESTERS);
3633
3650
  const testers = data?.testers;
3634
3651
  return {
3635
3652
  error,
@@ -3639,7 +3656,7 @@ var useGetTesters = () => {
3639
3656
  };
3640
3657
  };
3641
3658
  var useGetTester = (_id) => {
3642
- const { data, loading, error, refetch } = useQuery6(GET_TESTER, {
3659
+ const { data, loading, error, refetch } = useQuery5(GET_TESTER, {
3643
3660
  skip: !_id,
3644
3661
  variables: { _id }
3645
3662
  });
@@ -3748,37 +3765,37 @@ var useRemoveUserFavouriteResource = () => {
3748
3765
  };
3749
3766
 
3750
3767
  // src/graphql/hooks/user/hooksQuery.ts
3751
- import { useQuery as useQuery7 } from "@apollo/client";
3768
+ import { useQuery as useQuery6 } from "@apollo/client";
3752
3769
  var useGetUsers = () => {
3753
- const { loading, error, data, refetch } = useQuery7(GET_USERS, {
3770
+ const { loading, error, data, refetch } = useQuery6(GET_USERS, {
3754
3771
  fetchPolicy: "network-only"
3755
3772
  });
3756
3773
  const users = data?.users;
3757
3774
  return { error, loading, refetch, users };
3758
3775
  };
3759
3776
  var useGetUser = (_id) => {
3760
- const { loading, error, data, refetch } = useQuery7(GET_USER, {
3777
+ const { loading, error, data, refetch } = useQuery6(GET_USER, {
3761
3778
  variables: { _id }
3762
3779
  });
3763
3780
  const user = data?.user;
3764
3781
  return { error, loading, refetch, user };
3765
3782
  };
3766
3783
  var useGetUserMarkets = () => {
3767
- const { loading, error, data, refetch } = useQuery7(GET_USER_MARKETS, {
3784
+ const { loading, error, data, refetch } = useQuery6(GET_USER_MARKETS, {
3768
3785
  fetchPolicy: "network-only"
3769
3786
  });
3770
3787
  const userMarkets = data?.userMarkets;
3771
3788
  return { error, loading, refetch, userMarkets };
3772
3789
  };
3773
3790
  var useGetUserStallholder = () => {
3774
- const { loading, error, data, refetch } = useQuery7(GET_USER_STALLHOLDER, {
3791
+ const { loading, error, data, refetch } = useQuery6(GET_USER_STALLHOLDER, {
3775
3792
  fetchPolicy: "network-only"
3776
3793
  });
3777
3794
  const userStallholder = data?.userStallholder;
3778
3795
  return { error, loading, refetch, userStallholder };
3779
3796
  };
3780
3797
  var useGetUserFavourites = () => {
3781
- const { loading, error, data, refetch } = useQuery7(GET_USER_FAVOURITES, {
3798
+ const { loading, error, data, refetch } = useQuery6(GET_USER_FAVOURITES, {
3782
3799
  fetchPolicy: "network-only"
3783
3800
  });
3784
3801
  const markets = data?.userFavourites.markets;
@@ -5036,7 +5053,6 @@ export {
5036
5053
  EnumSocialMedia,
5037
5054
  EnumUserLicence,
5038
5055
  EnumUserRole,
5039
- GET_CHAT_MESSAGE,
5040
5056
  ImageTypeEnum,
5041
5057
  SAVED_EMAIL_KEY,
5042
5058
  SAVED_PASSWORD_KEY,
@@ -5137,7 +5153,7 @@ export {
5137
5153
  useGetMarkets,
5138
5154
  useGetMarketsByRegion,
5139
5155
  useGetMarketsNearMe,
5140
- useGetNotificationCount,
5156
+ useGetNotificationCountSubscription,
5141
5157
  useGetRelation,
5142
5158
  useGetRelationByMarketAndStallholder,
5143
5159
  useGetResourceConnections,
@@ -5152,7 +5168,7 @@ export {
5152
5168
  useGetUserChats,
5153
5169
  useGetUserFavourites,
5154
5170
  useGetUserMarkets,
5155
- useGetUserNotifications,
5171
+ useGetUserNotificationsSubscription,
5156
5172
  useGetUserStallholder,
5157
5173
  useGetUsers,
5158
5174
  useLocationSearch,