@ludo.ninja/api 3.0.39 → 3.0.41

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.
@@ -49,6 +49,7 @@ export type IAdminAirdropInput = {
49
49
  activeFrom?: Maybe<Scalars['Long']>;
50
50
  activeUntil?: Maybe<Scalars['Long']>;
51
51
  hidden?: Maybe<Scalars['Boolean']>;
52
+ showcase?: Maybe<Scalars['Boolean']>;
52
53
  };
53
54
  export type IAdminBrand = {
54
55
  id: Scalars['String'];
@@ -159,6 +160,7 @@ export type IAdminOpportunity = {
159
160
  devicePlatforms?: Maybe<Array<IDevicePlatform>>;
160
161
  participants?: Maybe<Scalars['Int']>;
161
162
  hidden?: Maybe<Scalars['Boolean']>;
163
+ showcase?: Maybe<Scalars['Boolean']>;
162
164
  };
163
165
  export type IAdminOpportunityInput = {
164
166
  brandId: Scalars['String'];
@@ -1371,6 +1373,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
1371
1373
  devicePlatforms?: Resolver<Maybe<Array<IResolversTypes['DevicePlatform']>>, ParentType, ContextType>;
1372
1374
  participants?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1373
1375
  hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1376
+ showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1374
1377
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1375
1378
  };
1376
1379
  export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
@@ -1961,7 +1964,7 @@ export type IFetchAdminAirdropsPageQueryVariables = Exact<{
1961
1964
  }>;
1962
1965
  export type IFetchAdminAirdropsPageQuery = {
1963
1966
  fetchAdminAirdropsPage: {
1964
- opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participants' | 'hidden'>>;
1967
+ opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participants' | 'hidden' | 'showcase'>>;
1965
1968
  nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
1966
1969
  };
1967
1970
  };
@@ -1314,6 +1314,7 @@ exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
1314
1314
  devicePlatforms
1315
1315
  participants
1316
1316
  hidden
1317
+ showcase
1317
1318
  }
