@timardex/cluemart-shared 1.2.49 → 1.2.51
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/{ad-DPP5n_ZS.d.mts → ad-C98yzFdy.d.mts} +19 -6
- package/dist/{ad-BBJMdfCl.d.ts → ad-CPL59gj7.d.ts} +19 -6
- package/dist/{auth-CQPRj4DB.d.mts → auth-D636FFnJ.d.mts} +1 -1
- package/dist/{auth-OLWCR6Zr.d.ts → auth-D6Rg-cEc.d.ts} +1 -1
- package/dist/{chunk-HFYQRL77.mjs → chunk-IRQ365TO.mjs} +2 -2
- package/dist/{chunk-XXZPSRMS.mjs → chunk-N625BZKR.mjs} +3 -2
- package/dist/chunk-N625BZKR.mjs.map +1 -0
- package/dist/{chunk-WNRV4DSZ.mjs → chunk-V3BTJQHJ.mjs} +11 -4
- package/dist/chunk-V3BTJQHJ.mjs.map +1 -0
- package/dist/enums/index.cjs +11 -3
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +11 -6
- package/dist/enums/index.d.ts +11 -6
- package/dist/enums/index.mjs +3 -1
- package/dist/formFields/index.cjs +94 -82
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +4 -3
- package/dist/formFields/index.d.ts +4 -3
- package/dist/formFields/index.mjs +24 -10
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-qg1lwtYo.d.mts → global-Czf4z7aN.d.mts} +3 -3
- package/dist/{global-Be5v6emI.d.ts → global-dQyePynY.d.ts} +3 -3
- package/dist/graphql/index.cjs +393 -189
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +44 -3
- package/dist/graphql/index.d.ts +44 -3
- package/dist/graphql/index.mjs +292 -95
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +135 -28
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +13 -4
- package/dist/hooks/index.d.ts +13 -4
- package/dist/hooks/index.mjs +128 -29
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +688 -361
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +81 -12
- package/dist/index.d.ts +81 -12
- package/dist/index.mjs +562 -245
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +2 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-WNRV4DSZ.mjs.map +0 -1
- package/dist/chunk-XXZPSRMS.mjs.map +0 -1
- /package/dist/{chunk-HFYQRL77.mjs.map → chunk-IRQ365TO.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-BUFJqkMf.mjs';
|
|
3
|
-
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-
|
|
3
|
+
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-Czf4z7aN.mjs';
|
|
4
4
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData } from '../ad-
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType } from '../ad-C98yzFdy.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -543,4 +543,45 @@ declare const useGetSubscriptionStatus: () => {
|
|
|
543
543
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
544
544
|
};
|
|
545
545
|
|
|
546
|
-
|
|
546
|
+
declare const useCreatePartner: () => {
|
|
547
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
548
|
+
error: _apollo_client.ApolloError | undefined;
|
|
549
|
+
loading: boolean;
|
|
550
|
+
};
|
|
551
|
+
declare const useUpdatePartner: () => {
|
|
552
|
+
error: _apollo_client.ApolloError | undefined;
|
|
553
|
+
loading: boolean;
|
|
554
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
555
|
+
};
|
|
556
|
+
declare const useDeletePartner: () => {
|
|
557
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
558
|
+
error: _apollo_client.ApolloError | undefined;
|
|
559
|
+
loading: boolean;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
declare const useGetPartners: () => {
|
|
563
|
+
error: _apollo_client.ApolloError | undefined;
|
|
564
|
+
loading: boolean;
|
|
565
|
+
partners: PartnerType[];
|
|
566
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
567
|
+
};
|
|
568
|
+
declare const useGetPartner: (_id: string) => {
|
|
569
|
+
error: _apollo_client.ApolloError | undefined;
|
|
570
|
+
loading: boolean;
|
|
571
|
+
partner: PartnerType;
|
|
572
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
573
|
+
};
|
|
574
|
+
declare const useGetPartnersByRegion: (region: string) => {
|
|
575
|
+
error: _apollo_client.ApolloError | undefined;
|
|
576
|
+
loading: boolean;
|
|
577
|
+
partnersByRegion: PartnerType[];
|
|
578
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
579
|
+
};
|
|
580
|
+
declare const useSearchPartners: (search: string, region: string) => {
|
|
581
|
+
error: _apollo_client.ApolloError | undefined;
|
|
582
|
+
loading: boolean;
|
|
583
|
+
partnerSearch: PartnerType[];
|
|
584
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-BjvoQkGD.js';
|
|
3
|
-
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-
|
|
3
|
+
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-dQyePynY.js';
|
|
4
4
|
import { EnumResourceType } from '../enums/index.js';
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData } from '../ad-
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType } from '../ad-CPL59gj7.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -543,4 +543,45 @@ declare const useGetSubscriptionStatus: () => {
|
|
|
543
543
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
544
544
|
};
|
|
545
545
|
|
|
546
|
-
|
|
546
|
+
declare const useCreatePartner: () => {
|
|
547
|
+
createPartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
548
|
+
error: _apollo_client.ApolloError | undefined;
|
|
549
|
+
loading: boolean;
|
|
550
|
+
};
|
|
551
|
+
declare const useUpdatePartner: () => {
|
|
552
|
+
error: _apollo_client.ApolloError | undefined;
|
|
553
|
+
loading: boolean;
|
|
554
|
+
updatePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
555
|
+
};
|
|
556
|
+
declare const useDeletePartner: () => {
|
|
557
|
+
deletePartner: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
558
|
+
error: _apollo_client.ApolloError | undefined;
|
|
559
|
+
loading: boolean;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
declare const useGetPartners: () => {
|
|
563
|
+
error: _apollo_client.ApolloError | undefined;
|
|
564
|
+
loading: boolean;
|
|
565
|
+
partners: PartnerType[];
|
|
566
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
567
|
+
};
|
|
568
|
+
declare const useGetPartner: (_id: string) => {
|
|
569
|
+
error: _apollo_client.ApolloError | undefined;
|
|
570
|
+
loading: boolean;
|
|
571
|
+
partner: PartnerType;
|
|
572
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
573
|
+
};
|
|
574
|
+
declare const useGetPartnersByRegion: (region: string) => {
|
|
575
|
+
error: _apollo_client.ApolloError | undefined;
|
|
576
|
+
loading: boolean;
|
|
577
|
+
partnersByRegion: PartnerType[];
|
|
578
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
579
|
+
};
|
|
580
|
+
declare const useSearchPartners: (search: string, region: string) => {
|
|
581
|
+
error: _apollo_client.ApolloError | undefined;
|
|
582
|
+
loading: boolean;
|
|
583
|
+
partnerSearch: PartnerType[];
|
|
584
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateTester, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeleteRelation, useDeleteTester, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetRelation, useGetRelationByEventAndVendor, useGetResourceActivities, useGetResourceConnections, useGetSubscriptionStatus, useGetTester, useGetTesters, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSendChatMessage, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdatePartner, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateTester, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|