@ludo.ninja/api 2.8.63 → 2.8.65
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__/adminHost/schema.d.ts +5 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +27 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/extensionHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +123 -136
- package/build/graphql_tools/__generated__/identityHost/schema.js +81 -105
- package/build/index.d.ts +22 -28
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +7 -0
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +31 -0
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +5 -5
- package/src/graphql_tools/__generated__/identityHost/schema.ts +150 -191
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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,15 @@ export type IMultiversxAudit = {
|
|
|
99
111
|
export type IMutation = {
|
|
100
112
|
setDummy: Scalars['String'];
|
|
101
113
|
createNonce: Scalars['String'];
|
|
114
|
+
createTonNonce: Scalars['String'];
|
|
115
|
+
createEvmNonce: Scalars['String'];
|
|
102
116
|
signInAdminMetamask: IIdentity;
|
|
103
117
|
signInMetamask: IIdentity;
|
|
104
|
-
signInTon: IIdentity;
|
|
105
118
|
signInTezos: IIdentity;
|
|
106
119
|
signInSolana: IIdentity;
|
|
107
120
|
signInElrond: IIdentity;
|
|
108
121
|
signInFlow: IIdentity;
|
|
122
|
+
signInTon: IIdentity;
|
|
109
123
|
addWalletMetamask: Scalars['Boolean'];
|
|
110
124
|
addWalletTezos: Scalars['Boolean'];
|
|
111
125
|
addWalletSolana: Scalars['Boolean'];
|
|
@@ -146,13 +160,6 @@ export type IMutationSignInMetamaskArgs = {
|
|
|
146
160
|
};
|
|
147
161
|
|
|
148
162
|
|
|
149
|
-
export type IMutationSignInTonArgs = {
|
|
150
|
-
signature: Scalars['String'];
|
|
151
|
-
address: Scalars['String'];
|
|
152
|
-
restore?: Maybe<Scalars['Boolean']>;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
|
|
156
163
|
export type IMutationSignInTezosArgs = {
|
|
157
164
|
signature: Scalars['String'];
|
|
158
165
|
pubkey: Scalars['String'];
|
|
@@ -185,6 +192,12 @@ export type IMutationSignInFlowArgs = {
|
|
|
185
192
|
};
|
|
186
193
|
|
|
187
194
|
|
|
195
|
+
export type IMutationSignInTonArgs = {
|
|
196
|
+
request: ICheckTonProofRequest;
|
|
197
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
|
|
188
201
|
export type IMutationAddWalletMetamaskArgs = {
|
|
189
202
|
signature: Scalars['String'];
|
|
190
203
|
address: Scalars['String'];
|
|
@@ -217,8 +230,7 @@ export type IMutationAddWalletFlowArgs = {
|
|
|
217
230
|
|
|
218
231
|
|
|
219
232
|
export type IMutationAddWalletTonArgs = {
|
|
220
|
-
|
|
221
|
-
address: Scalars['String'];
|
|
233
|
+
request: ICheckTonProofRequest;
|
|
222
234
|
};
|
|
223
235
|
|
|
224
236
|
|
|
@@ -266,30 +278,6 @@ export type IMutationUnfollowProfileArgs = {
|
|
|
266
278
|
followingUserId: Scalars['ID'];
|
|
267
279
|
};
|
|
268
280
|
|
|
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
281
|
export type IMyProfileV2 = {
|
|
294
282
|
userId: Scalars['ID'];
|
|
295
283
|
username?: Maybe<Scalars['String']>;
|
|
@@ -335,14 +323,20 @@ export type IProfile = {
|
|
|
335
323
|
level?: Maybe<Scalars['Int']>;
|
|
336
324
|
};
|
|
337
325
|
|
|
326
|
+
export type IProof = {
|
|
327
|
+
timestamp?: Maybe<Scalars['Long']>;
|
|
328
|
+
domain?: Maybe<IDomain>;
|
|
329
|
+
payload: Scalars['String'];
|
|
330
|
+
signature: Scalars['String'];
|
|
331
|
+
stateInit?: Maybe<Scalars['String']>;
|
|
332
|
+
};
|
|
333
|
+
|
|
338
334
|
export type IQuery = {
|
|
339
335
|
getDummy: Scalars['String'];
|
|
340
336
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
341
337
|
fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
342
338
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
343
|
-
getMyInviteCodes: Array<IUserInviteCode>;
|
|
344
339
|
fetchInviteCode: IInviteCode;
|
|
345
|
-
fetchMyProfile: IMyProfile;
|
|
346
340
|
fetchMyProfileV2: IMyProfileV2;
|
|
347
341
|
fetchProfile: IProfile;
|
|
348
342
|
fetchFollowingStatus: IFollowingStatus;
|
|
@@ -497,6 +491,8 @@ export type IResolversTypes = {
|
|
|
497
491
|
AuditInterest: ResolverTypeWrapper<IAuditInterest>;
|
|
498
492
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
499
493
|
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
494
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
495
|
+
Domain: IDomain;
|
|
500
496
|
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
501
497
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
502
498
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
@@ -508,9 +504,9 @@ export type IResolversTypes = {
|
|
|
508
504
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
509
505
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
510
506
|
Mutation: ResolverTypeWrapper<{}>;
|
|
511
|
-
MyProfile: ResolverTypeWrapper<IMyProfile>;
|
|
512
507
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
513
508
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
509
|
+
Proof: IProof;
|
|
514
510
|
Query: ResolverTypeWrapper<{}>;
|
|
515
511
|
Role: IRole;
|
|
516
512
|
Social: ResolverTypeWrapper<ISocial>;
|
|
@@ -528,6 +524,8 @@ export type IResolversParentTypes = {
|
|
|
528
524
|
AuditInterest: IAuditInterest;
|
|
529
525
|
Float: Scalars['Float'];
|
|
530
526
|
AuditNFTBalance: IAuditNftBalance;
|
|
527
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
528
|
+
Domain: IDomain;
|
|
531
529
|
FollowingStatus: IFollowingStatus;
|
|
532
530
|
ID: Scalars['ID'];
|
|
533
531
|
Boolean: Scalars['Boolean'];
|
|
@@ -539,9 +537,9 @@ export type IResolversParentTypes = {
|
|
|
539
537
|
Long: Scalars['Long'];
|
|
540
538
|
MultiversxAudit: IMultiversxAudit;
|
|
541
539
|
Mutation: {};
|
|
542
|
-
MyProfile: IMyProfile;
|
|
543
540
|
MyProfileV2: IMyProfileV2;
|
|
544
541
|
Profile: IProfile;
|
|
542
|
+
Proof: IProof;
|
|
545
543
|
Query: {};
|
|
546
544
|
Social: ISocial;
|
|
547
545
|
TokenPair: ITokenPair;
|
|
@@ -654,19 +652,21 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
654
652
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
655
653
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
656
654
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
655
|
+
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
656
|
+
createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
657
657
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
658
658
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
659
|
-
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'signature' | 'address'>>;
|
|
660
659
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
661
660
|
signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
|
|
662
661
|
signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
|
|
663
662
|
signInFlow?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInFlowArgs, 'signature' | 'address'>>;
|
|
663
|
+
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'request'>>;
|
|
664
664
|
addWalletMetamask?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
665
665
|
addWalletTezos?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTezosArgs, 'signature' | 'pubkey'>>;
|
|
666
666
|
addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
|
|
667
667
|
addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
|
|
668
668
|
addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
|
|
669
|
-
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, '
|
|
669
|
+
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'request'>>;
|
|
670
670
|
removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
|
|
671
671
|
setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
|
|
672
672
|
generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
|
|
@@ -677,31 +677,6 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
677
677
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
678
678
|
};
|
|
679
679
|
|
|
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
680
|
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
706
681
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
707
682
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -754,9 +729,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
754
729
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
755
730
|
fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
756
731
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
757
|
-
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
758
732
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
759
|
-
fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
|
|
760
733
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
761
734
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
762
735
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
@@ -812,7 +785,6 @@ export type IResolvers<ContextType = any> = {
|
|
|
812
785
|
Long?: GraphQLScalarType;
|
|
813
786
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
814
787
|
Mutation?: IMutationResolvers<ContextType>;
|
|
815
|
-
MyProfile?: IMyProfileResolvers<ContextType>;
|
|
816
788
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
817
789
|
Profile?: IProfileResolvers<ContextType>;
|
|
818
790
|
Query?: IQueryResolvers<ContextType>;
|
|
@@ -872,6 +844,18 @@ export type IAddWalletTezosMutationVariables = Exact<{
|
|
|
872
844
|
|
|
873
845
|
export type IAddWalletTezosMutation = Pick<IMutation, 'addWalletTezos'>;
|
|
874
846
|
|
|
847
|
+
export type IAddWalletTonMutationVariables = Exact<{
|
|
848
|
+
request: ICheckTonProofRequest;
|
|
849
|
+
}>;
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
853
|
+
|
|
854
|
+
export type ICreateEvmNonceMutationVariables = Exact<{ [key: string]: never; }>;
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
|
|
858
|
+
|
|
875
859
|
export type ICreateNonceMutationVariables = Exact<{
|
|
876
860
|
address: Scalars['String'];
|
|
877
861
|
blockchain: Scalars['String'];
|
|
@@ -881,6 +865,11 @@ export type ICreateNonceMutationVariables = Exact<{
|
|
|
881
865
|
|
|
882
866
|
export type ICreateNonceMutation = Pick<IMutation, 'createNonce'>;
|
|
883
867
|
|
|
868
|
+
export type ICreateTonNonceMutationVariables = Exact<{ [key: string]: never; }>;
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
export type ICreateTonNonceMutation = Pick<IMutation, 'createTonNonce'>;
|
|
872
|
+
|
|
884
873
|
export type IGenerateNewInviteCodesMutationVariables = Exact<{
|
|
885
874
|
codesNum: Scalars['Int'];
|
|
886
875
|
}>;
|
|
@@ -990,8 +979,7 @@ export type ISignInTezosMutation = { signInTezos: (
|
|
|
990
979
|
) };
|
|
991
980
|
|
|
992
981
|
export type ISignInTonMutationVariables = Exact<{
|
|
993
|
-
|
|
994
|
-
address: Scalars['String'];
|
|
982
|
+
request: ICheckTonProofRequest;
|
|
995
983
|
restore?: Maybe<Scalars['Boolean']>;
|
|
996
984
|
}>;
|
|
997
985
|
|
|
@@ -1027,14 +1015,6 @@ export type IFetchMultiversXAuditQuery = { fetchMultiversxAudit?: Maybe<(
|
|
|
1027
1015
|
)> }
|
|
1028
1016
|
)> };
|
|
1029
1017
|
|
|
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
1018
|
export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
1039
1019
|
|
|
1040
1020
|
|
|
@@ -1063,11 +1043,6 @@ export type IFetchUserWalletsQueryVariables = Exact<{
|
|
|
1063
1043
|
|
|
1064
1044
|
export type IFetchUserWalletsQuery = { fetchUserWallets: Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>> };
|
|
1065
1045
|
|
|
1066
|
-
export type IGetMyInviteCodesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
export type IGetMyInviteCodesQuery = { getMyInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>> };
|
|
1070
|
-
|
|
1071
1046
|
|
|
1072
1047
|
export const AddWalletElrondDocument = gql`
|
|
1073
1048
|
mutation AddWalletElrond($signature: String!, $address: String!) {
|
|
@@ -1225,6 +1200,65 @@ export function useAddWalletTezosMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
1225
1200
|
export type AddWalletTezosMutationHookResult = ReturnType<typeof useAddWalletTezosMutation>;
|
|
1226
1201
|
export type AddWalletTezosMutationResult = Apollo.MutationResult<IAddWalletTezosMutation>;
|
|
1227
1202
|
export type AddWalletTezosMutationOptions = Apollo.BaseMutationOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
|
|
1203
|
+
export const AddWalletTonDocument = gql`
|
|
1204
|
+
mutation AddWalletTon($request: CheckTonProofRequest!) {
|
|
1205
|
+
addWalletTon(request: $request)
|
|
1206
|
+
}
|
|
1207
|
+
`;
|
|
1208
|
+
export type IAddWalletTonMutationFn = Apollo.MutationFunction<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* __useAddWalletTonMutation__
|
|
1212
|
+
*
|
|
1213
|
+
* To run a mutation, you first call `useAddWalletTonMutation` within a React component and pass it any options that fit your needs.
|
|
1214
|
+
* When your component renders, `useAddWalletTonMutation` returns a tuple that includes:
|
|
1215
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1216
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1217
|
+
*
|
|
1218
|
+
* @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;
|
|
1219
|
+
*
|
|
1220
|
+
* @example
|
|
1221
|
+
* const [addWalletTonMutation, { data, loading, error }] = useAddWalletTonMutation({
|
|
1222
|
+
* variables: {
|
|
1223
|
+
* request: // value for 'request'
|
|
1224
|
+
* },
|
|
1225
|
+
* });
|
|
1226
|
+
*/
|
|
1227
|
+
export function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>) {
|
|
1228
|
+
return Apollo.useMutation<IAddWalletTonMutation, IAddWalletTonMutationVariables>(AddWalletTonDocument, baseOptions);
|
|
1229
|
+
}
|
|
1230
|
+
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1231
|
+
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1232
|
+
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1233
|
+
export const CreateEvmNonceDocument = gql`
|
|
1234
|
+
mutation CreateEvmNonce {
|
|
1235
|
+
createEvmNonce
|
|
1236
|
+
}
|
|
1237
|
+
`;
|
|
1238
|
+
export type ICreateEvmNonceMutationFn = Apollo.MutationFunction<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* __useCreateEvmNonceMutation__
|
|
1242
|
+
*
|
|
1243
|
+
* To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1244
|
+
* When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
|
|
1245
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1246
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1247
|
+
*
|
|
1248
|
+
* @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;
|
|
1249
|
+
*
|
|
1250
|
+
* @example
|
|
1251
|
+
* const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
|
|
1252
|
+
* variables: {
|
|
1253
|
+
* },
|
|
1254
|
+
* });
|
|
1255
|
+
*/
|
|
1256
|
+
export function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>) {
|
|
1257
|
+
return Apollo.useMutation<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>(CreateEvmNonceDocument, baseOptions);
|
|
1258
|
+
}
|
|
1259
|
+
export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
|
|
1260
|
+
export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
|
|
1261
|
+
export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1228
1262
|
export const CreateNonceDocument = gql`
|
|
1229
1263
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1230
1264
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -1257,6 +1291,35 @@ export function useCreateNonceMutation(baseOptions?: Apollo.MutationHookOptions<
|
|
|
1257
1291
|
export type CreateNonceMutationHookResult = ReturnType<typeof useCreateNonceMutation>;
|
|
1258
1292
|
export type CreateNonceMutationResult = Apollo.MutationResult<ICreateNonceMutation>;
|
|
1259
1293
|
export type CreateNonceMutationOptions = Apollo.BaseMutationOptions<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1294
|
+
export const CreateTonNonceDocument = gql`
|
|
1295
|
+
mutation CreateTonNonce {
|
|
1296
|
+
createTonNonce
|
|
1297
|
+
}
|
|
1298
|
+
`;
|
|
1299
|
+
export type ICreateTonNonceMutationFn = Apollo.MutationFunction<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* __useCreateTonNonceMutation__
|
|
1303
|
+
*
|
|
1304
|
+
* To run a mutation, you first call `useCreateTonNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1305
|
+
* When your component renders, `useCreateTonNonceMutation` returns a tuple that includes:
|
|
1306
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1307
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1308
|
+
*
|
|
1309
|
+
* @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;
|
|
1310
|
+
*
|
|
1311
|
+
* @example
|
|
1312
|
+
* const [createTonNonceMutation, { data, loading, error }] = useCreateTonNonceMutation({
|
|
1313
|
+
* variables: {
|
|
1314
|
+
* },
|
|
1315
|
+
* });
|
|
1316
|
+
*/
|
|
1317
|
+
export function useCreateTonNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>) {
|
|
1318
|
+
return Apollo.useMutation<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>(CreateTonNonceDocument, baseOptions);
|
|
1319
|
+
}
|
|
1320
|
+
export type CreateTonNonceMutationHookResult = ReturnType<typeof useCreateTonNonceMutation>;
|
|
1321
|
+
export type CreateTonNonceMutationResult = Apollo.MutationResult<ICreateTonNonceMutation>;
|
|
1322
|
+
export type CreateTonNonceMutationOptions = Apollo.BaseMutationOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1260
1323
|
export const GenerateNewInviteCodesDocument = gql`
|
|
1261
1324
|
mutation GenerateNewInviteCodes($codesNum: Int!) {
|
|
1262
1325
|
generateNewInviteCodes(codesNum: $codesNum) {
|
|
@@ -1702,8 +1765,8 @@ export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMuta
|
|
|
1702
1765
|
export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
|
|
1703
1766
|
export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
|
|
1704
1767
|
export const SignInTonDocument = gql`
|
|
1705
|
-
mutation SignInTon($
|
|
1706
|
-
signInTon(
|
|
1768
|
+
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean) {
|
|
1769
|
+
signInTon(request: $request, restore: $restore) {
|
|
1707
1770
|
userId
|
|
1708
1771
|
wallets
|
|
1709
1772
|
tokens {
|
|
@@ -1737,8 +1800,7 @@ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, I
|
|
|
1737
1800
|
* @example
|
|
1738
1801
|
* const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
|
|
1739
1802
|
* variables: {
|
|
1740
|
-
*
|
|
1741
|
-
* address: // value for 'address'
|
|
1803
|
+
* request: // value for 'request'
|
|
1742
1804
|
* restore: // value for 'restore'
|
|
1743
1805
|
* },
|
|
1744
1806
|
* });
|
|
@@ -1837,74 +1899,6 @@ export function useFetchMultiversXAuditLazyQuery(baseOptions?: Apollo.LazyQueryH
|
|
|
1837
1899
|
export type FetchMultiversXAuditQueryHookResult = ReturnType<typeof useFetchMultiversXAuditQuery>;
|
|
1838
1900
|
export type FetchMultiversXAuditLazyQueryHookResult = ReturnType<typeof useFetchMultiversXAuditLazyQuery>;
|
|
1839
1901
|
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
1902
|
export const FetchMyProfileV2Document = gql`
|
|
1909
1903
|
query FetchMyProfileV2 {
|
|
1910
1904
|
fetchMyProfileV2 {
|
|
@@ -2073,39 +2067,4 @@ export function useFetchUserWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
2073
2067
|
}
|
|
2074
2068
|
export type FetchUserWalletsQueryHookResult = ReturnType<typeof useFetchUserWalletsQuery>;
|
|
2075
2069
|
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>;
|
|
2070
|
+
export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
|