1318
1319
  nextPage {
1319
1320
  elements
@@ -389,6 +389,12 @@ export type IMarkNotificationAsShownMutationVariables = Exact<{
389
389
  notificationId: Scalars['ID'];
390
390
  }>;
391
391
  export type IMarkNotificationAsShownMutation = Pick<IMutation, 'markNotificationAsShown'>;
392
+ export type IRegisterTapsMutationVariables = Exact<{
393
+ tapsNum?: Maybe<Scalars['Int']>;
394
+ }>;
395
+ export type IRegisterTapsMutation = {
396
+ registerTaps: Pick<IEnergy, 'availableTapsNum' | 'fullEnergyTapsNum' | 'refillSpeedTapsPerMs'>;
397
+ };
392
398
  export type IStartFarmingMutationVariables = Exact<{
393
399
  [key: string]: never;
394
400
  }>;
@@ -399,6 +405,12 @@ export type IFetchOpportunitiesQueryVariables = Exact<{
399
405
  export type IFetchOpportunitiesQuery = {
400
406
  fetchOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
401
407
  };
408
+ export type IFetchEnergyQueryVariables = Exact<{
409
+ [key: string]: never;
410
+ }>;
411
+ export type IFetchEnergyQuery = {
412
+ fetchEnergy: Pick<IEnergy, 'availableTapsNum' | 'fullEnergyTapsNum' | 'refillSpeedTapsPerMs'>;
413
+ };
402
414
  export type IFetchFrensDataQueryVariables = Exact<{
403
415
  [key: string]: never;
404
416
  }>;
@@ -552,6 +564,31 @@ export declare function useMarkNotificationAsShownMutation(baseOptions?: Apollo.
552
564
  export type MarkNotificationAsShownMutationHookResult = ReturnType<typeof useMarkNotificationAsShownMutation>;
553
565
  export type MarkNotificationAsShownMutationResult = Apollo.MutationResult<IMarkNotificationAsShownMutation>;
554
566
  export type MarkNotificationAsShownMutationOptions = Apollo.BaseMutationOptions<IMarkNotificationAsShownMutation, IMarkNotificationAsShownMutationVariables>;
567
+ export declare const RegisterTapsDocument: Apollo.DocumentNode;
568
+ export type IRegisterTapsMutationFn = Apollo.MutationFunction<IRegisterTapsMutation, IRegisterTapsMutationVariables>;
569
+ /**
570
+ * __useRegisterTapsMutation__
571
+ *
572
+ * To run a mutation, you first call `useRegisterTapsMutation` within a React component and pass it any options that fit your needs.
573
+ * When your component renders, `useRegisterTapsMutation` returns a tuple that includes:
574
+ * - A mutate function that you can call at any time to execute the mutation
575
+ * - An object with fields that represent the current status of the mutation's execution
576
+ *
577
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
578
+ *
579
+ * @example
580
+ * const [registerTapsMutation, { data, loading, error }] = useRegisterTapsMutation({
581
+ * variables: {
582
+ * tapsNum: // value for 'tapsNum'
583
+ * },
584
+ * });
585
+ */
586
+ export declare function useRegisterTapsMutation(baseOptions?: Apollo.MutationHookOptions<IRegisterTapsMutation, IRegisterTapsMutationVariables>): Apollo.MutationTuple<IRegisterTapsMutation, Exact<{
587
+ tapsNum?: Maybe<number> | undefined;
588
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
589
+ export type RegisterTapsMutationHookResult = ReturnType<typeof useRegisterTapsMutation>;
590
+ export type RegisterTapsMutationResult = Apollo.MutationResult<IRegisterTapsMutation>;
591
+ export type RegisterTapsMutationOptions = Apollo.BaseMutationOptions<IRegisterTapsMutation, IRegisterTapsMutationVariables>;
555
592
  export declare const StartFarmingDocument: Apollo.DocumentNode;
556
593
  export type IStartFarmingMutationFn = Apollo.MutationFunction<IStartFarmingMutation, IStartFarmingMutationVariables>;
557
594
  /**
@@ -601,6 +638,31 @@ export declare function useFetchOpportunitiesLazyQuery(baseOptions?: Apollo.Lazy
601
638
  export type FetchOpportunitiesQueryHookResult = ReturnType<typeof useFetchOpportunitiesQuery>;
602
639
  export type FetchOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesLazyQuery>;
603
640
  export type FetchOpportunitiesQueryResult = Apollo.QueryResult<IFetchOpportunitiesQuery, IFetchOpportunitiesQueryVariables>;
641
+ export declare const FetchEnergyDocument: Apollo.DocumentNode;
642
+ /**
643
+ * __useFetchEnergyQuery__
644
+ *
645
+ * To run a query within a React component, call `useFetchEnergyQuery` and pass it any options that fit your needs.
646
+ * When your component renders, `useFetchEnergyQuery` returns an object from Apollo Client that contains loading, error, and data properties
647
+ * you can use to render your UI.
648
+ *
649
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
650
+ *
651
+ * @example
652
+ * const { data, loading, error } = useFetchEnergyQuery({
653
+ * variables: {
654
+ * },
655
+ * });
656
+ */
657
+ export declare function useFetchEnergyQuery(baseOptions?: Apollo.QueryHookOptions<IFetchEnergyQuery, IFetchEnergyQueryVariables>): Apollo.QueryResult<IFetchEnergyQuery, Exact<{
658
+ [key: string]: never;
659
+ }>>;
660
+ export declare function useFetchEnergyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchEnergyQuery, IFetchEnergyQueryVariables>): Apollo.LazyQueryResultTuple<IFetchEnergyQuery, Exact<{
661
+ [key: string]: never;
662
+ }>>;
663
+ export type FetchEnergyQueryHookResult = ReturnType<typeof useFetchEnergyQuery>;
664
+ export type FetchEnergyLazyQueryHookResult = ReturnType<typeof useFetchEnergyLazyQuery>;
665
+ export type FetchEnergyQueryResult = Apollo.QueryResult<IFetchEnergyQuery, IFetchEnergyQueryVariables>;
604
666
  export declare const FetchFrensDataDocument: Apollo.DocumentNode;
605
667
  /**
606
668
  * __useFetchFrensDataQuery__
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useOnPlayerStateUpdatedSubscription = exports.OnPlayerStateUpdatedDocument = exports.useFetchPlayerStateLazyQuery = exports.useFetchPlayerStateQuery = exports.FetchPlayerStateDocument = exports.useFetchFrensDataLazyQuery = exports.useFetchFrensDataQuery = exports.FetchFrensDataDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useStartFarmingMutation = exports.StartFarmingDocument = exports.useMarkNotificationAsShownMutation = exports.MarkNotificationAsShownDocument = exports.useMarkNotificationAsReadMutation = exports.MarkNotificationAsReadDocument = exports.useMarkNotificationAsNewMutation = exports.MarkNotificationAsNewDocument = exports.useConfirmStreakNotificationHasBeenReadMutation = exports.ConfirmStreakNotificationHasBeenReadDocument = exports.useClaimFarmingRewardMutation = exports.ClaimFarmingRewardDocument = exports.IPlayingStreakType = exports.IPlayingStreakStatus = exports.INotificationStatus = exports.IFarmingStatus = void 0;
26
+ exports.useOnPlayerStateUpdatedSubscription = exports.OnPlayerStateUpdatedDocument = exports.useFetchPlayerStateLazyQuery = exports.useFetchPlayerStateQuery = exports.FetchPlayerStateDocument = exports.useFetchFrensDataLazyQuery = exports.useFetchFrensDataQuery = exports.FetchFrensDataDocument = exports.useFetchEnergyLazyQuery = exports.useFetchEnergyQuery = exports.FetchEnergyDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useStartFarmingMutation = exports.StartFarmingDocument = exports.useRegisterTapsMutation = exports.RegisterTapsDocument = exports.useMarkNotificationAsShownMutation = exports.MarkNotificationAsShownDocument = exports.useMarkNotificationAsReadMutation = exports.MarkNotificationAsReadDocument = exports.useMarkNotificationAsNewMutation = exports.MarkNotificationAsNewDocument = exports.useConfirmStreakNotificationHasBeenReadMutation = exports.ConfirmStreakNotificationHasBeenReadDocument = exports.useClaimFarmingRewardMutation = exports.ClaimFarmingRewardDocument = exports.IPlayingStreakType = exports.IPlayingStreakStatus = exports.INotificationStatus = exports.IFarmingStatus = void 0;
27
27
  const client_1 = require("@apollo/client");
28
28
  const Apollo = __importStar(require("@apollo/client"));
29
29
  /** Please, manually sync with FarmingStatus.java */
@@ -184,6 +184,36 @@ function useMarkNotificationAsShownMutation(baseOptions) {
184
184
  return Apollo.useMutation(exports.MarkNotificationAsShownDocument, baseOptions);
185
185
  }
186
186
  exports.useMarkNotificationAsShownMutation = useMarkNotificationAsShownMutation;
187
+ exports.RegisterTapsDocument = (0, client_1.gql) `
188
+ mutation RegisterTaps($tapsNum: Int) {
189
+ registerTaps(tapsNum: $tapsNum) {
190
+ availableTapsNum
191
+ fullEnergyTapsNum
192
+ refillSpeedTapsPerMs
193
+ }
194
+ }
195
+ `;
196
+ /**
197
+ * __useRegisterTapsMutation__
198
+ *
199
+ * To run a mutation, you first call `useRegisterTapsMutation` within a React component and pass it any options that fit your needs.
200
+ * When your component renders, `useRegisterTapsMutation` returns a tuple that includes:
201
+ * - A mutate function that you can call at any time to execute the mutation
202
+ * - An object with fields that represent the current status of the mutation's execution
203
+ *
204
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
205
+ *
206
+ * @example
207
+ * const [registerTapsMutation, { data, loading, error }] = useRegisterTapsMutation({
208
+ * variables: {
209
+ * tapsNum: // value for 'tapsNum'
210
+ * },
211
+ * });
212
+ */
213
+ function useRegisterTapsMutation(baseOptions) {
214
+ return Apollo.useMutation(exports.RegisterTapsDocument, baseOptions);
215
+ }
216
+ exports.useRegisterTapsMutation = useRegisterTapsMutation;
187
217
  exports.StartFarmingDocument = (0, client_1.gql) `
188
218
  mutation StartFarming {
189
219
  startFarming
@@ -259,6 +289,38 @@ function useFetchOpportunitiesLazyQuery(baseOptions) {
259
289
  return Apollo.useLazyQuery(exports.FetchOpportunitiesDocument, baseOptions);
260
290
  }
261
291
  exports.useFetchOpportunitiesLazyQuery = useFetchOpportunitiesLazyQuery;
292
+ exports.FetchEnergyDocument = (0, client_1.gql) `
293
+ query FetchEnergy {
294
+ fetchEnergy {
295
+ availableTapsNum
296
+ fullEnergyTapsNum
297
+ refillSpeedTapsPerMs
298
+ }
299
+ }
300
+ `;
301
+ /**
302
+ * __useFetchEnergyQuery__
303
+ *
304
+ * To run a query within a React component, call `useFetchEnergyQuery` and pass it any options that fit your needs.
305
+ * When your component renders, `useFetchEnergyQuery` returns an object from Apollo Client that contains loading, error, and data properties
306
+ * you can use to render your UI.
307
+ *
308
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
309
+ *
310
+ * @example
311
+ * const { data, loading, error } = useFetchEnergyQuery({
312
+ * variables: {
313
+ * },
314
+ * });
315
+ */
316
+ function useFetchEnergyQuery(baseOptions) {
317
+ return Apollo.useQuery(exports.FetchEnergyDocument, baseOptions);
318
+ }
319
+ exports.useFetchEnergyQuery = useFetchEnergyQuery;
320
+ function useFetchEnergyLazyQuery(baseOptions) {
321
+ return Apollo.useLazyQuery(exports.FetchEnergyDocument, baseOptions);
322
+ }
323
+ exports.useFetchEnergyLazyQuery = useFetchEnergyLazyQuery;
262
324
  exports.FetchFrensDataDocument = (0, client_1.gql) `
263
325
  query FetchFrensData {
264
326
  fetchFrensData {
package/build/index.d.ts CHANGED
@@ -76,6 +76,11 @@ declare const schema: {
76
76
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IMarkNotificationAsShownMutation, tapsSchema.Exact<{
77
77
  notificationId: string;
78
78
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
79
+ useRegisterTapsMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IRegisterTapsMutation, tapsSchema.Exact<{
80
+ tapsNum?: tapsSchema.Maybe<number> | undefined;
81
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IRegisterTapsMutation, tapsSchema.Exact<{
82
+ tapsNum?: tapsSchema.Maybe<number> | undefined;
83
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
79
84
  useStartFarmingMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IStartFarmingMutation, tapsSchema.Exact<{
80
85
  [key: string]: never;
81
86
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IStartFarmingMutation, tapsSchema.Exact<{
@@ -91,6 +96,16 @@ declare const schema: {
91
96
  }>> | undefined): import("@apollo/client").LazyQueryResultTuple<tapsSchema.IFetchOpportunitiesQuery, tapsSchema.Exact<{
92
97
  [key: string]: never;
93
98
  }>>;
99
+ useFetchEnergyQuery(baseOptions?: import("@apollo/client").QueryHookOptions<tapsSchema.IFetchEnergyQuery, tapsSchema.Exact<{
100
+ [key: string]: never;
101
+ }>> | undefined): import("@apollo/client").QueryResult<tapsSchema.IFetchEnergyQuery, tapsSchema.Exact<{
102
+ [key: string]: never;
103
+ }>>;
104
+ useFetchEnergyLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<tapsSchema.IFetchEnergyQuery, tapsSchema.Exact<{
105
+ [key: string]: never;
106
+ }>> | undefined): import("@apollo/client").LazyQueryResultTuple<tapsSchema.IFetchEnergyQuery, tapsSchema.Exact<{
107
+ [key: string]: never;
108
+ }>>;
94
109
  useFetchFrensDataQuery(baseOptions?: import("@apollo/client").QueryHookOptions<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
95
110
  [key: string]: never;
96
111
  }>> | undefined): import("@apollo/client").QueryResult<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
@@ -131,8 +146,10 @@ declare const schema: {
131
146
  MarkNotificationAsNewDocument: import("graphql").DocumentNode;
132
147
  MarkNotificationAsReadDocument: import("graphql").DocumentNode;
133
148
  MarkNotificationAsShownDocument: import("graphql").DocumentNode;
149
+ RegisterTapsDocument: import("graphql").DocumentNode;
134
150
  StartFarmingDocument: import("graphql").DocumentNode;
135
151
  FetchOpportunitiesDocument: import("graphql").DocumentNode;
152
+ FetchEnergyDocument: import("graphql").DocumentNode;
136
153
  FetchFrensDataDocument: import("graphql").DocumentNode;
137
154
  FetchPlayerStateDocument: import("graphql").DocumentNode;
138
155
  OnPlayerStateUpdatedDocument: import("graphql").DocumentNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.0.39",
3
+ "version": "3.0.41",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -47,6 +47,7 @@ export type IAdminAirdropInput = {
47
47
  activeFrom?: Maybe<Scalars['Long']>;
48
48
  activeUntil?: Maybe<Scalars['Long']>;
49
49
  hidden?: Maybe<Scalars['Boolean']>;
50
+ showcase?: Maybe<Scalars['Boolean']>;
50
51
  };
51
52
 
52
53
  export type IAdminBrand = {
@@ -165,6 +166,7 @@ export type IAdminOpportunity = {
165
166
  devicePlatforms?: Maybe<Array<IDevicePlatform>>;
166
167
  participants?: Maybe<Scalars['Int']>;
167
168
  hidden?: Maybe<Scalars['Boolean']>;
169
+ showcase?: Maybe<Scalars['Boolean']>;
168
170
  };
169
171
 
170
172
  export type IAdminOpportunityInput = {
@@ -1614,6 +1616,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
1614
1616
  devicePlatforms?: Resolver<Maybe<Array<IResolversTypes['DevicePlatform']>>, ParentType, ContextType>;
1615
1617
  participants?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1616
1618
  hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1619
+ showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
1617
1620
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1618
1621
  };
1619
1622
 
@@ -2296,7 +2299,7 @@ export type IFetchAdminAirdropsPageQueryVariables = Exact<{
2296
2299
  }>;
2297
2300
 
2298
2301
 
2299
- export type IFetchAdminAirdropsPageQuery = { fetchAdminAirdropsPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participants' | 'hidden'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
2302
+ export type IFetchAdminAirdropsPageQuery = { fetchAdminAirdropsPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participants' | 'hidden' | 'showcase'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
2300
2303
 
2301
2304
  export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
2302
2305
 
@@ -3746,6 +3749,7 @@ export const FetchAdminAirdropsPageDocument = gql`
3746
3749
  devicePlatforms
3747
3750
  participants
3748
3751
  hidden
3752
+ showcase
3749
3753
  }
3750
3754
  nextPage {
3751
3755
  elements
@@ -487,6 +487,13 @@ export type IMarkNotificationAsShownMutationVariables = Exact<{
487
487
 
488
488
  export type IMarkNotificationAsShownMutation = Pick<IMutation, 'markNotificationAsShown'>;
489
489
 
490
+ export type IRegisterTapsMutationVariables = Exact<{
491
+ tapsNum?: Maybe<Scalars['Int']>;
492
+ }>;
493
+
494
+
495
+ export type IRegisterTapsMutation = { registerTaps: Pick<IEnergy, 'availableTapsNum' | 'fullEnergyTapsNum' | 'refillSpeedTapsPerMs'> };
496
+
490
497
  export type IStartFarmingMutationVariables = Exact<{ [key: string]: never; }>;
491
498
 
492
499
 
@@ -497,6 +504,11 @@ export type IFetchOpportunitiesQueryVariables = Exact<{ [key: string]: never; }>
497
504
 
498
505
  export type IFetchOpportunitiesQuery = { fetchOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>> };
499
506
 
507
+ export type IFetchEnergyQueryVariables = Exact<{ [key: string]: never; }>;
508
+
509
+
510
+ export type IFetchEnergyQuery = { fetchEnergy: Pick<IEnergy, 'availableTapsNum' | 'fullEnergyTapsNum' | 'refillSpeedTapsPerMs'> };
511
+
500
512
  export type IFetchFrensDataQueryVariables = Exact<{ [key: string]: never; }>;
501
513
 
502
514
 
@@ -673,6 +685,40 @@ export function useMarkNotificationAsShownMutation(baseOptions?: Apollo.Mutation
673
685
  export type MarkNotificationAsShownMutationHookResult = ReturnType<typeof useMarkNotificationAsShownMutation>;
674
686
  export type MarkNotificationAsShownMutationResult = Apollo.MutationResult<IMarkNotificationAsShownMutation>;
675
687
  export type MarkNotificationAsShownMutationOptions = Apollo.BaseMutationOptions<IMarkNotificationAsShownMutation, IMarkNotificationAsShownMutationVariables>;
688
+ export const RegisterTapsDocument = gql`
689
+ mutation RegisterTaps($tapsNum: Int) {
690
+ registerTaps(tapsNum: $tapsNum) {
691
+ availableTapsNum
692
+ fullEnergyTapsNum
693
+ refillSpeedTapsPerMs
694
+ }
695
+ }
696
+ `;
697
+ export type IRegisterTapsMutationFn = Apollo.MutationFunction<IRegisterTapsMutation, IRegisterTapsMutationVariables>;
698
+
699
+ /**
700
+ * __useRegisterTapsMutation__
701
+ *
702
+ * To run a mutation, you first call `useRegisterTapsMutation` within a React component and pass it any options that fit your needs.
703
+ * When your component renders, `useRegisterTapsMutation` returns a tuple that includes:
704
+ * - A mutate function that you can call at any time to execute the mutation
705
+ * - An object with fields that represent the current status of the mutation's execution
706
+ *
707
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
708
+ *
709
+ * @example
710
+ * const [registerTapsMutation, { data, loading, error }] = useRegisterTapsMutation({
711
+ * variables: {
712
+ * tapsNum: // value for 'tapsNum'
713
+ * },
714
+ * });
715
+ */
716
+ export function useRegisterTapsMutation(baseOptions?: Apollo.MutationHookOptions<IRegisterTapsMutation, IRegisterTapsMutationVariables>) {
717
+ return Apollo.useMutation<IRegisterTapsMutation, IRegisterTapsMutationVariables>(RegisterTapsDocument, baseOptions);
718
+ }
719
+ export type RegisterTapsMutationHookResult = ReturnType<typeof useRegisterTapsMutation>;
720
+ export type RegisterTapsMutationResult = Apollo.MutationResult<IRegisterTapsMutation>;
721
+ export type RegisterTapsMutationOptions = Apollo.BaseMutationOptions<IRegisterTapsMutation, IRegisterTapsMutationVariables>;
676
722
  export const StartFarmingDocument = gql`
677
723
  mutation StartFarming {
678
724
  startFarming
@@ -754,6 +800,40 @@ export function useFetchOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHoo
754
800
  export type FetchOpportunitiesQueryHookResult = ReturnType<typeof useFetchOpportunitiesQuery>;
755
801
  export type FetchOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesLazyQuery>;
756
802
  export type FetchOpportunitiesQueryResult = Apollo.QueryResult<IFetchOpportunitiesQuery, IFetchOpportunitiesQueryVariables>;
803
+ export const FetchEnergyDocument = gql`
804
+ query FetchEnergy {
805
+ fetchEnergy {
806
+ availableTapsNum
807
+ fullEnergyTapsNum
808
+ refillSpeedTapsPerMs
809
+ }
810
+ }
811
+ `;
812
+
813
+ /**
814
+ * __useFetchEnergyQuery__
815
+ *
816
+ * To run a query within a React component, call `useFetchEnergyQuery` and pass it any options that fit your needs.
817
+ * When your component renders, `useFetchEnergyQuery` returns an object from Apollo Client that contains loading, error, and data properties
818
+ * you can use to render your UI.
819
+ *
820
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
821
+ *
822
+ * @example
823
+ * const { data, loading, error } = useFetchEnergyQuery({
824
+ * variables: {
825
+ * },
826
+ * });
827
+ */
828
+ export function useFetchEnergyQuery(baseOptions?: Apollo.QueryHookOptions<IFetchEnergyQuery, IFetchEnergyQueryVariables>) {
829
+ return Apollo.useQuery<IFetchEnergyQuery, IFetchEnergyQueryVariables>(FetchEnergyDocument, baseOptions);
830
+ }
831
+ export function useFetchEnergyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchEnergyQuery, IFetchEnergyQueryVariables>) {
832
+ return Apollo.useLazyQuery<IFetchEnergyQuery, IFetchEnergyQueryVariables>(FetchEnergyDocument, baseOptions);
833
+ }
834
+ export type FetchEnergyQueryHookResult = ReturnType<typeof useFetchEnergyQuery>;
835
+ export type FetchEnergyLazyQueryHookResult = ReturnType<typeof useFetchEnergyLazyQuery>;
836
+ export type FetchEnergyQueryResult = Apollo.QueryResult<IFetchEnergyQuery, IFetchEnergyQueryVariables>;
757
837
  export const FetchFrensDataDocument = gql`
758
838
  query FetchFrensData {
759
839
  fetchFrensData {