@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.
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +21 -178
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +14 -173
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +58 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +54 -2
- package/build/index.d.ts +17 -47
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +32 -250
- package/src/graphql_tools/__generated__/searchHost/schema.ts +74 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/api-test-3.2.42.tgz +0 -0
package/build/index.d.ts
CHANGED
|
@@ -227,6 +227,16 @@ declare const schema: {
|
|
|
227
227
|
SubmitPartnershipInquiryDocument: import("graphql").DocumentNode;
|
|
228
228
|
SubmitRegistrationInviteDocument: import("graphql").DocumentNode;
|
|
229
229
|
SubmitUserFeedbackDocument: import("graphql").DocumentNode;
|
|
230
|
+
useDislikeAssetMutation(baseOptions?: import("@apollo/client").MutationHookOptions<searchSchema.IDislikeAssetMutation, searchSchema.Exact<{
|
|
231
|
+
assetId: string;
|
|
232
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<searchSchema.IDislikeAssetMutation, searchSchema.Exact<{
|
|
233
|
+
assetId: string;
|
|
234
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
235
|
+
useLikeAssetMutation(baseOptions?: import("@apollo/client").MutationHookOptions<searchSchema.ILikeAssetMutation, searchSchema.Exact<{
|
|
236
|
+
assetId: string;
|
|
237
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<searchSchema.ILikeAssetMutation, searchSchema.Exact<{
|
|
238
|
+
assetId: string;
|
|
239
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
230
240
|
useFetchAirdropsLeaderboardQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFetchAirdropsLeaderboardQuery, searchSchema.Exact<{
|
|
231
241
|
filter: searchSchema.IAirdropsLeaderboardFilterInput;
|
|
232
242
|
sort: searchSchema.IAirdropsLeaderboardSortInput;
|
|
@@ -608,6 +618,8 @@ declare const schema: {
|
|
|
608
618
|
IProjectType: typeof searchSchema.IProjectType;
|
|
609
619
|
IReftypeColor: typeof searchSchema.IReftypeColor;
|
|
610
620
|
ISortDirection: typeof searchSchema.ISortDirection;
|
|
621
|
+
DislikeAssetDocument: import("graphql").DocumentNode;
|
|
622
|
+
LikeAssetDocument: import("graphql").DocumentNode;
|
|
611
623
|
FetchAirdropsLeaderboardDocument: import("graphql").DocumentNode;
|
|
612
624
|
FetchAllCreationsDocument: import("graphql").DocumentNode;
|
|
613
625
|
FetchAssetByBlockchainDocument: import("graphql").DocumentNode;
|
|
@@ -1660,14 +1672,14 @@ declare const schema: {
|
|
|
1660
1672
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<experiencesSchema.IFetchMyActivityStreakQuery, experiencesSchema.Exact<{
|
|
1661
1673
|
[key: string]: never;
|
|
1662
1674
|
}>>;
|
|
1663
|
-
|
|
1675
|
+
useFetchMyExperienceQuery(baseOptions?: import("@apollo/client").QueryHookOptions<experiencesSchema.IFetchMyExperienceQuery, experiencesSchema.Exact<{
|
|
1664
1676
|
[key: string]: never;
|
|
1665
|
-
}>> | undefined): import("@apollo/client").QueryResult<experiencesSchema.
|
|
1677
|
+
}>> | undefined): import("@apollo/client").QueryResult<experiencesSchema.IFetchMyExperienceQuery, experiencesSchema.Exact<{
|
|
1666
1678
|
[key: string]: never;
|
|
1667
1679
|
}>>;
|
|
1668
|
-
|
|
1680
|
+
useFetchMyExperienceLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<experiencesSchema.IFetchMyExperienceQuery, experiencesSchema.Exact<{
|
|
1669
1681
|
[key: string]: never;
|
|
1670
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<experiencesSchema.
|
|
1682
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<experiencesSchema.IFetchMyExperienceQuery, experiencesSchema.Exact<{
|
|
1671
1683
|
[key: string]: never;
|
|
1672
1684
|
}>>;
|
|
1673
1685
|
useFetchMyMonthReferralsXpsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<experiencesSchema.IFetchMyMonthReferralsXpsQuery, experiencesSchema.Exact<{
|
|
@@ -1690,40 +1702,10 @@ declare const schema: {
|
|
|
1690
1702
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<experiencesSchema.IFetchMyTasksQuery, experiencesSchema.Exact<{
|
|
1691
1703
|
[key: string]: never;
|
|
1692
1704
|
}>>;
|
|
1693
|
-
useOnCommonOpportunityNotificationSubscription(baseOptions?: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnCommonOpportunityNotificationSubscription, experiencesSchema.Exact<{
|
|
1694
|
-
[key: string]: never;
|
|
1695
|
-
}>> | undefined): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnCommonOpportunityNotificationSubscription, experiencesSchema.Exact<{
|
|
1696
|
-
[key: string]: never;
|
|
1697
|
-
}>>;
|
|
1698
|
-
useOnInviteCodeUsedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
|
|
1699
|
-
authToken: string;
|
|
1700
|
-
}>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
|
|
1701
|
-
authToken: string;
|
|
1702
|
-
}>>;
|
|
1703
|
-
useOnMyExperienceIncrementedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceIncrementedSubscription, experiencesSchema.Exact<{
|
|
1704
|
-
authToken: string;
|
|
1705
|
-
}>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnMyExperienceIncrementedSubscription, experiencesSchema.Exact<{
|
|
1706
|
-
authToken: string;
|
|
1707
|
-
}>>;
|
|
1708
|
-
useOnMyExperienceUpdatedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceUpdatedSubscription, experiencesSchema.Exact<{
|
|
1709
|
-
authToken: string;
|
|
1710
|
-
}>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnMyExperienceUpdatedSubscription, experiencesSchema.Exact<{
|
|
1711
|
-
authToken: string;
|
|
1712
|
-
}>>;
|
|
1713
|
-
useOnUserOpportunityNotificationSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnUserOpportunityNotificationSubscription, experiencesSchema.Exact<{
|
|
1714
|
-
authToken: string;
|
|
1715
|
-
}>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnUserOpportunityNotificationSubscription, experiencesSchema.Exact<{
|
|
1716
|
-
authToken: string;
|
|
1717
|
-
}>>;
|
|
1718
1705
|
FetchMyActivityStreakDocument: import("graphql").DocumentNode;
|
|
1719
|
-
|
|
1706
|
+
FetchMyExperienceDocument: import("graphql").DocumentNode;
|
|
1720
1707
|
FetchMyMonthReferralsXpsDocument: import("graphql").DocumentNode;
|
|
1721
1708
|
FetchMyTasksDocument: import("graphql").DocumentNode;
|
|
1722
|
-
OnCommonOpportunityNotificationDocument: import("graphql").DocumentNode;
|
|
1723
|
-
OnInviteCodeUsedDocument: import("graphql").DocumentNode;
|
|
1724
|
-
OnMyExperienceIncrementedDocument: import("graphql").DocumentNode;
|
|
1725
|
-
OnMyExperienceUpdatedDocument: import("graphql").DocumentNode;
|
|
1726
|
-
OnUserOpportunityNotificationDocument: import("graphql").DocumentNode;
|
|
1727
1709
|
useDislikeCollectionMutation(baseOptions?: import("@apollo/client").MutationHookOptions<collectionsSchema.IDislikeCollectionMutation, collectionsSchema.Exact<{
|
|
1728
1710
|
collectionId: string;
|
|
1729
1711
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<collectionsSchema.IDislikeCollectionMutation, collectionsSchema.Exact<{
|
|
@@ -1750,18 +1732,6 @@ declare const schema: {
|
|
|
1750
1732
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1751
1733
|
RefreshTokenDocument: import("graphql").DocumentNode;
|
|
1752
1734
|
RevokeTokenDocument: import("graphql").DocumentNode;
|
|
1753
|
-
useDislikeAssetMutation(baseOptions?: import("@apollo/client").MutationHookOptions<assetSchema.IDislikeAssetMutation, assetSchema.Exact<{
|
|
1754
|
-
assetId: string;
|
|
1755
|
-
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<assetSchema.IDislikeAssetMutation, assetSchema.Exact<{
|
|
1756
|
-
assetId: string;
|
|
1757
|
-
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1758
|
-
useLikeAssetMutation(baseOptions?: import("@apollo/client").MutationHookOptions<assetSchema.ILikeAssetMutation, assetSchema.Exact<{
|
|
1759
|
-
assetId: string;
|
|
1760
|
-
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<assetSchema.ILikeAssetMutation, assetSchema.Exact<{
|
|
1761
|
-
assetId: string;
|
|
1762
|
-
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1763
|
-
DislikeAssetDocument: import("graphql").DocumentNode;
|
|
1764
|
-
LikeAssetDocument: import("graphql").DocumentNode;
|
|
1765
1735
|
useCreateReferralTypeMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.ICreateReferralTypeMutation, adminSchema.Exact<{
|
|
1766
1736
|
input: adminSchema.IReferralTypeInput;
|
|
1767
1737
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.ICreateReferralTypeMutation, adminSchema.Exact<{
|
package/package.json
CHANGED
|
@@ -6,7 +6,6 @@ export type Maybe<T> = T | null;
|
|
|
6
6
|
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
7
7
|
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
8
8
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
9
|
-
export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]> };
|
|
10
9
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
11
10
|
export type Scalars = {
|
|
12
11
|
ID: string;
|
|
@@ -19,6 +18,8 @@ export type Scalars = {
|
|
|
19
18
|
};
|
|
20
19
|
|
|
21
20
|
|
|
21
|
+
|
|
22
|
+
|
|
22
23
|
export type IActivityStreak = {
|
|
23
24
|
userId: Scalars['ID'];
|
|
24
25
|
totalDays: Scalars['Int'];
|
|
@@ -52,31 +53,6 @@ export type IQuery = {
|
|
|
52
53
|
|
|
53
54
|
export type ISubscription = {
|
|
54
55
|
onDummy: Scalars['String'];
|
|
55
|
-
onMyExperienceUpdated: IUserXp;
|
|
56
|
-
onMyExperienceIncremented: IUserXpIncrement;
|
|
57
|
-
onInviteCodeUsed: IUsedInviteCode;
|
|
58
|
-
onCommonOpportunityNotification: IOpportunityNotification;
|
|
59
|
-
onUserOpportunityNotification: IOpportunityNotification;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export type ISubscriptionOnMyExperienceUpdatedArgs = {
|
|
64
|
-
authToken: Scalars['String'];
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export type ISubscriptionOnMyExperienceIncrementedArgs = {
|
|
69
|
-
authToken: Scalars['String'];
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
74
|
-
authToken: Scalars['String'];
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
79
|
-
authToken: Scalars['String'];
|
|
80
56
|
};
|
|
81
57
|
|
|
82
58
|
export type ITask = {
|
|
@@ -218,6 +194,17 @@ export type IResolversParentTypes = {
|
|
|
218
194
|
UserXPIncrement: IUserXpIncrement;
|
|
219
195
|
};
|
|
220
196
|
|
|
197
|
+
export type IDeferDirectiveArgs = {
|
|
198
|
+
if?: Scalars['Boolean'];
|
|
199
|
+
label?: Maybe<Scalars['String']>;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
203
|
+
|
|
204
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
205
|
+
|
|
206
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
207
|
+
|
|
221
208
|
export type IOneOfDirectiveArgs = { };
|
|
222
209
|
|
|
223
210
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -260,11 +247,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
260
247
|
|
|
261
248
|
export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
|
|
262
249
|
onDummy?: SubscriptionResolver<IResolversTypes['String'], "onDummy", ParentType, ContextType>;
|
|
263
|
-
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
264
|
-
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
265
|
-
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
266
|
-
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
267
|
-
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
268
250
|
};
|
|
269
251
|
|
|
270
252
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
@@ -321,6 +303,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
321
303
|
};
|
|
322
304
|
|
|
323
305
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
306
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
307
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
324
308
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
325
309
|
};
|
|
326
310
|
|
|
@@ -329,10 +313,10 @@ export type IFetchMyActivityStreakQueryVariables = Exact<{ [key: string]: never;
|
|
|
329
313
|
|
|
330
314
|
export type IFetchMyActivityStreakQuery = { fetchMyActivityStreak?: Maybe<Pick<IActivityStreak, 'userId' | 'totalDays' | 'nextStreak' | 'nextBonus'>> };
|
|
331
315
|
|
|
332
|
-
export type
|
|
316
|
+
export type IFetchMyExperienceQueryVariables = Exact<{ [key: string]: never; }>;
|
|
333
317
|
|
|
334
318
|
|
|
335
|
-
export type
|
|
319
|
+
export type IFetchMyExperienceQuery = Pick<IQuery, 'fetchMyExperience'>;
|
|
336
320
|
|
|
337
321
|
export type IFetchMyMonthReferralsXpsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
338
322
|
|
|
@@ -344,39 +328,6 @@ export type IFetchMyTasksQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
344
328
|
|
|
345
329
|
export type IFetchMyTasksQuery = { fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>> };
|
|
346
330
|
|
|
347
|
-
export type IOnCommonOpportunityNotificationSubscriptionVariables = Exact<{ [key: string]: never; }>;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
export type IOnCommonOpportunityNotificationSubscription = { onCommonOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'> };
|
|
351
|
-
|
|
352
|
-
export type IOnInviteCodeUsedSubscriptionVariables = Exact<{
|
|
353
|
-
authToken: Scalars['String'];
|
|
354
|
-
}>;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
export type IOnInviteCodeUsedSubscription = { onInviteCodeUsed: Pick<IUsedInviteCode, 'userId' | 'inviteCode' | 'inviteeId'> };
|
|
358
|
-
|
|
359
|
-
export type IOnMyExperienceIncrementedSubscriptionVariables = Exact<{
|
|
360
|
-
authToken: Scalars['String'];
|
|
361
|
-
}>;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
export type IOnMyExperienceIncrementedSubscription = { onMyExperienceIncremented: Pick<IUserXpIncrement, 'xpsIncrement' | 'description' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
|
|
365
|
-
|
|
366
|
-
export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
|
|
367
|
-
authToken: Scalars['String'];
|
|
368
|
-
}>;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
export type IOnMyExperienceUpdatedSubscription = { onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
|
|
372
|
-
|
|
373
|
-
export type IOnUserOpportunityNotificationSubscriptionVariables = Exact<{
|
|
374
|
-
authToken: Scalars['String'];
|
|
375
|
-
}>;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
export type IOnUserOpportunityNotificationSubscription = { onUserOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'> };
|
|
379
|
-
|
|
380
331
|
|
|
381
332
|
export const FetchMyActivityStreakDocument = gql`
|
|
382
333
|
query FetchMyActivityStreak {
|
|
@@ -413,41 +364,36 @@ export function useFetchMyActivityStreakLazyQuery(baseOptions?: Apollo.LazyQuery
|
|
|
413
364
|
export type FetchMyActivityStreakQueryHookResult = ReturnType<typeof useFetchMyActivityStreakQuery>;
|
|
414
365
|
export type FetchMyActivityStreakLazyQueryHookResult = ReturnType<typeof useFetchMyActivityStreakLazyQuery>;
|
|
415
366
|
export type FetchMyActivityStreakQueryResult = Apollo.QueryResult<IFetchMyActivityStreakQuery, IFetchMyActivityStreakQueryVariables>;
|
|
416
|
-
export const
|
|
417
|
-
query
|
|
418
|
-
|
|
419
|
-
xps
|
|
420
|
-
level
|
|
421
|
-
levelMaxXps
|
|
422
|
-
levelMinXps
|
|
423
|
-
}
|
|
367
|
+
export const FetchMyExperienceDocument = gql`
|
|
368
|
+
query FetchMyExperience {
|
|
369
|
+
fetchMyExperience
|
|
424
370
|
}
|
|
425
371
|
`;
|
|
426
372
|
|
|
427
373
|
/**
|
|
428
|
-
*
|
|
374
|
+
* __useFetchMyExperienceQuery__
|
|
429
375
|
*
|
|
430
|
-
* To run a query within a React component, call `
|
|
431
|
-
* When your component renders, `
|
|
376
|
+
* To run a query within a React component, call `useFetchMyExperienceQuery` and pass it any options that fit your needs.
|
|
377
|
+
* When your component renders, `useFetchMyExperienceQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
432
378
|
* you can use to render your UI.
|
|
433
379
|
*
|
|
434
380
|
* @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;
|
|
435
381
|
*
|
|
436
382
|
* @example
|
|
437
|
-
* const { data, loading, error } =
|
|
383
|
+
* const { data, loading, error } = useFetchMyExperienceQuery({
|
|
438
384
|
* variables: {
|
|
439
385
|
* },
|
|
440
386
|
* });
|
|
441
387
|
*/
|
|
442
|
-
export function
|
|
443
|
-
return Apollo.useQuery<
|
|
388
|
+
export function useFetchMyExperienceQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>) {
|
|
389
|
+
return Apollo.useQuery<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>(FetchMyExperienceDocument, baseOptions);
|
|
444
390
|
}
|
|
445
|
-
export function
|
|
446
|
-
return Apollo.useLazyQuery<
|
|
391
|
+
export function useFetchMyExperienceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>) {
|
|
392
|
+
return Apollo.useLazyQuery<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>(FetchMyExperienceDocument, baseOptions);
|
|
447
393
|
}
|
|
448
|
-
export type
|
|
449
|
-
export type
|
|
450
|
-
export type
|
|
394
|
+
export type FetchMyExperienceQueryHookResult = ReturnType<typeof useFetchMyExperienceQuery>;
|
|
395
|
+
export type FetchMyExperienceLazyQueryHookResult = ReturnType<typeof useFetchMyExperienceLazyQuery>;
|
|
396
|
+
export type FetchMyExperienceQueryResult = Apollo.QueryResult<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>;
|
|
451
397
|
export const FetchMyMonthReferralsXpsDocument = gql`
|
|
452
398
|
query FetchMyMonthReferralsXps {
|
|
453
399
|
fetchMyMonthReferralsXps
|
|
@@ -518,168 +464,4 @@ export function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio
|
|
|
518
464
|
}
|
|
519
465
|
export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
|
|
520
466
|
export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
|
|
521
|
-
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|
|
522
|
-
export const OnCommonOpportunityNotificationDocument = gql`
|
|
523
|
-
subscription OnCommonOpportunityNotification {
|
|
524
|
-
onCommonOpportunityNotification {
|
|
525
|
-
opportunityId
|
|
526
|
-
name
|
|
527
|
-
description
|
|
528
|
-
notificationType
|
|
529
|
-
media
|
|
530
|
-
projectUrl
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
`;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* __useOnCommonOpportunityNotificationSubscription__
|
|
537
|
-
*
|
|
538
|
-
* To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
|
|
539
|
-
* When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
540
|
-
* you can use to render your UI.
|
|
541
|
-
*
|
|
542
|
-
* @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;
|
|
543
|
-
*
|
|
544
|
-
* @example
|
|
545
|
-
* const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
|
|
546
|
-
* variables: {
|
|
547
|
-
* },
|
|
548
|
-
* });
|
|
549
|
-
*/
|
|
550
|
-
export function useOnCommonOpportunityNotificationSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>) {
|
|
551
|
-
return Apollo.useSubscription<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>(OnCommonOpportunityNotificationDocument, baseOptions);
|
|
552
|
-
}
|
|
553
|
-
export type OnCommonOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnCommonOpportunityNotificationSubscription>;
|
|
554
|
-
export type OnCommonOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnCommonOpportunityNotificationSubscription>;
|
|
555
|
-
export const OnInviteCodeUsedDocument = gql`
|
|
556
|
-
subscription onInviteCodeUsed($authToken: String!) {
|
|
557
|
-
onInviteCodeUsed(authToken: $authToken) {
|
|
558
|
-
userId
|
|
559
|
-
inviteCode
|
|
560
|
-
inviteeId
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
`;
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* __useOnInviteCodeUsedSubscription__
|
|
567
|
-
*
|
|
568
|
-
* To run a query within a React component, call `useOnInviteCodeUsedSubscription` and pass it any options that fit your needs.
|
|
569
|
-
* When your component renders, `useOnInviteCodeUsedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
570
|
-
* you can use to render your UI.
|
|
571
|
-
*
|
|
572
|
-
* @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;
|
|
573
|
-
*
|
|
574
|
-
* @example
|
|
575
|
-
* const { data, loading, error } = useOnInviteCodeUsedSubscription({
|
|
576
|
-
* variables: {
|
|
577
|
-
* authToken: // value for 'authToken'
|
|
578
|
-
* },
|
|
579
|
-
* });
|
|
580
|
-
*/
|
|
581
|
-
export function useOnInviteCodeUsedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>) {
|
|
582
|
-
return Apollo.useSubscription<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>(OnInviteCodeUsedDocument, baseOptions);
|
|
583
|
-
}
|
|
584
|
-
export type OnInviteCodeUsedSubscriptionHookResult = ReturnType<typeof useOnInviteCodeUsedSubscription>;
|
|
585
|
-
export type OnInviteCodeUsedSubscriptionResult = Apollo.SubscriptionResult<IOnInviteCodeUsedSubscription>;
|
|
586
|
-
export const OnMyExperienceIncrementedDocument = gql`
|
|
587
|
-
subscription onMyExperienceIncremented($authToken: String!) {
|
|
588
|
-
onMyExperienceIncremented(authToken: $authToken) {
|
|
589
|
-
xpsIncrement
|
|
590
|
-
description
|
|
591
|
-
xps
|
|
592
|
-
level
|
|
593
|
-
levelMinXps
|
|
594
|
-
levelMaxXps
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
`;
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* __useOnMyExperienceIncrementedSubscription__
|
|
601
|
-
*
|
|
602
|
-
* To run a query within a React component, call `useOnMyExperienceIncrementedSubscription` and pass it any options that fit your needs.
|
|
603
|
-
* When your component renders, `useOnMyExperienceIncrementedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
604
|
-
* you can use to render your UI.
|
|
605
|
-
*
|
|
606
|
-
* @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;
|
|
607
|
-
*
|
|
608
|
-
* @example
|
|
609
|
-
* const { data, loading, error } = useOnMyExperienceIncrementedSubscription({
|
|
610
|
-
* variables: {
|
|
611
|
-
* authToken: // value for 'authToken'
|
|
612
|
-
* },
|
|
613
|
-
* });
|
|
614
|
-
*/
|
|
615
|
-
export function useOnMyExperienceIncrementedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>) {
|
|
616
|
-
return Apollo.useSubscription<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>(OnMyExperienceIncrementedDocument, baseOptions);
|
|
617
|
-
}
|
|
618
|
-
export type OnMyExperienceIncrementedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceIncrementedSubscription>;
|
|
619
|
-
export type OnMyExperienceIncrementedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceIncrementedSubscription>;
|
|
620
|
-
export const OnMyExperienceUpdatedDocument = gql`
|
|
621
|
-
subscription OnMyExperienceUpdated($authToken: String!) {
|
|
622
|
-
onMyExperienceUpdated(authToken: $authToken) {
|
|
623
|
-
xps
|
|
624
|
-
level
|
|
625
|
-
levelMinXps
|
|
626
|
-
levelMaxXps
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
`;
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* __useOnMyExperienceUpdatedSubscription__
|
|
633
|
-
*
|
|
634
|
-
* To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
|
|
635
|
-
* When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
636
|
-
* you can use to render your UI.
|
|
637
|
-
*
|
|
638
|
-
* @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;
|
|
639
|
-
*
|
|
640
|
-
* @example
|
|
641
|
-
* const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
|
|
642
|
-
* variables: {
|
|
643
|
-
* authToken: // value for 'authToken'
|
|
644
|
-
* },
|
|
645
|
-
* });
|
|
646
|
-
*/
|
|
647
|
-
export function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>) {
|
|
648
|
-
return Apollo.useSubscription<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>(OnMyExperienceUpdatedDocument, baseOptions);
|
|
649
|
-
}
|
|
650
|
-
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
651
|
-
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
652
|
-
export const OnUserOpportunityNotificationDocument = gql`
|
|
653
|
-
subscription OnUserOpportunityNotification($authToken: String!) {
|
|
654
|
-
onUserOpportunityNotification(authToken: $authToken) {
|
|
655
|
-
opportunityId
|
|
656
|
-
name
|
|
657
|
-
description
|
|
658
|
-
notificationType
|
|
659
|
-
media
|
|
660
|
-
projectUrl
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
`;
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* __useOnUserOpportunityNotificationSubscription__
|
|
667
|
-
*
|
|
668
|
-
* To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
|
|
669
|
-
* When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
670
|
-
* you can use to render your UI.
|
|
671
|
-
*
|
|
672
|
-
* @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;
|
|
673
|
-
*
|
|
674
|
-
* @example
|
|
675
|
-
* const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
|
|
676
|
-
* variables: {
|
|
677
|
-
* authToken: // value for 'authToken'
|
|
678
|
-
* },
|
|
679
|
-
* });
|
|
680
|
-
*/
|
|
681
|
-
export function useOnUserOpportunityNotificationSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>) {
|
|
682
|
-
return Apollo.useSubscription<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>(OnUserOpportunityNotificationDocument, baseOptions);
|
|
683
|
-
}
|
|
684
|
-
export type OnUserOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnUserOpportunityNotificationSubscription>;
|
|
685
|
-
export type OnUserOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnUserOpportunityNotificationSubscription>;
|
|
467
|
+
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|
|
@@ -1396,6 +1396,20 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
1396
1396
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
1397
1397
|
};
|
|
1398
1398
|
|
|
1399
|
+
export type IDislikeAssetMutationVariables = Exact<{
|
|
1400
|
+
assetId: Scalars['String'];
|
|
1401
|
+
}>;
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
export type IDislikeAssetMutation = Pick<IMutation, 'dislikeAsset'>;
|
|
1405
|
+
|
|
1406
|
+
export type ILikeAssetMutationVariables = Exact<{
|
|
1407
|
+
assetId: Scalars['String'];
|
|
1408
|
+
}>;
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
export type ILikeAssetMutation = Pick<IMutation, 'likeAsset'>;
|
|
1412
|
+
|
|
1399
1413
|
export type IFetchAirdropsLeaderboardQueryVariables = Exact<{
|
|
1400
1414
|
filter: IAirdropsLeaderboardFilterInput;
|
|
1401
1415
|
sort: IAirdropsLeaderboardSortInput;
|
|
@@ -1649,6 +1663,66 @@ export type IFindUserLudoCreationsQueryVariables = Exact<{
|
|
|
1649
1663
|
export type IFindUserLudoCreationsQuery = { findUserLudoCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>> } };
|
|
1650
1664
|
|
|
1651
1665
|
|
|
1666
|
+
export const DislikeAssetDocument = gql`
|
|
1667
|
+
mutation DislikeAsset($assetId: String!) {
|
|
1668
|
+
dislikeAsset(assetId: $assetId)
|
|
1669
|
+
}
|
|
1670
|
+
`;
|
|
1671
|
+
export type IDislikeAssetMutationFn = Apollo.MutationFunction<IDislikeAssetMutation, IDislikeAssetMutationVariables>;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* __useDislikeAssetMutation__
|
|
1675
|
+
*
|
|
1676
|
+
* To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
|
|
1677
|
+
* When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
|
|
1678
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1679
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1680
|
+
*
|
|
1681
|
+
* @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;
|
|
1682
|
+
*
|
|
1683
|
+
* @example
|
|
1684
|
+
* const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
|
|
1685
|
+
* variables: {
|
|
1686
|
+
* assetId: // value for 'assetId'
|
|
1687
|
+
* },
|
|
1688
|
+
* });
|
|
1689
|
+
*/
|
|
1690
|
+
export function useDislikeAssetMutation(baseOptions?: Apollo.MutationHookOptions<IDislikeAssetMutation, IDislikeAssetMutationVariables>) {
|
|
1691
|
+
return Apollo.useMutation<IDislikeAssetMutation, IDislikeAssetMutationVariables>(DislikeAssetDocument, baseOptions);
|
|
1692
|
+
}
|
|
1693
|
+
export type DislikeAssetMutationHookResult = ReturnType<typeof useDislikeAssetMutation>;
|
|
1694
|
+
export type DislikeAssetMutationResult = Apollo.MutationResult<IDislikeAssetMutation>;
|
|
1695
|
+
export type DislikeAssetMutationOptions = Apollo.BaseMutationOptions<IDislikeAssetMutation, IDislikeAssetMutationVariables>;
|
|
1696
|
+
export const LikeAssetDocument = gql`
|
|
1697
|
+
mutation LikeAsset($assetId: String!) {
|
|
1698
|
+
likeAsset(assetId: $assetId)
|
|
1699
|
+
}
|
|
1700
|
+
`;
|
|
1701
|
+
export type ILikeAssetMutationFn = Apollo.MutationFunction<ILikeAssetMutation, ILikeAssetMutationVariables>;
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* __useLikeAssetMutation__
|
|
1705
|
+
*
|
|
1706
|
+
* To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
|
|
1707
|
+
* When your component renders, `useLikeAssetMutation` returns a tuple that includes:
|
|
1708
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1709
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1710
|
+
*
|
|
1711
|
+
* @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;
|
|
1712
|
+
*
|
|
1713
|
+
* @example
|
|
1714
|
+
* const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
|
|
1715
|
+
* variables: {
|
|
1716
|
+
* assetId: // value for 'assetId'
|
|
1717
|
+
* },
|
|
1718
|
+
* });
|
|
1719
|
+
*/
|
|
1720
|
+
export function useLikeAssetMutation(baseOptions?: Apollo.MutationHookOptions<ILikeAssetMutation, ILikeAssetMutationVariables>) {
|
|
1721
|
+
return Apollo.useMutation<ILikeAssetMutation, ILikeAssetMutationVariables>(LikeAssetDocument, baseOptions);
|
|
1722
|
+
}
|
|
1723
|
+
export type LikeAssetMutationHookResult = ReturnType<typeof useLikeAssetMutation>;
|
|
1724
|
+
export type LikeAssetMutationResult = Apollo.MutationResult<ILikeAssetMutation>;
|
|
1725
|
+
export type LikeAssetMutationOptions = Apollo.BaseMutationOptions<ILikeAssetMutation, ILikeAssetMutationVariables>;
|
|
1652
1726
|
export const FetchAirdropsLeaderboardDocument = gql`
|
|
1653
1727
|
query FetchAirdropsLeaderboard($filter: AirdropsLeaderboardFilterInput!, $sort: AirdropsLeaderboardSortInput!, $page: PageInput!) {
|
|
1654
1728
|
fetchAirdropsLeaderboard(filter: $filter, sort: $sort, page: $page) {
|