@timardex/cluemart-shared 1.5.45 → 1.5.47

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.
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CqrscA5x.mjs';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-MMBYi34A.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 GameType, e as GameLeaderboard } from '../post-C0bv5VBc.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 GameType, e as GameLeaderboard } from '../post-Ca2z3WFl.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1027,10 +1027,10 @@ declare const useGetGame: (_id: string) => {
1027
1027
  };
1028
1028
  declare const useGetGameLeaderboard: () => {
1029
1029
  error: _apollo_client.ApolloError | undefined;
1030
- leaderboard: GameLeaderboard[];
1030
+ gameLeaderboard: GameLeaderboard[];
1031
1031
  loading: boolean;
1032
1032
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1033
- leaderboard: GameLeaderboard[];
1033
+ gameLeaderboard: GameLeaderboard[];
1034
1034
  }>>;
1035
1035
  };
1036
1036
 
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-2FaGRW-i.js';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-B0WdAD-8.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 GameType, e as GameLeaderboard } from '../post-C5DlXBQC.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 GameType, e as GameLeaderboard } from '../post-Dearc1Z1.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1027,10 +1027,10 @@ declare const useGetGame: (_id: string) => {
1027
1027
  };
1028
1028
  declare const useGetGameLeaderboard: () => {
1029
1029
  error: _apollo_client.ApolloError | undefined;
1030
- leaderboard: GameLeaderboard[];
1030
+ gameLeaderboard: GameLeaderboard[];
1031
1031
  loading: boolean;
1032
1032
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1033
- leaderboard: GameLeaderboard[];
1033
+ gameLeaderboard: GameLeaderboard[];
1034
1034
  }>>;
1035
1035
  };
1036
1036
 
@@ -126,7 +126,7 @@ import {
126
126
  useUpdateVendor,
127
127
  useUpdateVendorInfo,
128
128
  useValidateVerificationToken
129
- } from "../chunk-7ZT2TANM.mjs";
129
+ } from "../chunk-RBFEUYZH.mjs";
130
130
  import "../chunk-USQKKCIA.mjs";
131
131
  export {
132
132
  useAddParticipantToChat,
@@ -4133,21 +4133,19 @@ var GET_GAME = import_client55.gql`
4133
4133
  }
4134
4134
  ${GAME_FIELDS_FRAGMENT}
4135
4135
  `;
4136
- var GET_LEADERBOARD = import_client55.gql`
4137
- query getLeaderboard() {
4138
- leaderboard() {
4139
- gameDate {
4140
- ...GameDateFields
4136
+ var GET_GAME_LEADERBOARD = import_client55.gql`
4137
+ query getGameLeaderboard {
4138
+ gameLeaderboard {
4139
+ gameHistory {
4140
+ ...GameHistoryFields
4141
4141
  }
4142
- gameType
4143
- pointsEarned
4144
4142
  owner {
4145
4143
  ...OwnerFields
4146
4144
  }
4147
4145
  }
4148
4146
  }
4149
- ${GAME_DATE_FIELDS_FRAGMENT}
4150
4147
  ${OWNER_FIELDS_FRAGMENT}
4148
+ ${GAME_HISTORY_FIELDS_FRAGMENT}
4151
4149
  `;
4152
4150
 
4153
4151
  // src/graphql/queries/post.ts