@ludo.ninja/api 3.2.43 → 3.2.45

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.
@@ -12,9 +12,6 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
12
12
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
13
  [SubKey in K]: Maybe<T[SubKey]>;
14
14
  };
15
- export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
16
- [P in K]-?: NonNullable<T[P]>;
17
- };
18
15
  /** All built-in and custom scalars, mapped to their actual values */
19
16
  export type Scalars = {
20
17
  ID: string;
@@ -53,23 +50,6 @@ export type IQuery = {
53
50
  };
54
51
  export type ISubscription = {
55
52
  onDummy: Scalars['String'];
56
- onMyExperienceUpdated: IUserXp;
57
- onMyExperienceIncremented: IUserXpIncrement;
58
- onInviteCodeUsed: IUsedInviteCode;
59
- onCommonOpportunityNotification: IOpportunityNotification;
60
- onUserOpportunityNotification: IOpportunityNotification;
61
- };
62
- export type ISubscriptionOnMyExperienceUpdatedArgs = {
63
- authToken: Scalars['String'];
64
- };
65
- export type ISubscriptionOnMyExperienceIncrementedArgs = {
66
- authToken: Scalars['String'];
67
- };
68
- export type ISubscriptionOnInviteCodeUsedArgs = {
69
- authToken: Scalars['String'];
70
- };
71
- export type ISubscriptionOnUserOpportunityNotificationArgs = {
72
- authToken: Scalars['String'];
73
53
  };
74
54
  export type ITask = {
75
55
  taskId?: Maybe<Scalars['ID']>;
@@ -163,6 +143,13 @@ export type IResolversParentTypes = {
163
143
  UserXP: IUserXp;
164
144
  UserXPIncrement: IUserXpIncrement;
165
145
  };
146
+ export type IDeferDirectiveArgs = {
147
+ if?: Scalars['Boolean'];
148
+ label?: Maybe<Scalars['String']>;
149
+ };
150
+ export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
151
+ export type IExperimental_DisableErrorPropagationDirectiveArgs = {};
152
+ export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
166
153
  export type IOneOfDirectiveArgs = {};
167
154
  export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
168
155
  export type IActivityStreakResolvers<ContextType = any, ParentType extends IResolversParentTypes['ActivityStreak'] = IResolversParentTypes['ActivityStreak']> = {
@@ -198,11 +185,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
198
185
  };
199
186
  export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
200
187
  onDummy?: SubscriptionResolver<IResolversTypes['String'], "onDummy", ParentType, ContextType>;
201
- onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
202
- onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
203
- onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
204
- onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
205
- onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
206
188
  };
207
189
  export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
208
190
  taskId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
@@ -253,6 +235,8 @@ export type IResolvers<ContextType = any> = {
253
235
  UserXPIncrement?: IUserXpIncrementResolvers<ContextType>;
254
236
  };
255
237
  export type IDirectiveResolvers<ContextType = any> = {
238
+ defer?: IDeferDirectiveResolver<any, any, ContextType>;
239
+ experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
256
240
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
257
241
  };
258
242
  export type IFetchMyActivityStreakQueryVariables = Exact<{
@@ -261,12 +245,10 @@ export type IFetchMyActivityStreakQueryVariables = Exact<{
261
245
  export type IFetchMyActivityStreakQuery = {
262
246
  fetchMyActivityStreak?: Maybe<Pick<IActivityStreak, 'userId' | 'totalDays' | 'nextStreak' | 'nextBonus'>>;
263
247
  };
264
- export type IFetchMyExperienceV2QueryVariables = Exact<{
248
+ export type IFetchMyExperienceQueryVariables = Exact<{
265
249
  [key: string]: never;
266
250
  }>;
267
- export type IFetchMyExperienceV2Query = {
268
- fetchMyExperienceV2: Pick<IUserXp, 'xps' | 'level' | 'levelMaxXps' | 'levelMinXps'>;
269
- };
251
+ export type IFetchMyExperienceQuery = Pick<IQuery, 'fetchMyExperience'>;
270
252
  export type IFetchMyMonthReferralsXpsQueryVariables = Exact<{
271
253
  [key: string]: never;
272
254
  }>;
@@ -277,36 +259,6 @@ export type IFetchMyTasksQueryVariables = Exact<{
277
259
  export type IFetchMyTasksQuery = {
278
260
  fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>>;
279
261
  };
280
- export type IOnCommonOpportunityNotificationSubscriptionVariables = Exact<{
281
- [key: string]: never;
282
- }>;
283
- export type IOnCommonOpportunityNotificationSubscription = {
284
- onCommonOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'>;
285
- };
286
- export type IOnInviteCodeUsedSubscriptionVariables = Exact<{
287
- authToken: Scalars['String'];
288
- }>;
289
- export type IOnInviteCodeUsedSubscription = {
290
- onInviteCodeUsed: Pick<IUsedInviteCode, 'userId' | 'inviteCode' | 'inviteeId'>;
291
- };
292
- export type IOnMyExperienceIncrementedSubscriptionVariables = Exact<{
293
- authToken: Scalars['String'];
294
- }>;
295
- export type IOnMyExperienceIncrementedSubscription = {
296
- onMyExperienceIncremented: Pick<IUserXpIncrement, 'xpsIncrement' | 'description' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>;
297
- };
298
- export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
299
- authToken: Scalars['String'];
300
- }>;
301
- export type IOnMyExperienceUpdatedSubscription = {
302
- onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>;
303
- };
304
- export type IOnUserOpportunityNotificationSubscriptionVariables = Exact<{
305
- authToken: Scalars['String'];
306
- }>;
307
- export type IOnUserOpportunityNotificationSubscription = {
308
- onUserOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'>;
309
- };
310
262
  export declare const FetchMyActivityStreakDocument: Apollo.DocumentNode;
311
263
  /**
312
264
  * __useFetchMyActivityStreakQuery__
@@ -332,31 +284,31 @@ export declare function useFetchMyActivityStreakLazyQuery(baseOptions?: Apollo.L
332
284
  export type FetchMyActivityStreakQueryHookResult = ReturnType<typeof useFetchMyActivityStreakQuery>;
333
285
  export type FetchMyActivityStreakLazyQueryHookResult = ReturnType<typeof useFetchMyActivityStreakLazyQuery>;
334
286
  export type FetchMyActivityStreakQueryResult = Apollo.QueryResult<IFetchMyActivityStreakQuery, IFetchMyActivityStreakQueryVariables>;
335
- export declare const FetchMyExperienceV2Document: Apollo.DocumentNode;
287
+ export declare const FetchMyExperienceDocument: Apollo.DocumentNode;
336
288
  /**
337
- * __useFetchMyExperienceV2Query__
289
+ * __useFetchMyExperienceQuery__
338
290
  *
339
- * To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
340
- * When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
291
+ * To run a query within a React component, call `useFetchMyExperienceQuery` and pass it any options that fit your needs.
292
+ * When your component renders, `useFetchMyExperienceQuery` returns an object from Apollo Client that contains loading, error, and data properties
341
293
  * you can use to render your UI.
342
294
  *
343
295
  * @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;
344
296
  *
345
297
  * @example
346
- * const { data, loading, error } = useFetchMyExperienceV2Query({
298
+ * const { data, loading, error } = useFetchMyExperienceQuery({
347
299
  * variables: {
348
300
  * },
349
301
  * });
350
302
  */
351
- export declare function useFetchMyExperienceV2Query(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>): Apollo.QueryResult<IFetchMyExperienceV2Query, Exact<{
303
+ export declare function useFetchMyExperienceQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>): Apollo.QueryResult<IFetchMyExperienceQuery, Exact<{
352
304
  [key: string]: never;
353
305
  }>>;
354
- export declare function useFetchMyExperienceV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyExperienceV2Query, Exact<{
306
+ export declare function useFetchMyExperienceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyExperienceQuery, Exact<{
355
307
  [key: string]: never;
356
308
  }>>;
357
- export type FetchMyExperienceV2QueryHookResult = ReturnType<typeof useFetchMyExperienceV2Query>;
358
- export type FetchMyExperienceV2LazyQueryHookResult = ReturnType<typeof useFetchMyExperienceV2LazyQuery>;
359
- export type FetchMyExperienceV2QueryResult = Apollo.QueryResult<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>;
309
+ export type FetchMyExperienceQueryHookResult = ReturnType<typeof useFetchMyExperienceQuery>;
310
+ export type FetchMyExperienceLazyQueryHookResult = ReturnType<typeof useFetchMyExperienceLazyQuery>;
311
+ export type FetchMyExperienceQueryResult = Apollo.QueryResult<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>;
360
312
  export declare const FetchMyMonthReferralsXpsDocument: Apollo.DocumentNode;
361
313
  /**
362
314
  * __useFetchMyMonthReferralsXpsQuery__
@@ -407,112 +359,3 @@ export declare function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryH
407
359
  export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
408
360
  export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
409
361
  export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
410
- export declare const OnCommonOpportunityNotificationDocument: Apollo.DocumentNode;
411
- /**
412
- * __useOnCommonOpportunityNotificationSubscription__
413
- *
414
- * To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
415
- * When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
416
- * you can use to render your UI.
417
- *
418
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
419
- *
420
- * @example
421
- * const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
422
- * variables: {
423
- * },
424
- * });
425
- */
426
- export declare function useOnCommonOpportunityNotificationSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>): Apollo.SubscriptionResult<IOnCommonOpportunityNotificationSubscription, Exact<{
427
- [key: string]: never;
428
- }>>;
429
- export type OnCommonOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnCommonOpportunityNotificationSubscription>;
430
- export type OnCommonOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnCommonOpportunityNotificationSubscription>;
431
- export declare const OnInviteCodeUsedDocument: Apollo.DocumentNode;
432
- /**
433
- * __useOnInviteCodeUsedSubscription__
434
- *
435
- * To run a query within a React component, call `useOnInviteCodeUsedSubscription` and pass it any options that fit your needs.
436
- * When your component renders, `useOnInviteCodeUsedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
437
- * you can use to render your UI.
438
- *
439
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
440
- *
441
- * @example
442
- * const { data, loading, error } = useOnInviteCodeUsedSubscription({
443
- * variables: {
444
- * authToken: // value for 'authToken'
445
- * },
446
- * });
447
- */
448
- export declare function useOnInviteCodeUsedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>): Apollo.SubscriptionResult<IOnInviteCodeUsedSubscription, Exact<{
449
- authToken: string;
450
- }>>;
451
- export type OnInviteCodeUsedSubscriptionHookResult = ReturnType<typeof useOnInviteCodeUsedSubscription>;
452
- export type OnInviteCodeUsedSubscriptionResult = Apollo.SubscriptionResult<IOnInviteCodeUsedSubscription>;
453
- export declare const OnMyExperienceIncrementedDocument: Apollo.DocumentNode;
454
- /**
455
- * __useOnMyExperienceIncrementedSubscription__
456
- *
457
- * To run a query within a React component, call `useOnMyExperienceIncrementedSubscription` and pass it any options that fit your needs.
458
- * When your component renders, `useOnMyExperienceIncrementedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
459
- * you can use to render your UI.
460
- *
461
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
462
- *
463
- * @example
464
- * const { data, loading, error } = useOnMyExperienceIncrementedSubscription({
465
- * variables: {
466
- * authToken: // value for 'authToken'
467
- * },
468
- * });
469
- */
470
- export declare function useOnMyExperienceIncrementedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>): Apollo.SubscriptionResult<IOnMyExperienceIncrementedSubscription, Exact<{
471
- authToken: string;
472
- }>>;
473
- export type OnMyExperienceIncrementedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceIncrementedSubscription>;
474
- export type OnMyExperienceIncrementedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceIncrementedSubscription>;
475
- export declare const OnMyExperienceUpdatedDocument: Apollo.DocumentNode;
476
- /**
477
- * __useOnMyExperienceUpdatedSubscription__
478
- *
479
- * To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
480
- * When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
481
- * you can use to render your UI.
482
- *
483
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
484
- *
485
- * @example
486
- * const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
487
- * variables: {
488
- * authToken: // value for 'authToken'
489
- * },
490
- * });
491
- */
492
- export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>): Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription, Exact<{
493
- authToken: string;
494
- }>>;
495
- export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
496
- export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
497
- export declare const OnUserOpportunityNotificationDocument: Apollo.DocumentNode;
498
- /**
499
- * __useOnUserOpportunityNotificationSubscription__
500
- *
501
- * To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
502
- * When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
503
- * you can use to render your UI.
504
- *
505
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
506
- *
507
- * @example
508
- * const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
509
- * variables: {
510
- * authToken: // value for 'authToken'
511
- * },
512
- * });
513
- */
514
- export declare function useOnUserOpportunityNotificationSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>): Apollo.SubscriptionResult<IOnUserOpportunityNotificationSubscription, Exact<{
515
- authToken: string;
516
- }>>;
517
- export type OnUserOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnUserOpportunityNotificationSubscription>;
518
- export type OnUserOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnUserOpportunityNotificationSubscription>;
@@ -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.useOnUserOpportunityNotificationSubscription = exports.OnUserOpportunityNotificationDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useOnCommonOpportunityNotificationSubscription = exports.OnCommonOpportunityNotificationDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyMonthReferralsXpsLazyQuery = exports.useFetchMyMonthReferralsXpsQuery = exports.FetchMyMonthReferralsXpsDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchMyActivityStreakLazyQuery = exports.useFetchMyActivityStreakQuery = exports.FetchMyActivityStreakDocument = void 0;
26
+ exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyMonthReferralsXpsLazyQuery = exports.useFetchMyMonthReferralsXpsQuery = exports.FetchMyMonthReferralsXpsDocument = exports.useFetchMyExperienceLazyQuery = exports.useFetchMyExperienceQuery = exports.FetchMyExperienceDocument = exports.useFetchMyActivityStreakLazyQuery = exports.useFetchMyActivityStreakQuery = exports.FetchMyActivityStreakDocument = void 0;
27
27
  const client_1 = require("@apollo/client");
