@timardex/cluemart-shared 1.4.96 → 1.4.97

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.
@@ -1000,19 +1000,11 @@ declare const useStartGame: () => {
1000
1000
  };
1001
1001
  declare const useLeaveGame: () => {
1002
1002
  error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
1007
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1011
- }>>;
1003
+ leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1012
1004
  loading: boolean;
1013
1005
  };
1014
1006
 
1015
- declare const useGetGames: (userId?: string) => {
1007
+ declare const useGetGames: () => {
1016
1008
  error: _apollo_client.ApolloError | undefined;
1017
1009
  games: GameType[];
1018
1010
  loading: boolean;
@@ -1000,19 +1000,11 @@ declare const useStartGame: () => {
1000
1000
  };
1001
1001
  declare const useLeaveGame: () => {
1002
1002
  error: _apollo_client.ApolloError | undefined;
1003
- leaveGame: (options?: _apollo_client.MutationFunctionOptions<{
1004
- leaveGame: {
1005
- userId: string;
1006
- };
1007
- }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1008
- leaveGame: {
1009
- userId: string;
1010
- };
1011
- }>>;
1003
+ leaveGame: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
1012
1004
  loading: boolean;
1013
1005
  };
1014
1006
 
1015
- declare const useGetGames: (userId?: string) => {
1007
+ declare const useGetGames: () => {
1016
1008
  error: _apollo_client.ApolloError | undefined;
1017
1009
  games: GameType[];
1018
1010
  loading: boolean;
@@ -124,7 +124,7 @@ import {
124
124
  useUpdateVendor,
125
125
  useUpdateVendorInfo,
126
126
  useValidateVerificationToken
127
- } from "../chunk-DMP4JF4Q.mjs";
127
+ } from "../chunk-4VZXLFSL.mjs";
128
128
  import "../chunk-USQKKCIA.mjs";
129
129
  export {
130
130
  useAddParticipantToChat,
@@ -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,9 +4286,7 @@ 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
4291
- }
4289
+ leaveGame(_id: $_id, gameType: $gameType)
4292
4290
  }
4293
4291
  `;
4294
4292