@timardex/cluemart-shared 1.4.96 → 1.4.98

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.
@@ -989,30 +989,27 @@ declare const useStartGame: () => {
989
989
  error: _apollo_client.ApolloError | undefined;
990
990
  loading: boolean;
991
991
  startGame: (options?: _apollo_client.MutationFunctionOptions<{
992
- startGame: {
993
- _id: string;
994
- };
992
+ startGame: GameType;
995
993
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
996
- startGame: {
997
- _id: string;
998
- };
994
+ startGame: GameType;
999
995
  }>>;
1000
996
  };
1001
997
  declare const useLeaveGame: () => {
1002
998
  error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
999
+ leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1000
+ loading: boolean;
1001
+ };
1002
+ declare const useUpdateDailyClueGame: () => {
1003
+ error: _apollo_client.ApolloError | undefined;
1004
+ loading: boolean;
1005
+ updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
1006
+ updateDailyClueGame: GameType;
1007
1007
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1008
+ updateDailyClueGame: GameType;
1011
1009
  }>>;
1012
- loading: boolean;
1013
1010
  };
1014
1011
 
1015
- declare const useGetGames: (userId?: string) => {
1012
+ declare const useGetGames: () => {
1016
1013
  error: _apollo_client.ApolloError | undefined;
1017
1014
  games: GameType[];
1018
1015
  loading: boolean;
@@ -1029,4 +1026,4 @@ declare const useGetGame: (_id: string) => {
1029
1026
  }>>;
1030
1027
  };
1031
1028
 
1032
- export { type UseGetEventsByRegionOptions, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1029
+ export { type UseGetEventsByRegionOptions, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -989,30 +989,27 @@ declare const useStartGame: () => {
989
989
  error: _apollo_client.ApolloError | undefined;
990
990
  loading: boolean;
991
991
  startGame: (options?: _apollo_client.MutationFunctionOptions<{
992
- startGame: {
993
- _id: string;
994
- };
992
+ startGame: GameType;
995
993
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
996
- startGame: {
997
- _id: string;
998
- };
994
+ startGame: GameType;
999
995
  }>>;
1000
996
  };
1001
997
  declare const useLeaveGame: () => {
1002
998
  error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
999
+ leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1000
+ loading: boolean;
1001
+ };
1002
+ declare const useUpdateDailyClueGame: () => {
1003
+ error: _apollo_client.ApolloError | undefined;
1004
+ loading: boolean;
1005
+ updateDailyClueGame: (options?: _apollo_client.MutationFunctionOptions<{
1006
+ updateDailyClueGame: GameType;
1007
1007
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1008
+ updateDailyClueGame: GameType;
1011
1009
  }>>;
1012
- loading: boolean;
1013
1010
  };
1014
1011
 
1015
- declare const useGetGames: (userId?: string) => {
1012
+ declare const useGetGames: () => {
1016
1013
  error: _apollo_client.ApolloError | undefined;
1017
1014
  games: GameType[];
1018
1015
  loading: boolean;
@@ -1029,4 +1026,4 @@ declare const useGetGame: (_id: string) => {
1029
1026
  }>>;
1030
1027
  };
1031
1028
 
1032
- export { type UseGetEventsByRegionOptions, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
1029
+ export { type UseGetEventsByRegionOptions, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, 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, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdateRelation, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken };
@@ -112,6 +112,7 @@ import {
112
112
  useToggleChatMessageLike,
113
113
  useUpdateAd,
114
114
  useUpdateAppSettings,
115
+ useUpdateDailyClueGame,
115
116
  useUpdateEvent,
116
117
  useUpdateEventInfo,
117
118
  useUpdateGoogleImportedMarkets,
@@ -124,7 +125,7 @@ import {
124
125
  useUpdateVendor,
125
126
  useUpdateVendorInfo,
126
127
  useValidateVerificationToken
127
- } from "../chunk-DMP4JF4Q.mjs";
128
+ } from "../chunk-STGIPJMO.mjs";
128
129
  import "../chunk-USQKKCIA.mjs";
129
130
  export {
130
131
  useAddParticipantToChat,
@@ -240,6 +241,7 @@ export {
240
241
  useToggleChatMessageLike,
241
242
  useUpdateAd,
242
243
  useUpdateAppSettings,
244
+ useUpdateDailyClueGame,
243
245
  useUpdateEvent,
244
246
  useUpdateEventInfo,
245
247
  useUpdateGoogleImportedMarkets,
@@ -4093,8 +4093,8 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
4093
4093
  ${OWNER_FIELDS_FRAGMENT}
4094
4094
  `;
4095
4095
  var GET_GAMES = import_client55.gql`
4096
- query getGames($userId: ID) {
4097
- games(userId: $userId) {
4096
+ query getGames {
4097
+ games {
4098
4098
  ...GameFields
4099
4099
  }
4100
4100
  }
@@ -4286,10 +4286,16 @@ var START_GAME_MUTATION = import_client64.gql`
4286
4286
  `;
4287
4287
  var LEAVE_GAME_MUTATION = import_client64.gql`
4288
4288
  mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
4289
- leaveGame(_id: $_id, gameType: $gameType) {
4290
- userId
4289
+ leaveGame(_id: $_id, gameType: $gameType)
4290
+ }
4291
+ `;
4292
+ var UPDATE_DAILY_CLUE_MUTATION = import_client64.gql`
4293
+ mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
4294
+ updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
4295
+ ...GameFields
4291
4296
  }
4292
4297
  }
4298
+ ${GAME_FIELDS_FRAGMENT}
4293
4299
  `;
4294
4300
 
4295
4301
  // src/graphql/hooks/game/hooksQuery.ts