28
28
  const Apollo = __importStar(require("@apollo/client"));
29
29
  exports.FetchMyActivityStreakDocument = (0, client_1.gql) `
@@ -59,39 +59,34 @@ function useFetchMyActivityStreakLazyQuery(baseOptions) {
59
59
  return Apollo.useLazyQuery(exports.FetchMyActivityStreakDocument, baseOptions);
60
60
  }
61
61
  exports.useFetchMyActivityStreakLazyQuery = useFetchMyActivityStreakLazyQuery;
62
- exports.FetchMyExperienceV2Document = (0, client_1.gql) `
63
- query FetchMyExperienceV2 {
64
- fetchMyExperienceV2 {
65
- xps
66
- level
67
- levelMaxXps
68
- levelMinXps
69
- }
62
+ exports.FetchMyExperienceDocument = (0, client_1.gql) `
63
+ query FetchMyExperience {
64
+ fetchMyExperience
70
65
  }
71
66
  `;
72
67
  /**
73
- * __useFetchMyExperienceV2Query__
68
+ * __useFetchMyExperienceQuery__
74
69
  *
75
- * To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
76
- * When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
70
+ * To run a query within a React component, call `useFetchMyExperienceQuery` and pass it any options that fit your needs.
71
+ * When your component renders, `useFetchMyExperienceQuery` returns an object from Apollo Client that contains loading, error, and data properties
77
72
  * you can use to render your UI.
78
73
  *
79
74
  * @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;
80
75
  *
81
76
  * @example
82
- * const { data, loading, error } = useFetchMyExperienceV2Query({
77
+ * const { data, loading, error } = useFetchMyExperienceQuery({
83
78
  * variables: {
84
79
  * },
85
80
  * });
86
81
  */
87
- function useFetchMyExperienceV2Query(baseOptions) {
88
- return Apollo.useQuery(exports.FetchMyExperienceV2Document, baseOptions);
82
+ function useFetchMyExperienceQuery(baseOptions) {
83
+ return Apollo.useQuery(exports.FetchMyExperienceDocument, baseOptions);
89
84
  }
90
- exports.useFetchMyExperienceV2Query = useFetchMyExperienceV2Query;
91
- function useFetchMyExperienceV2LazyQuery(baseOptions) {
92
- return Apollo.useLazyQuery(exports.FetchMyExperienceV2Document, baseOptions);
85
+ exports.useFetchMyExperienceQuery = useFetchMyExperienceQuery;
86
+ function useFetchMyExperienceLazyQuery(baseOptions) {
87
+ return Apollo.useLazyQuery(exports.FetchMyExperienceDocument, baseOptions);
93
88
  }
94
- exports.useFetchMyExperienceV2LazyQuery = useFetchMyExperienceV2LazyQuery;
89
+ exports.useFetchMyExperienceLazyQuery = useFetchMyExperienceLazyQuery;
95
90
  exports.FetchMyMonthReferralsXpsDocument = (0, client_1.gql) `
96
91
  query FetchMyMonthReferralsXps {
97
92
  fetchMyMonthReferralsXps
@@ -159,157 +154,3 @@ function useFetchMyTasksLazyQuery(baseOptions) {
159
154
  return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
160
155
  }
161
156
  exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
162
- exports.OnCommonOpportunityNotificationDocument = (0, client_1.gql) `
163
- subscription OnCommonOpportunityNotification {
164
- onCommonOpportunityNotification {
165
- opportunityId
166
- name
167
- description
168
- notificationType
169
- media
170
- projectUrl
171
- }
172
- }
173
- `;
174
- /**
175
- * __useOnCommonOpportunityNotificationSubscription__
176
- *
177
- * To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
178
- * When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
179
- * you can use to render your UI.
180
- *
181
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
182
- *
183
- * @example
184
- * const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
185
- * variables: {
186
- * },
187
- * });
188
- */
189
- function useOnCommonOpportunityNotificationSubscription(baseOptions) {
190
- return Apollo.useSubscription(exports.OnCommonOpportunityNotificationDocument, baseOptions);
191
- }
192
- exports.useOnCommonOpportunityNotificationSubscription = useOnCommonOpportunityNotificationSubscription;
193
- exports.OnInviteCodeUsedDocument = (0, client_1.gql) `
194
- subscription onInviteCodeUsed($authToken: String!) {
195
- onInviteCodeUsed(authToken: $authToken) {
196
- userId
197
- inviteCode
198
- inviteeId
199
- }
200
- }
201
- `;
202
- /**
203
- * __useOnInviteCodeUsedSubscription__
204
- *
205
- * To run a query within a React component, call `useOnInviteCodeUsedSubscription` and pass it any options that fit your needs.
206
- * When your component renders, `useOnInviteCodeUsedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
207
- * you can use to render your UI.
208
- *
209
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
210
- *
211
- * @example
212
- * const { data, loading, error } = useOnInviteCodeUsedSubscription({
213
- * variables: {
214
- * authToken: // value for 'authToken'
215
- * },
216
- * });
217
- */
218
- function useOnInviteCodeUsedSubscription(baseOptions) {
219
- return Apollo.useSubscription(exports.OnInviteCodeUsedDocument, baseOptions);
220
- }
221
- exports.useOnInviteCodeUsedSubscription = useOnInviteCodeUsedSubscription;
222
- exports.OnMyExperienceIncrementedDocument = (0, client_1.gql) `
223
- subscription onMyExperienceIncremented($authToken: String!) {
224
- onMyExperienceIncremented(authToken: $authToken) {
225
- xpsIncrement
226
- description
227
- xps
228
- level
229
- levelMinXps
230
- levelMaxXps
231
- }
232
- }
233
- `;
234
- /**
235
- * __useOnMyExperienceIncrementedSubscription__
236
- *
237
- * To run a query within a React component, call `useOnMyExperienceIncrementedSubscription` and pass it any options that fit your needs.
238
- * When your component renders, `useOnMyExperienceIncrementedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
239
- * you can use to render your UI.
240
- *
241
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
242
- *
243
- * @example
244
- * const { data, loading, error } = useOnMyExperienceIncrementedSubscription({
245
- * variables: {
246
- * authToken: // value for 'authToken'
247
- * },
248
- * });
249
- */
250
- function useOnMyExperienceIncrementedSubscription(baseOptions) {
251
- return Apollo.useSubscription(exports.OnMyExperienceIncrementedDocument, baseOptions);
252
- }
253
- exports.useOnMyExperienceIncrementedSubscription = useOnMyExperienceIncrementedSubscription;
254
- exports.OnMyExperienceUpdatedDocument = (0, client_1.gql) `
255
- subscription OnMyExperienceUpdated($authToken: String!) {
256
- onMyExperienceUpdated(authToken: $authToken) {
257
- xps
258
- level
259
- levelMinXps
260
- levelMaxXps
261
- }
262
- }
263
- `;
264
- /**
265
- * __useOnMyExperienceUpdatedSubscription__
266
- *
267
- * To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
268
- * When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
269
- * you can use to render your UI.
270
- *
271
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
272
- *
273
- * @example
274
- * const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
275
- * variables: {
276
- * authToken: // value for 'authToken'
277
- * },
278
- * });
279
- */
280
- function useOnMyExperienceUpdatedSubscription(baseOptions) {
281
- return Apollo.useSubscription(exports.OnMyExperienceUpdatedDocument, baseOptions);
282
- }
283
- exports.useOnMyExperienceUpdatedSubscription = useOnMyExperienceUpdatedSubscription;
284
- exports.OnUserOpportunityNotificationDocument = (0, client_1.gql) `
285
- subscription OnUserOpportunityNotification($authToken: String!) {
286
- onUserOpportunityNotification(authToken: $authToken) {
287
- opportunityId
288
- name
289
- description
290
- notificationType
291
- media
292
- projectUrl
293
- }
294
- }
295
- `;
296
- /**
297
- * __useOnUserOpportunityNotificationSubscription__
298
- *
299
- * To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
300
- * When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
301
- * you can use to render your UI.
302
- *
303
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
304
- *
305
- * @example
306
- * const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
307
- * variables: {
308
- * authToken: // value for 'authToken'
309
- * },
310
- * });
311
- */
312
- function useOnUserOpportunityNotificationSubscription(baseOptions) {
313
- return Apollo.useSubscription(exports.OnUserOpportunityNotificationDocument, baseOptions);
314
- }
315
- exports.useOnUserOpportunityNotificationSubscription = useOnUserOpportunityNotificationSubscription;
@@ -1196,6 +1196,14 @@ export type IDirectiveResolvers<ContextType = any> = {
1196
1196
  experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
1197
1197
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
1198
1198
  };
1199
+ export type IDislikeAssetMutationVariables = Exact<{
1200
+ assetId: Scalars['String'];
1201
+ }>;
1202
+ export type IDislikeAssetMutation = Pick<IMutation, 'dislikeAsset'>;
1203
+ export type ILikeAssetMutationVariables = Exact<{
1204
+ assetId: Scalars['String'];
1205
+ }>;
1206
+ export type ILikeAssetMutation = Pick<IMutation, 'likeAsset'>;
1199
1207
  export type IFetchAirdropsLeaderboardQueryVariables = Exact<{
1200
1208
  filter: IAirdropsLeaderboardFilterInput;
1201
1209
  sort: IAirdropsLeaderboardSortInput;
@@ -1486,6 +1494,56 @@ export type IFindUserLudoCreationsQuery = {
1486
1494
  creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
1487
1495
  };
1488
1496
  };
1497
+ export declare const DislikeAssetDocument: Apollo.DocumentNode;
1498
+ export type IDislikeAssetMutationFn = Apollo.MutationFunction<IDislikeAssetMutation, IDislikeAssetMutationVariables>;
1499
+ /**
1500
+ * __useDislikeAssetMutation__
1501
+ *
1502
+ * To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
1503
+ * When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
1504
+ * - A mutate function that you can call at any time to execute the mutation
1505
+ * - An object with fields that represent the current status of the mutation's execution
1506
+ *
1507
+ * @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;
1508
+ *
1509
+ * @example
1510
+ * const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
1511
+ * variables: {
1512
+ * assetId: // value for 'assetId'
1513
+ * },
1514
+ * });
1515
+ */
1516
+ export declare function useDislikeAssetMutation(baseOptions?: Apollo.MutationHookOptions<IDislikeAssetMutation, IDislikeAssetMutationVariables>): Apollo.MutationTuple<IDislikeAssetMutation, Exact<{
1517
+ assetId: string;
1518
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1519
+ export type DislikeAssetMutationHookResult = ReturnType<typeof useDislikeAssetMutation>;
1520
+ export type DislikeAssetMutationResult = Apollo.MutationResult<IDislikeAssetMutation>;
1521
+ export type DislikeAssetMutationOptions = Apollo.BaseMutationOptions<IDislikeAssetMutation, IDislikeAssetMutationVariables>;
1522
+ export declare const LikeAssetDocument: Apollo.DocumentNode;
1523
+ export type ILikeAssetMutationFn = Apollo.MutationFunction<ILikeAssetMutation, ILikeAssetMutationVariables>;
1524
+ /**
1525
+ * __useLikeAssetMutation__
1526
+ *
1527
+ * To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
1528
+ * When your component renders, `useLikeAssetMutation` returns a tuple that includes:
1529
+ * - A mutate function that you can call at any time to execute the mutation
1530
+ * - An object with fields that represent the current status of the mutation's execution
1531
+ *
1532
+ * @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;
1533
+ *
1534
+ * @example
1535
+ * const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
1536
+ * variables: {
1537
+ * assetId: // value for 'assetId'
1538
+ * },
1539
+ * });
1540
+ */
1541
+ export declare function useLikeAssetMutation(baseOptions?: Apollo.MutationHookOptions<ILikeAssetMutation, ILikeAssetMutationVariables>): Apollo.MutationTuple<ILikeAssetMutation, Exact<{
1542
+ assetId: string;
1543
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1544
+ export type LikeAssetMutationHookResult = ReturnType<typeof useLikeAssetMutation>;
1545
+ export type LikeAssetMutationResult = Apollo.MutationResult<ILikeAssetMutation>;
1546
+ export type LikeAssetMutationOptions = Apollo.BaseMutationOptions<ILikeAssetMutation, ILikeAssetMutationVariables>;
1489
1547
  export declare const FetchAirdropsLeaderboardDocument: Apollo.DocumentNode;
1490
1548
  /**
1491
1549
  * __useFetchAirdropsLeaderboardQuery__
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useFetchLudoNftsTonPageLazyQuery = exports.useFetchLudoNftsTonPageQuery = exports.FetchLudoNftsTonPageDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAvailableLeaderboardsLazyQuery = exports.useFetchAvailableLeaderboardsQuery = exports.FetchAvailableLeaderboardsDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchAirdropsLeaderboardLazyQuery = exports.useFetchAirdropsLeaderboardQuery = exports.FetchAirdropsLeaderboardDocument = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.ILeaderboardType = exports.IBlockchain = void 0;
27
- exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = exports.useFetchUsedForMintingRefCodeLazyQuery = exports.useFetchUsedForMintingRefCodeQuery = exports.FetchUsedForMintingRefCodeDocument = exports.useFetchUsedForMintingDataLazyQuery = exports.useFetchUsedForMintingDataQuery = exports.FetchUsedForMintingDataDocument = exports.useFetchProjectsSlugsLazyQuery = exports.useFetchProjectsSlugsQuery = exports.FetchProjectsSlugsDocument = exports.useFetchProjectsPageLazyQuery = exports.useFetchProjectsPageQuery = exports.FetchProjectsPageDocument = exports.useFetchProjectsLeaderboardLazyQuery = exports.useFetchProjectsLeaderboardQuery = exports.FetchProjectsLeaderboardDocument = exports.useFetchProjectsByTermLazyQuery = exports.useFetchProjectsByTermQuery = exports.FetchProjectsByTermDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = void 0;
26
+ exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAvailableLeaderboardsLazyQuery = exports.useFetchAvailableLeaderboardsQuery = exports.FetchAvailableLeaderboardsDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchAirdropsLeaderboardLazyQuery = exports.useFetchAirdropsLeaderboardQuery = exports.FetchAirdropsLeaderboardDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.ILeaderboardType = exports.IBlockchain = void 0;
27
+ exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = exports.useFetchUsedForMintingRefCodeLazyQuery = exports.useFetchUsedForMintingRefCodeQuery = exports.FetchUsedForMintingRefCodeDocument = exports.useFetchUsedForMintingDataLazyQuery = exports.useFetchUsedForMintingDataQuery = exports.FetchUsedForMintingDataDocument = exports.useFetchProjectsSlugsLazyQuery = exports.useFetchProjectsSlugsQuery = exports.FetchProjectsSlugsDocument = exports.useFetchProjectsPageLazyQuery = exports.useFetchProjectsPageQuery = exports.FetchProjectsPageDocument = exports.useFetchProjectsLeaderboardLazyQuery = exports.useFetchProjectsLeaderboardQuery = exports.FetchProjectsLeaderboardDocument = exports.useFetchProjectsByTermLazyQuery = exports.useFetchProjectsByTermQuery = exports.FetchProjectsByTermDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFetchLudoNftsTonPageLazyQuery = exports.useFetchLudoNftsTonPageQuery = exports.FetchLudoNftsTonPageDocument = exports.useFindAllTopEntitiesByNameLazyQuery = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  var IBlockchain;
@@ -84,6 +84,58 @@ var ISortDirection;
84
84
  ISortDirection["Asc"] = "asc";
85
85
  ISortDirection["Desc"] = "desc";
86
86
  })(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
87
+ exports.DislikeAssetDocument = (0, client_1.gql) `
88
+ mutation DislikeAsset($assetId: String!) {
89
+ dislikeAsset(assetId: $assetId)
90
+ }
91
+ `;
92
+ /**
93
+ * __useDislikeAssetMutation__
94
+ *
95
+ * To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
96
+ * When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
97
+ * - A mutate function that you can call at any time to execute the mutation
98
+ * - An object with fields that represent the current status of the mutation's execution
99
+ *
100
+ * @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;
101
+ *
102
+ * @example
103
+ * const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
104
+ * variables: {
105
+ * assetId: // value for 'assetId'
106
+ * },
107
+ * });
108
+ */
109
+ function useDislikeAssetMutation(baseOptions) {
110
+ return Apollo.useMutation(exports.DislikeAssetDocument, baseOptions);
111
+ }
112
+ exports.useDislikeAssetMutation = useDislikeAssetMutation;
113
+ exports.LikeAssetDocument = (0, client_1.gql) `
114
+ mutation LikeAsset($assetId: String!) {
115
+ likeAsset(assetId: $assetId)
116
+ }
117
+ `;
118
+ /**
119
+ * __useLikeAssetMutation__
120
+ *
121
+ * To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
122
+ * When your component renders, `useLikeAssetMutation` returns a tuple that includes:
123
+ * - A mutate function that you can call at any time to execute the mutation
124
+ * - An object with fields that represent the current status of the mutation's execution
125
+ *
126
+ * @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;
127
+ *
128
+ * @example
129
+ * const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
130
+ * variables: {
131
+ * assetId: // value for 'assetId'
132
+ * },
133
+ * });
134
+ */
135
+ function useLikeAssetMutation(baseOptions) {
136
+ return Apollo.useMutation(exports.LikeAssetDocument, baseOptions);
137
+ }
138
+ exports.useLikeAssetMutation = useLikeAssetMutation;
87
139
  exports.FetchAirdropsLeaderboardDocument = (0, client_1.gql) `
88
140
  query FetchAirdropsLeaderboard($filter: AirdropsLeaderboardFilterInput!, $sort: AirdropsLeaderboardSortInput!, $page: PageInput!) {
89
141
  fetchAirdropsLeaderboard(filter: $filter, sort: $sort, page: $page) {