@ludo.ninja/api 2.8.63 → 2.8.64
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__/identityHost/schema.d.ts +93 -136
- package/build/graphql_tools/__generated__/identityHost/schema.js +56 -105
- package/build/index.d.ts +14 -26
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +114 -191
- package/tsconfig.tsbuildinfo +1 -1
package/build/index.d.ts
CHANGED
|
@@ -522,6 +522,11 @@ declare const schema: {
|
|
|
522
522
|
signature: string;
|
|
523
523
|
pubkey: string;
|
|
524
524
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
525
|
+
useAddWalletTonMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
526
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
527
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
528
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
529
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
525
530
|
useCreateNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateNonceMutation, identitySchema.Exact<{
|
|
526
531
|
address: string;
|
|
527
532
|
blockchain: string;
|
|
@@ -531,6 +536,11 @@ declare const schema: {
|
|
|
531
536
|
blockchain: string;
|
|
532
537
|
chainId?: identitySchema.Maybe<string> | undefined;
|
|
533
538
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
539
|
+
useCreateTonNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateTonNonceMutation, identitySchema.Exact<{
|
|
540
|
+
[key: string]: never;
|
|
541
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateTonNonceMutation, identitySchema.Exact<{
|
|
542
|
+
[key: string]: never;
|
|
543
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
534
544
|
useGenerateNewInviteCodesMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IGenerateNewInviteCodesMutation, identitySchema.Exact<{
|
|
535
545
|
codesNum: number;
|
|
536
546
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IGenerateNewInviteCodesMutation, identitySchema.Exact<{
|
|
@@ -613,12 +623,10 @@ declare const schema: {
|
|
|
613
623
|
pubkey: string;
|
|
614
624
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
615
625
|
useSignInTonMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ISignInTonMutation, identitySchema.Exact<{
|
|
616
|
-
|
|
617
|
-
address: string;
|
|
626
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
618
627
|
restore?: identitySchema.Maybe<boolean> | undefined;
|
|
619
628
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ISignInTonMutation, identitySchema.Exact<{
|
|
620
|
-
|
|
621
|
-
address: string;
|
|
629
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
622
630
|
restore?: identitySchema.Maybe<boolean> | undefined;
|
|
623
631
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
624
632
|
useUpdateProfileMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IUpdateProfileMutation, identitySchema.Exact<{
|
|
@@ -648,16 +656,6 @@ declare const schema: {
|
|
|
648
656
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMultiversXAuditQuery, identitySchema.Exact<{
|
|
649
657
|
wallet: string;
|
|
650
658
|
}>>;
|
|
651
|
-
useFetchMyProfileQuery(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
652
|
-
[key: string]: never;
|
|
653
|
-
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
654
|
-
[key: string]: never;
|
|
655
|
-
}>>;
|
|
656
|
-
useFetchMyProfileLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
657
|
-
[key: string]: never;
|
|
658
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
659
|
-
[key: string]: never;
|
|
660
|
-
}>>;
|
|
661
659
|
useFetchMyProfileV2Query(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
662
660
|
[key: string]: never;
|
|
663
661
|
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
@@ -688,23 +686,15 @@ declare const schema: {
|
|
|
688
686
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchUserWalletsQuery, identitySchema.Exact<{
|
|
689
687
|
userId: string;
|
|
690
688
|
}>>;
|
|
691
|
-
useGetMyInviteCodesQuery(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
692
|
-
[key: string]: never;
|
|
693
|
-
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
694
|
-
[key: string]: never;
|
|
695
|
-
}>>;
|
|
696
|
-
useGetMyInviteCodesLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
697
|
-
[key: string]: never;
|
|
698
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
699
|
-
[key: string]: never;
|
|
700
|
-
}>>;
|
|
701
689
|
IRole: typeof identitySchema.IRole;
|
|
702
690
|
AddWalletElrondDocument: import("graphql").DocumentNode;
|
|
703
691
|
AddWalletFlowDocument: import("graphql").DocumentNode;
|
|
704
692
|
AddWalletMetamaskDocument: import("graphql").DocumentNode;
|
|
705
693
|
AddWalletSolanaDocument: import("graphql").DocumentNode;
|
|
706
694
|
AddWalletTezosDocument: import("graphql").DocumentNode;
|
|
695
|
+
AddWalletTonDocument: import("graphql").DocumentNode;
|
|
707
696
|
CreateNonceDocument: import("graphql").DocumentNode;
|
|
697
|
+
CreateTonNonceDocument: import("graphql").DocumentNode;
|
|
708
698
|
GenerateNewInviteCodesDocument: import("graphql").DocumentNode;
|
|
709
699
|
UseInviteCodeDocument: import("graphql").DocumentNode;
|
|
710
700
|
RemoveWalletDocument: import("graphql").DocumentNode;
|
|
@@ -719,11 +709,9 @@ declare const schema: {
|
|
|
719
709
|
SignInTonDocument: import("graphql").DocumentNode;
|
|
720
710
|
UpdateProfileDocument: import("graphql").DocumentNode;
|
|
721
711
|
FetchMultiversXAuditDocument: import("graphql").DocumentNode;
|
|
722
|
-
FetchMyProfileDocument: import("graphql").DocumentNode;
|
|
723
712
|
FetchMyProfileV2Document: import("graphql").DocumentNode;
|
|
724
713
|
FetchProfileDocument: import("graphql").DocumentNode;
|
|
725
714
|
FetchUserWalletsDocument: import("graphql").DocumentNode;
|
|
726
|
-
GetMyInviteCodesDocument: import("graphql").DocumentNode;
|
|
727
715
|
useAddAssetsToGalleryV2Mutation(baseOptions?: import("@apollo/client").MutationHookOptions<galleriesSchema.IAddAssetsToGalleryV2Mutation, galleriesSchema.Exact<{
|
|
728
716
|
galleryId: string;
|
|
729
717
|
assetIds: string[];
|
package/package.json
CHANGED
|
@@ -43,6 +43,18 @@ export type IAuditNftBalance = {
|
|
|
43
43
|
collections?: Maybe<Array<IAuditBalanceCollection>>;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
+
export type ICheckTonProofRequest = {
|
|
47
|
+
address: Scalars['String'];
|
|
48
|
+
network?: Maybe<Scalars['String']>;
|
|
49
|
+
publicKey?: Maybe<Scalars['String']>;
|
|
50
|
+
proof: IProof;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export type IDomain = {
|
|
54
|
+
lengthBytes?: Maybe<Scalars['Long']>;
|
|
55
|
+
value?: Maybe<Scalars['String']>;
|
|
56
|
+
};
|
|
57
|
+
|
|
46
58
|
export type IFollowingStatus = {
|
|
47
59
|
userId: Scalars['ID'];
|
|
48
60
|
following: Scalars['Boolean'];
|
|
@@ -99,13 +111,14 @@ export type IMultiversxAudit = {
|
|
|
99
111
|
export type IMutation = {
|
|
100
112
|
setDummy: Scalars['String'];
|
|
101
113
|
createNonce: Scalars['String'];
|
|
114
|
+
createTonNonce: Scalars['String'];
|
|
102
115
|
signInAdminMetamask: IIdentity;
|
|
103
116
|
signInMetamask: IIdentity;
|
|
104
|
-
signInTon: IIdentity;
|
|
105
117
|
signInTezos: IIdentity;
|
|
106
118
|
signInSolana: IIdentity;
|
|
107
119
|
signInElrond: IIdentity;
|
|
108
120
|
signInFlow: IIdentity;
|
|
121
|
+
signInTon: IIdentity;
|
|
109
122
|
addWalletMetamask: Scalars['Boolean'];
|
|
110
123
|
addWalletTezos: Scalars['Boolean'];
|
|
111
124
|
addWalletSolana: Scalars['Boolean'];
|
|
@@ -146,13 +159,6 @@ export type IMutationSignInMetamaskArgs = {
|
|
|
146
159
|
};
|
|
147
160
|
|
|
148
161
|
|
|
149
|
-
export type IMutationSignInTonArgs = {
|
|
150
|
-
signature: Scalars['String'];
|
|
151
|
-
address: Scalars['String'];
|
|
152
|
-
restore?: Maybe<Scalars['Boolean']>;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
|
|
156
162
|
export type IMutationSignInTezosArgs = {
|
|
157
163
|
signature: Scalars['String'];
|
|
158
164
|
pubkey: Scalars['String'];
|
|
@@ -185,6 +191,12 @@ export type IMutationSignInFlowArgs = {
|
|
|
185
191
|
};
|
|
186
192
|
|
|
187
193
|
|
|
194
|
+
export type IMutationSignInTonArgs = {
|
|
195
|
+
request: ICheckTonProofRequest;
|
|
196
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
|
|
188
200
|
export type IMutationAddWalletMetamaskArgs = {
|
|
189
201
|
signature: Scalars['String'];
|
|
190
202
|
address: Scalars['String'];
|
|
@@ -217,8 +229,7 @@ export type IMutationAddWalletFlowArgs = {
|
|
|
217
229
|
|
|
218
230
|
|
|
219
231
|
export type IMutationAddWalletTonArgs = {
|
|
220
|
-
|
|
221
|
-
address: Scalars['String'];
|
|
232
|
+
request: ICheckTonProofRequest;
|
|
222
233
|
};
|
|
223
234
|
|
|
224
235
|
|
|
@@ -266,30 +277,6 @@ export type IMutationUnfollowProfileArgs = {
|
|
|
266
277
|
followingUserId: Scalars['ID'];
|
|
267
278
|
};
|
|
268
279
|
|
|
269
|
-
export type IMyProfile = {
|
|
270
|
-
userId: Scalars['ID'];
|
|
271
|
-
username?: Maybe<Scalars['String']>;
|
|
272
|
-
about?: Maybe<Scalars['String']>;
|
|
273
|
-
userpic?: Maybe<Scalars['String']>;
|
|
274
|
-
following?: Maybe<Scalars['Boolean']>;
|
|
275
|
-
followings?: Maybe<Scalars['Int']>;
|
|
276
|
-
followers?: Maybe<Scalars['Int']>;
|
|
277
|
-
social?: Maybe<ISocial>;
|
|
278
|
-
views?: Maybe<Scalars['Int']>;
|
|
279
|
-
createdAt?: Maybe<Scalars['Long']>;
|
|
280
|
-
deletedAt?: Maybe<Scalars['Long']>;
|
|
281
|
-
visible?: Maybe<Scalars['Boolean']>;
|
|
282
|
-
deleted?: Maybe<Scalars['Boolean']>;
|
|
283
|
-
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
284
|
-
rank?: Maybe<Scalars['Float']>;
|
|
285
|
-
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
286
|
-
xps?: Maybe<Scalars['Int']>;
|
|
287
|
-
level?: Maybe<Scalars['Int']>;
|
|
288
|
-
levelMinXps?: Maybe<Scalars['Int']>;
|
|
289
|
-
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
290
|
-
inviteCodes?: Maybe<Array<Maybe<IUserInviteCode>>>;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
280
|
export type IMyProfileV2 = {
|
|
294
281
|
userId: Scalars['ID'];
|
|
295
282
|
username?: Maybe<Scalars['String']>;
|
|
@@ -335,14 +322,20 @@ export type IProfile = {
|
|
|
335
322
|
level?: Maybe<Scalars['Int']>;
|
|
336
323
|
};
|
|
337
324
|
|
|
325
|
+
export type IProof = {
|
|
326
|
+
timestamp?: Maybe<Scalars['Long']>;
|
|
327
|
+
domain?: Maybe<IDomain>;
|
|
328
|
+
payload: Scalars['String'];
|
|
329
|
+
signature: Scalars['String'];
|
|
330
|
+
stateInit?: Maybe<Scalars['String']>;
|
|
331
|
+
};
|
|
332
|
+
|
|
338
333
|
export type IQuery = {
|
|
339
334
|
getDummy: Scalars['String'];
|
|
340
335
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
341
336
|
fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
342
337
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
343
|
-
getMyInviteCodes: Array<IUserInviteCode>;
|
|
344
338
|
fetchInviteCode: IInviteCode;
|
|
345
|
-
fetchMyProfile: IMyProfile;
|
|
346
339
|
fetchMyProfileV2: IMyProfileV2;
|
|
347
340
|
fetchProfile: IProfile;
|
|
348
341
|
fetchFollowingStatus: IFollowingStatus;
|
|
@@ -497,6 +490,8 @@ export type IResolversTypes = {
|
|
|
497
490
|
AuditInterest: ResolverTypeWrapper<IAuditInterest>;
|
|
498
491
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
499
492
|
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
493
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
494
|
+
Domain: IDomain;
|
|
500
495
|
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
501
496
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
502
497
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
@@ -508,9 +503,9 @@ export type IResolversTypes = {
|
|
|
508
503
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
509
504
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
510
505
|
Mutation: ResolverTypeWrapper<{}>;
|
|
511
|
-
MyProfile: ResolverTypeWrapper<IMyProfile>;
|
|
512
506
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
513
507
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
508
|
+
Proof: IProof;
|
|
514
509
|
Query: ResolverTypeWrapper<{}>;
|
|
515
510
|
Role: IRole;
|
|
516
511
|
Social: ResolverTypeWrapper<ISocial>;
|
|
@@ -528,6 +523,8 @@ export type IResolversParentTypes = {
|
|
|
528
523
|
AuditInterest: IAuditInterest;
|
|
529
524
|
Float: Scalars['Float'];
|
|
530
525
|
AuditNFTBalance: IAuditNftBalance;
|
|
526
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
527
|
+
Domain: IDomain;
|
|
531
528
|
FollowingStatus: IFollowingStatus;
|
|
532
529
|
ID: Scalars['ID'];
|
|
533
530
|
Boolean: Scalars['Boolean'];
|
|
@@ -539,9 +536,9 @@ export type IResolversParentTypes = {
|
|
|
539
536
|
Long: Scalars['Long'];
|
|
540
537
|
MultiversxAudit: IMultiversxAudit;
|
|
541
538
|
Mutation: {};
|
|
542
|
-
MyProfile: IMyProfile;
|
|
543
539
|
MyProfileV2: IMyProfileV2;
|
|
544
540
|
Profile: IProfile;
|
|
541
|
+
Proof: IProof;
|
|
545
542
|
Query: {};
|
|
546
543
|
Social: ISocial;
|
|
547
544
|
TokenPair: ITokenPair;
|
|
@@ -654,19 +651,20 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
654
651
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
655
652
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
656
653
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
654
|
+
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
657
655
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
658
656
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
659
|
-
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'signature' | 'address'>>;
|
|
660
657
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
661
658
|
signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
|
|
662
659
|
signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
|
|
663
660
|
signInFlow?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInFlowArgs, 'signature' | 'address'>>;
|
|
661
|
+
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'request'>>;
|
|
664
662
|
addWalletMetamask?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
665
663
|
addWalletTezos?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTezosArgs, 'signature' | 'pubkey'>>;
|
|
666
664
|
addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
|
|
667
665
|
addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
|
|
668
666
|
addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
|
|
669
|
-
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, '
|
|
667
|
+
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'request'>>;
|
|
670
668
|
removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
|
|
671
669
|
setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
|
|
672
670
|
generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
|
|
@@ -677,31 +675,6 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
677
675
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
678
676
|
};
|
|
679
677
|
|
|
680
|
-
export type IMyProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfile'] = IResolversParentTypes['MyProfile']> = {
|
|
681
|
-
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
682
|
-
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
683
|
-
about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
684
|
-
userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
685
|
-
following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
686
|
-
followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
687
|
-
followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
688
|
-
social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
|
|
689
|
-
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
690
|
-
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
691
|
-
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
692
|
-
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
693
|
-
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
694
|
-
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
695
|
-
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
696
|
-
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
697
|
-
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
698
|
-
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
699
|
-
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
700
|
-
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
701
|
-
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserInviteCode']>>>, ParentType, ContextType>;
|
|
702
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
703
|
-
};
|
|
704
|
-
|
|
705
678
|
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
706
679
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
707
680
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -754,9 +727,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
754
727
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
755
728
|
fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
756
729
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
757
|
-
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
758
730
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
759
|
-
fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
|
|
760
731
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
761
732
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
762
733
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
@@ -812,7 +783,6 @@ export type IResolvers<ContextType = any> = {
|
|
|
812
783
|
Long?: GraphQLScalarType;
|
|
813
784
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
814
785
|
Mutation?: IMutationResolvers<ContextType>;
|
|
815
|
-
MyProfile?: IMyProfileResolvers<ContextType>;
|
|
816
786
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
817
787
|
Profile?: IProfileResolvers<ContextType>;
|
|
818
788
|
Query?: IQueryResolvers<ContextType>;
|
|
@@ -872,6 +842,13 @@ export type IAddWalletTezosMutationVariables = Exact<{
|
|
|
872
842
|
|
|
873
843
|
export type IAddWalletTezosMutation = Pick<IMutation, 'addWalletTezos'>;
|
|
874
844
|
|
|
845
|
+
export type IAddWalletTonMutationVariables = Exact<{
|
|
846
|
+
request: ICheckTonProofRequest;
|
|
847
|
+
}>;
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
851
|
+
|
|
875
852
|
export type ICreateNonceMutationVariables = Exact<{
|
|
876
853
|
address: Scalars['String'];
|
|
877
854
|
blockchain: Scalars['String'];
|
|
@@ -881,6 +858,11 @@ export type ICreateNonceMutationVariables = Exact<{
|
|
|
881
858
|
|
|
882
859
|
export type ICreateNonceMutation = Pick<IMutation, 'createNonce'>;
|
|
883
860
|
|
|
861
|
+
export type ICreateTonNonceMutationVariables = Exact<{ [key: string]: never; }>;
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
export type ICreateTonNonceMutation = Pick<IMutation, 'createTonNonce'>;
|
|
865
|
+
|
|
884
866
|
export type IGenerateNewInviteCodesMutationVariables = Exact<{
|
|
885
867
|
codesNum: Scalars['Int'];
|
|
886
868
|
}>;
|
|
@@ -990,8 +972,7 @@ export type ISignInTezosMutation = { signInTezos: (
|
|
|
990
972
|
) };
|
|
991
973
|
|
|
992
974
|
export type ISignInTonMutationVariables = Exact<{
|
|
993
|
-
|
|
994
|
-
address: Scalars['String'];
|
|
975
|
+
request: ICheckTonProofRequest;
|
|
995
976
|
restore?: Maybe<Scalars['Boolean']>;
|
|
996
977
|
}>;
|
|
997
978
|
|
|
@@ -1027,14 +1008,6 @@ export type IFetchMultiversXAuditQuery = { fetchMultiversxAudit?: Maybe<(
|
|
|
1027
1008
|
)> }
|
|
1028
1009
|
)> };
|
|
1029
1010
|
|
|
1030
|
-
export type IFetchMyProfileQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
export type IFetchMyProfileQuery = { fetchMyProfile: (
|
|
1034
|
-
Pick<IMyProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
|
|
1035
|
-
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>>> }
|
|
1036
|
-
) };
|
|
1037
|
-
|
|
1038
1011
|
export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
1039
1012
|
|
|
1040
1013
|
|
|
@@ -1063,11 +1036,6 @@ export type IFetchUserWalletsQueryVariables = Exact<{
|
|
|
1063
1036
|
|
|
1064
1037
|
export type IFetchUserWalletsQuery = { fetchUserWallets: Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>> };
|
|
1065
1038
|
|
|
1066
|
-
export type IGetMyInviteCodesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
export type IGetMyInviteCodesQuery = { getMyInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>> };
|
|
1070
|
-
|
|
1071
1039
|
|
|
1072
1040
|
export const AddWalletElrondDocument = gql`
|
|
1073
1041
|
mutation AddWalletElrond($signature: String!, $address: String!) {
|
|
@@ -1225,6 +1193,36 @@ export function useAddWalletTezosMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
1225
1193
|
export type AddWalletTezosMutationHookResult = ReturnType<typeof useAddWalletTezosMutation>;
|
|
1226
1194
|
export type AddWalletTezosMutationResult = Apollo.MutationResult<IAddWalletTezosMutation>;
|
|
1227
1195
|
export type AddWalletTezosMutationOptions = Apollo.BaseMutationOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
|
|
1196
|
+
export const AddWalletTonDocument = gql`
|
|
1197
|
+
mutation AddWalletTon($request: CheckTonProofRequest!) {
|
|
1198
|
+
addWalletTon(request: $request)
|
|
1199
|
+
}
|
|
1200
|
+
`;
|
|
1201
|
+
export type IAddWalletTonMutationFn = Apollo.MutationFunction<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* __useAddWalletTonMutation__
|
|
1205
|
+
*
|
|
1206
|
+
* To run a mutation, you first call `useAddWalletTonMutation` within a React component and pass it any options that fit your needs.
|
|
1207
|
+
* When your component renders, `useAddWalletTonMutation` returns a tuple that includes:
|
|
1208
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1209
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1210
|
+
*
|
|
1211
|
+
* @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;
|
|
1212
|
+
*
|
|
1213
|
+
* @example
|
|
1214
|
+
* const [addWalletTonMutation, { data, loading, error }] = useAddWalletTonMutation({
|
|
1215
|
+
* variables: {
|
|
1216
|
+
* request: // value for 'request'
|
|
1217
|
+
* },
|
|
1218
|
+
* });
|
|
1219
|
+
*/
|
|
1220
|
+
export function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>) {
|
|
1221
|
+
return Apollo.useMutation<IAddWalletTonMutation, IAddWalletTonMutationVariables>(AddWalletTonDocument, baseOptions);
|
|
1222
|
+
}
|
|
1223
|
+
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1224
|
+
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1225
|
+
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1228
1226
|
export const CreateNonceDocument = gql`
|
|
1229
1227
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1230
1228
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -1257,6 +1255,35 @@ export function useCreateNonceMutation(baseOptions?: Apollo.MutationHookOptions<
|
|
|
1257
1255
|
export type CreateNonceMutationHookResult = ReturnType<typeof useCreateNonceMutation>;
|
|
1258
1256
|
export type CreateNonceMutationResult = Apollo.MutationResult<ICreateNonceMutation>;
|
|
1259
1257
|
export type CreateNonceMutationOptions = Apollo.BaseMutationOptions<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1258
|
+
export const CreateTonNonceDocument = gql`
|
|
1259
|
+
mutation CreateTonNonce {
|
|
1260
|
+
createTonNonce
|
|
1261
|
+
}
|
|
1262
|
+
`;
|
|
1263
|
+
export type ICreateTonNonceMutationFn = Apollo.MutationFunction<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* __useCreateTonNonceMutation__
|
|
1267
|
+
*
|
|
1268
|
+
* To run a mutation, you first call `useCreateTonNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1269
|
+
* When your component renders, `useCreateTonNonceMutation` returns a tuple that includes:
|
|
1270
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1271
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1272
|
+
*
|
|
1273
|
+
* @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;
|
|
1274
|
+
*
|
|
1275
|
+
* @example
|
|
1276
|
+
* const [createTonNonceMutation, { data, loading, error }] = useCreateTonNonceMutation({
|
|
1277
|
+
* variables: {
|
|
1278
|
+
* },
|
|
1279
|
+
* });
|
|
1280
|
+
*/
|
|
1281
|
+
export function useCreateTonNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>) {
|
|
1282
|
+
return Apollo.useMutation<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>(CreateTonNonceDocument, baseOptions);
|
|
1283
|
+
}
|
|
1284
|
+
export type CreateTonNonceMutationHookResult = ReturnType<typeof useCreateTonNonceMutation>;
|
|
1285
|
+
export type CreateTonNonceMutationResult = Apollo.MutationResult<ICreateTonNonceMutation>;
|
|
1286
|
+
export type CreateTonNonceMutationOptions = Apollo.BaseMutationOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1260
1287
|
export const GenerateNewInviteCodesDocument = gql`
|
|
1261
1288
|
mutation GenerateNewInviteCodes($codesNum: Int!) {
|
|
1262
1289
|
generateNewInviteCodes(codesNum: $codesNum) {
|
|
@@ -1702,8 +1729,8 @@ export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMuta
|
|
|
1702
1729
|
export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
|
|
1703
1730
|
export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
|
|
1704
1731
|
export const SignInTonDocument = gql`
|
|
1705
|
-
mutation SignInTon($
|
|
1706
|
-
signInTon(
|
|
1732
|
+
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean) {
|
|
1733
|
+
signInTon(request: $request, restore: $restore) {
|
|
1707
1734
|
userId
|
|
1708
1735
|
wallets
|
|
1709
1736
|
tokens {
|
|
@@ -1737,8 +1764,7 @@ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, I
|
|
|
1737
1764
|
* @example
|
|
1738
1765
|
* const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
|
|
1739
1766
|
* variables: {
|
|
1740
|
-
*
|
|
1741
|
-
* address: // value for 'address'
|
|
1767
|
+
* request: // value for 'request'
|
|
1742
1768
|
* restore: // value for 'restore'
|
|
1743
1769
|
* },
|
|
1744
1770
|
* });
|
|
@@ -1837,74 +1863,6 @@ export function useFetchMultiversXAuditLazyQuery(baseOptions?: Apollo.LazyQueryH
|
|
|
1837
1863
|
export type FetchMultiversXAuditQueryHookResult = ReturnType<typeof useFetchMultiversXAuditQuery>;
|
|
1838
1864
|
export type FetchMultiversXAuditLazyQueryHookResult = ReturnType<typeof useFetchMultiversXAuditLazyQuery>;
|
|
1839
1865
|
export type FetchMultiversXAuditQueryResult = Apollo.QueryResult<IFetchMultiversXAuditQuery, IFetchMultiversXAuditQueryVariables>;
|
|
1840
|
-
export const FetchMyProfileDocument = gql`
|
|
1841
|
-
query FetchMyProfile {
|
|
1842
|
-
fetchMyProfile {
|
|
1843
|
-
userId
|
|
1844
|
-
username
|
|
1845
|
-
about
|
|
1846
|
-
userpic
|
|
1847
|
-
following
|
|
1848
|
-
followings
|
|
1849
|
-
followers
|
|
1850
|
-
social {
|
|
1851
|
-
facebook
|
|
1852
|
-
twitter
|
|
1853
|
-
instagram
|
|
1854
|
-
website
|
|
1855
|
-
}
|
|
1856
|
-
views
|
|
1857
|
-
createdAt
|
|
1858
|
-
deletedAt
|
|
1859
|
-
visible
|
|
1860
|
-
deleted
|
|
1861
|
-
showNsfw
|
|
1862
|
-
rank
|
|
1863
|
-
wallets {
|
|
1864
|
-
userId
|
|
1865
|
-
address
|
|
1866
|
-
walletName
|
|
1867
|
-
blockchain
|
|
1868
|
-
chainId
|
|
1869
|
-
}
|
|
1870
|
-
xps
|
|
1871
|
-
level
|
|
1872
|
-
levelMinXps
|
|
1873
|
-
levelMaxXps
|
|
1874
|
-
inviteCodes {
|
|
1875
|
-
inviteCode
|
|
1876
|
-
inviteeId
|
|
1877
|
-
isUsed
|
|
1878
|
-
usedAt
|
|
1879
|
-
}
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
`;
|
|
1883
|
-
|
|
1884
|
-
/**
|
|
1885
|
-
* __useFetchMyProfileQuery__
|
|
1886
|
-
*
|
|
1887
|
-
* To run a query within a React component, call `useFetchMyProfileQuery` and pass it any options that fit your needs.
|
|
1888
|
-
* When your component renders, `useFetchMyProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1889
|
-
* you can use to render your UI.
|
|
1890
|
-
*
|
|
1891
|
-
* @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;
|
|
1892
|
-
*
|
|
1893
|
-
* @example
|
|
1894
|
-
* const { data, loading, error } = useFetchMyProfileQuery({
|
|
1895
|
-
* variables: {
|
|
1896
|
-
* },
|
|
1897
|
-
* });
|
|
1898
|
-
*/
|
|
1899
|
-
export function useFetchMyProfileQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>) {
|
|
1900
|
-
return Apollo.useQuery<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>(FetchMyProfileDocument, baseOptions);
|
|
1901
|
-
}
|
|
1902
|
-
export function useFetchMyProfileLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>) {
|
|
1903
|
-
return Apollo.useLazyQuery<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>(FetchMyProfileDocument, baseOptions);
|
|
1904
|
-
}
|
|
1905
|
-
export type FetchMyProfileQueryHookResult = ReturnType<typeof useFetchMyProfileQuery>;
|
|
1906
|
-
export type FetchMyProfileLazyQueryHookResult = ReturnType<typeof useFetchMyProfileLazyQuery>;
|
|
1907
|
-
export type FetchMyProfileQueryResult = Apollo.QueryResult<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>;
|
|
1908
1866
|
export const FetchMyProfileV2Document = gql`
|
|
1909
1867
|
query FetchMyProfileV2 {
|
|
1910
1868
|
fetchMyProfileV2 {
|
|
@@ -2073,39 +2031,4 @@ export function useFetchUserWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
2073
2031
|
}
|
|
2074
2032
|
export type FetchUserWalletsQueryHookResult = ReturnType<typeof useFetchUserWalletsQuery>;
|
|
2075
2033
|
export type FetchUserWalletsLazyQueryHookResult = ReturnType<typeof useFetchUserWalletsLazyQuery>;
|
|
2076
|
-
export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
|
|
2077
|
-
export const GetMyInviteCodesDocument = gql`
|
|
2078
|
-
query GetMyInviteCodes {
|
|
2079
|
-
getMyInviteCodes {
|
|
2080
|
-
inviteCode
|
|
2081
|
-
inviteeId
|
|
2082
|
-
isUsed
|
|
2083
|
-
usedAt
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
`;
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* __useGetMyInviteCodesQuery__
|
|
2090
|
-
*
|
|
2091
|
-
* To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
|
|
2092
|
-
* When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2093
|
-
* you can use to render your UI.
|
|
2094
|
-
*
|
|
2095
|
-
* @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;
|
|
2096
|
-
*
|
|
2097
|
-
* @example
|
|
2098
|
-
* const { data, loading, error } = useGetMyInviteCodesQuery({
|
|
2099
|
-
* variables: {
|
|
2100
|
-
* },
|
|
2101
|
-
* });
|
|
2102
|
-
*/
|
|
2103
|
-
export function useGetMyInviteCodesQuery(baseOptions?: Apollo.QueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>) {
|
|
2104
|
-
return Apollo.useQuery<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>(GetMyInviteCodesDocument, baseOptions);
|
|
2105
|
-
}
|
|
2106
|
-
export function useGetMyInviteCodesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>) {
|
|
2107
|
-
return Apollo.useLazyQuery<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>(GetMyInviteCodesDocument, baseOptions);
|
|
2108
|
-
}
|
|
2109
|
-
export type GetMyInviteCodesQueryHookResult = ReturnType<typeof useGetMyInviteCodesQuery>;
|
|
2110
|
-
export type GetMyInviteCodesLazyQueryHookResult = ReturnType<typeof useGetMyInviteCodesLazyQuery>;
|
|
2111
|
-
export type GetMyInviteCodesQueryResult = Apollo.QueryResult<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>;
|
|
2034
|
+
export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
|