@timardex/cluemart-shared 1.5.633 → 1.5.634
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/{auth-CUd-VUEN.d.ts → auth-BHqJ27id.d.ts} +1 -1
- package/dist/{auth-BG7u9KHu.d.mts → auth-BJpF_-cS.d.mts} +1 -1
- package/dist/{chunk-YJSJHGZT.mjs → chunk-RJRBWUHN.mjs} +31 -11
- package/dist/chunk-RJRBWUHN.mjs.map +1 -0
- package/dist/{chunk-UXTUWVQB.mjs → chunk-WVUM6765.mjs} +1 -1
- package/dist/chunk-WVUM6765.mjs.map +1 -0
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-Brbdg9ob.d.ts → global-C0oWABvh.d.ts} +6 -1
- package/dist/{global-CI5OK3U9.d.mts → global-DkXf399E.d.mts} +6 -1
- package/dist/graphql/index.cjs +30 -10
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +31 -12
- package/dist/graphql/index.d.ts +31 -12
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +3 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +31 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +33 -9
- package/dist/index.d.ts +33 -9
- package/dist/index.mjs +31 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{post-B3XIgDei.d.ts → post-BPn_I16W.d.ts} +1 -1
- package/dist/{post-WSgS-zIK.d.mts → post-DUUhy0Rd.d.mts} +1 -1
- package/dist/{resourceActivities-Bv3pAH9H.d.ts → resourceActivities-CpGhukwk.d.ts} +1 -1
- package/dist/{resourceActivities-Br97kzRe.d.mts → resourceActivities-M-23xcpt.d.mts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-UXTUWVQB.mjs.map +0 -1
- package/dist/chunk-YJSJHGZT.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType,
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-M-23xcpt.mjs';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-DkXf399E.mjs';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-DUUhy0Rd.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.mjs';
|
|
8
8
|
import '../dailyClue-BnlktK68.mjs';
|
|
@@ -278,12 +278,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
|
|
|
278
278
|
eventByPlaceId: EventListItemType | null;
|
|
279
279
|
}>>;
|
|
280
280
|
};
|
|
281
|
-
|
|
282
|
-
onlyClaimed?: boolean;
|
|
283
|
-
limit?: number;
|
|
284
|
-
offset?: number;
|
|
285
|
-
}
|
|
286
|
-
declare const useGetEventsByRegion: (region: string, options?: UseGetEventsByRegionOptions) => {
|
|
281
|
+
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
287
282
|
error: _apollo_client.ApolloError | undefined;
|
|
288
283
|
eventsByRegion: EventListItemType[];
|
|
289
284
|
fetchMore: <TFetchData = {
|
|
@@ -545,8 +540,20 @@ declare const useGetVendor: (_id: string) => {
|
|
|
545
540
|
}>>;
|
|
546
541
|
vendor: VendorType | undefined;
|
|
547
542
|
};
|
|
548
|
-
declare const useGetVendorsByRegion: (region: string) => {
|
|
543
|
+
declare const useGetVendorsByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
549
544
|
error: _apollo_client.ApolloError | undefined;
|
|
545
|
+
fetchMore: <TFetchData = {
|
|
546
|
+
vendorsByRegion: VendorType[];
|
|
547
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
548
|
+
updateQuery?: ((previousQueryResult: {
|
|
549
|
+
vendorsByRegion: VendorType[];
|
|
550
|
+
}, options: {
|
|
551
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
552
|
+
variables: TFetchVars;
|
|
553
|
+
}) => {
|
|
554
|
+
vendorsByRegion: VendorType[];
|
|
555
|
+
}) | undefined;
|
|
556
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
550
557
|
loading: boolean;
|
|
551
558
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
552
559
|
vendorsByRegion: VendorType[];
|
|
@@ -909,8 +916,20 @@ declare const useGetPartner: (_id: string) => {
|
|
|
909
916
|
partner: PartnerType;
|
|
910
917
|
}>>;
|
|
911
918
|
};
|
|
912
|
-
declare const useGetPartnersByRegion: (region: string) => {
|
|
919
|
+
declare const useGetPartnersByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
913
920
|
error: _apollo_client.ApolloError | undefined;
|
|
921
|
+
fetchMore: <TFetchData = {
|
|
922
|
+
partnersByRegion: PartnerType[];
|
|
923
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
924
|
+
updateQuery?: ((previousQueryResult: {
|
|
925
|
+
partnersByRegion: PartnerType[];
|
|
926
|
+
}, options: {
|
|
927
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
928
|
+
variables: TFetchVars;
|
|
929
|
+
}) => {
|
|
930
|
+
partnersByRegion: PartnerType[];
|
|
931
|
+
}) | undefined;
|
|
932
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
914
933
|
loading: boolean;
|
|
915
934
|
partnersByRegion: PartnerType[];
|
|
916
935
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
@@ -1104,4 +1123,4 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1104
1123
|
school: SchoolReturnType | null;
|
|
1105
1124
|
};
|
|
1106
1125
|
|
|
1107
|
-
export {
|
|
1126
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdateMiniQuizGame, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, 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 { EnumResourceType } from '../enums/index.js';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType,
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CpGhukwk.js';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType } from '../global-C0oWABvh.js';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-BPn_I16W.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.js';
|
|
8
8
|
import '../dailyClue-BnlktK68.js';
|
|
@@ -278,12 +278,7 @@ declare const useGetEventByPlaceId: (googlePlaceId: string) => {
|
|
|
278
278
|
eventByPlaceId: EventListItemType | null;
|
|
279
279
|
}>>;
|
|
280
280
|
};
|
|
281
|
-
|
|
282
|
-
onlyClaimed?: boolean;
|
|
283
|
-
limit?: number;
|
|
284
|
-
offset?: number;
|
|
285
|
-
}
|
|
286
|
-
declare const useGetEventsByRegion: (region: string, options?: UseGetEventsByRegionOptions) => {
|
|
281
|
+
declare const useGetEventsByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
287
282
|
error: _apollo_client.ApolloError | undefined;
|
|
288
283
|
eventsByRegion: EventListItemType[];
|
|
289
284
|
fetchMore: <TFetchData = {
|
|
@@ -545,8 +540,20 @@ declare const useGetVendor: (_id: string) => {
|
|
|
545
540
|
}>>;
|
|
546
541
|
vendor: VendorType | undefined;
|
|
547
542
|
};
|
|
548
|
-
declare const useGetVendorsByRegion: (region: string) => {
|
|
543
|
+
declare const useGetVendorsByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
549
544
|
error: _apollo_client.ApolloError | undefined;
|
|
545
|
+
fetchMore: <TFetchData = {
|
|
546
|
+
vendorsByRegion: VendorType[];
|
|
547
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
548
|
+
updateQuery?: ((previousQueryResult: {
|
|
549
|
+
vendorsByRegion: VendorType[];
|
|
550
|
+
}, options: {
|
|
551
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
552
|
+
variables: TFetchVars;
|
|
553
|
+
}) => {
|
|
554
|
+
vendorsByRegion: VendorType[];
|
|
555
|
+
}) | undefined;
|
|
556
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
550
557
|
loading: boolean;
|
|
551
558
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
552
559
|
vendorsByRegion: VendorType[];
|
|
@@ -909,8 +916,20 @@ declare const useGetPartner: (_id: string) => {
|
|
|
909
916
|
partner: PartnerType;
|
|
910
917
|
}>>;
|
|
911
918
|
};
|
|
912
|
-
declare const useGetPartnersByRegion: (region: string) => {
|
|
919
|
+
declare const useGetPartnersByRegion: (region: string, options?: UseGetResourcesByRegionOptions) => {
|
|
913
920
|
error: _apollo_client.ApolloError | undefined;
|
|
921
|
+
fetchMore: <TFetchData = {
|
|
922
|
+
partnersByRegion: PartnerType[];
|
|
923
|
+
}, TFetchVars extends _apollo_client.OperationVariables = _apollo_client.OperationVariables>(fetchMoreOptions: _apollo_client.FetchMoreQueryOptions<TFetchVars, TFetchData> & {
|
|
924
|
+
updateQuery?: ((previousQueryResult: {
|
|
925
|
+
partnersByRegion: PartnerType[];
|
|
926
|
+
}, options: {
|
|
927
|
+
fetchMoreResult: _apollo_client.Unmasked<TFetchData>;
|
|
928
|
+
variables: TFetchVars;
|
|
929
|
+
}) => {
|
|
930
|
+
partnersByRegion: PartnerType[];
|
|
931
|
+
}) | undefined;
|
|
932
|
+
}) => Promise<_apollo_client.ApolloQueryResult<TFetchData>>;
|
|
914
933
|
loading: boolean;
|
|
915
934
|
partnersByRegion: PartnerType[];
|
|
916
935
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
@@ -1104,4 +1123,4 @@ declare const useGetSchool: (_id: string) => {
|
|
|
1104
1123
|
school: SchoolReturnType | null;
|
|
1105
1124
|
};
|
|
1106
1125
|
|
|
1107
|
-
export {
|
|
1126
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdateMiniQuizGame, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -495,7 +495,7 @@ var emailOptionalSchema = yup.string().nullable().notRequired().transform(
|
|
|
495
495
|
(value) => !value || yup.string().email().isValidSync(value)
|
|
496
496
|
).label("Email");
|
|
497
497
|
var mobileRegex = /^02\d{7,9}$/;
|
|
498
|
-
var landlineRegex = /^
|
|
498
|
+
var landlineRegex = /^0[34679]\d{7}$/;
|
|
499
499
|
var mobilePhoneSchema = yup.string().label("Mobile Phone").nullable().notRequired().test(
|
|
500
500
|
"mobile-phone",
|
|
501
501
|
"Mobile must start with 02 and be 9\u201311 digits",
|