@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
|
@@ -365,6 +365,7 @@ export type IMutation = {
|
|
|
365
365
|
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
366
366
|
createAdminOpportunity: Scalars['Boolean'];
|
|
367
367
|
updateOpportunity: Scalars['Boolean'];
|
|
368
|
+
triggerOpportunityNotification: Scalars['Boolean'];
|
|
368
369
|
updateProfileStatus: Scalars['Boolean'];
|
|
369
370
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
370
371
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -419,6 +420,9 @@ export type IMutationUpdateOpportunityArgs = {
|
|
|
419
420
|
input: IAdminOpportunityInput;
|
|
420
421
|
file?: Maybe<Scalars['Upload']>;
|
|
421
422
|
};
|
|
423
|
+
export type IMutationTriggerOpportunityNotificationArgs = {
|
|
424
|
+
opportunityId: Scalars['ID'];
|
|
425
|
+
};
|
|
422
426
|
export type IMutationUpdateProfileStatusArgs = {
|
|
423
427
|
userId: Scalars['ID'];
|
|
424
428
|
isActive: Scalars['Boolean'];
|
|
@@ -1138,6 +1142,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1138
1142
|
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1139
1143
|
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
1140
1144
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1145
|
+
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1141
1146
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1142
1147
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1143
1148
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -28,6 +28,14 @@ export type Scalars = {
|
|
|
28
28
|
export type IMutation = {
|
|
29
29
|
setDummy: Scalars['String'];
|
|
30
30
|
};
|
|
31
|
+
export type IOpportunityNotification = {
|
|
32
|
+
opportunityId?: Maybe<Scalars['String']>;
|
|
33
|
+
name?: Maybe<Scalars['String']>;
|
|
34
|
+
description?: Maybe<Scalars['String']>;
|
|
35
|
+
notificationType?: Maybe<Scalars['String']>;
|
|
36
|
+
media?: Maybe<Scalars['String']>;
|
|
37
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
38
|
+
};
|
|
31
39
|
export type IQuery = {
|
|
32
40
|
getDummy: Scalars['String'];
|
|
33
41
|
fetchMyExperience: Scalars['Int'];
|
|
@@ -40,6 +48,8 @@ export type ISubscription = {
|
|
|
40
48
|
onMyExperienceUpdated: IUserXp;
|
|
41
49
|
onMyExperienceIncremented: IUserXpIncrement;
|
|
42
50
|
onInviteCodeUsed: IUsedInviteCode;
|
|
51
|
+
onCommonOpportunityNotification: IOpportunityNotification;
|
|
52
|
+
onUserOpportunityNotification: IOpportunityNotification;
|
|
43
53
|
};
|
|
44
54
|
export type ISubscriptionOnMyExperienceUpdatedArgs = {
|
|
45
55
|
authToken: Scalars['String'];
|
|
@@ -50,6 +60,9 @@ export type ISubscriptionOnMyExperienceIncrementedArgs = {
|
|
|
50
60
|
export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
51
61
|
authToken: Scalars['String'];
|
|
52
62
|
};
|
|
63
|
+
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
64
|
+
authToken: Scalars['String'];
|
|
65
|
+
};
|
|
53
66
|
export type ITask = {
|
|
54
67
|
taskId?: Maybe<Scalars['ID']>;
|
|
55
68
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -113,6 +126,7 @@ export type IResolversTypes = {
|
|
|
113
126
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
114
127
|
Mutation: ResolverTypeWrapper<{}>;
|
|
115
128
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
129
|
+
OpportunityNotification: ResolverTypeWrapper<IOpportunityNotification>;
|
|
116
130
|
Query: ResolverTypeWrapper<{}>;
|
|
117
131
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
118
132
|
Subscription: ResolverTypeWrapper<{}>;
|
|
@@ -128,6 +142,7 @@ export type IResolversParentTypes = {
|
|
|
128
142
|
Long: Scalars['Long'];
|
|
129
143
|
Mutation: {};
|
|
130
144
|
String: Scalars['String'];
|
|
145
|
+
OpportunityNotification: IOpportunityNotification;
|
|
131
146
|
Query: {};
|
|
132
147
|
Int: Scalars['Int'];
|
|
133
148
|
Subscription: {};
|
|
@@ -146,6 +161,15 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
|
|
|
146
161
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
147
162
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
148
163
|
};
|
|
164
|
+
export type IOpportunityNotificationResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityNotification'] = IResolversParentTypes['OpportunityNotification']> = {
|
|
165
|
+
opportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
166
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
167
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
168
|
+
notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
169
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
170
|
+
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
171
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
172
|
+
};
|
|
149
173
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
150
174
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
151
175
|
fetchMyExperience?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
@@ -158,6 +182,8 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
|
|
|
158
182
|
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
159
183
|
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
160
184
|
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
185
|
+
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
186
|
+
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
161
187
|
};
|
|
162
188
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
163
189
|
taskId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
@@ -198,6 +224,7 @@ export type IUserXpIncrementResolvers<ContextType = any, ParentType extends IRes
|
|
|
198
224
|
export type IResolvers<ContextType = any> = {
|
|
199
225
|
Long?: GraphQLScalarType;
|
|
200
226
|
Mutation?: IMutationResolvers<ContextType>;
|
|
227
|
+
OpportunityNotification?: IOpportunityNotificationResolvers<ContextType>;
|
|
201
228
|
Query?: IQueryResolvers<ContextType>;
|
|
202
229
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
203
230
|
Task?: ITaskResolvers<ContextType>;
|
|
@@ -90,7 +90,7 @@ export type IMutationVisitPageV2Args = {
|
|
|
90
90
|
description?: Maybe<Scalars['String']>;
|
|
91
91
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
92
92
|
brandId?: Maybe<Scalars['String']>;
|
|
93
|
-
|
|
93
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
94
94
|
};
|
|
95
95
|
export type IMutationOpenOpportunityV2Args = {
|
|
96
96
|
opportunityId: Scalars['ID'];
|
|
@@ -468,7 +468,7 @@ export type IVisitPageV2MutationVariables = Exact<{
|
|
|
468
468
|
description?: Maybe<Scalars['String']>;
|
|
469
469
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
470
470
|
brandId?: Maybe<Scalars['String']>;
|
|
471
|
-
|
|
471
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
472
472
|
}>;
|
|
473
473
|
export type IVisitPageV2Mutation = {
|
|
474
474
|
visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>;
|
|
@@ -596,7 +596,7 @@ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutatio
|
|
|
596
596
|
* description: // value for 'description'
|
|
597
597
|
* tags: // value for 'tags'
|
|
598
598
|
* brandId: // value for 'brandId'
|
|
599
|
-
*
|
|
599
|
+
* categoryId: // value for 'categoryId'
|
|
600
600
|
* },
|
|
601
601
|
* });
|
|
602
602
|
*/
|
|
@@ -606,7 +606,7 @@ export declare function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHook
|
|
|
606
606
|
description?: Maybe<string> | undefined;
|
|
607
607
|
tags?: Maybe<Maybe<string>[]> | undefined;
|
|
608
608
|
brandId?: Maybe<string> | undefined;
|
|
609
|
-
|
|
609
|
+
categoryId?: Maybe<string> | undefined;
|
|
610
610
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
611
611
|
export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
|
|
612
612
|
export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
|
|
@@ -79,14 +79,14 @@ function useOpenOpportunityV2Mutation(baseOptions) {
|
|
|
79
79
|
}
|
|
80
80
|
exports.useOpenOpportunityV2Mutation = useOpenOpportunityV2Mutation;
|
|
81
81
|
exports.VisitPageV2Document = (0, client_1.gql) `
|
|
82
|
-
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $
|
|
82
|
+
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $categoryId: String) {
|
|
83
83
|
visitPageV2(
|
|
84
84
|
domain: $domain
|
|
85
85
|
title: $title
|
|
86
86
|
description: $description
|
|
87
87
|
tags: $tags
|
|
88
88
|
brandId: $brandId
|
|
89
|
-
|
|
89
|
+
categoryId: $categoryId
|
|
90
90
|
) {
|
|
91
91
|
opportunityId
|
|
92
92
|
brandId
|
|
@@ -130,7 +130,7 @@ exports.VisitPageV2Document = (0, client_1.gql) `
|
|
|
130
130
|
* description: // value for 'description'
|
|
131
131
|
* tags: // value for 'tags'
|
|
132
132
|
* brandId: // value for 'brandId'
|
|
133
|
-
*
|
|
133
|
+
* categoryId: // value for 'categoryId'
|
|
134
134
|
* },
|
|
135
135
|
* });
|
|
136
136
|
*/
|
|
@@ -42,6 +42,16 @@ export type IAuditNftBalance = {
|
|
|
42
42
|
totalNfts?: Maybe<Scalars['Int']>;
|
|
43
43
|
collections?: Maybe<Array<IAuditBalanceCollection>>;
|
|
44
44
|
};
|
|
45
|
+
export type ICheckTonProofRequest = {
|
|
46
|
+
address: Scalars['String'];
|
|
47
|
+
network?: Maybe<Scalars['String']>;
|
|
48
|
+
publicKey?: Maybe<Scalars['String']>;
|
|
49
|
+
proof: IProof;
|
|
50
|
+
};
|
|
51
|
+
export type IDomain = {
|
|
52
|
+
lengthBytes?: Maybe<Scalars['Long']>;
|
|
53
|
+
value?: Maybe<Scalars['String']>;
|
|
54
|
+
};
|
|
45
55
|
export type IFollowingStatus = {
|
|
46
56
|
userId: Scalars['ID'];
|
|
47
57
|
following: Scalars['Boolean'];
|
|
@@ -90,13 +100,15 @@ export type IMultiversxAudit = {
|
|
|
90
100
|
export type IMutation = {
|
|
91
101
|
setDummy: Scalars['String'];
|
|
92
102
|
createNonce: Scalars['String'];
|
|
103
|
+
createTonNonce: Scalars['String'];
|
|
104
|
+
createEvmNonce: Scalars['String'];
|
|
93
105
|
signInAdminMetamask: IIdentity;
|
|
94
106
|
signInMetamask: IIdentity;
|
|
95
|
-
signInTon: IIdentity;
|
|
96
107
|
signInTezos: IIdentity;
|
|
97
108
|
signInSolana: IIdentity;
|
|
98
109
|
signInElrond: IIdentity;
|
|
99
110
|
signInFlow: IIdentity;
|
|
111
|
+
signInTon: IIdentity;
|
|
100
112
|
addWalletMetamask: Scalars['Boolean'];
|
|
101
113
|
addWalletTezos: Scalars['Boolean'];
|
|
102
114
|
addWalletSolana: Scalars['Boolean'];
|
|
@@ -129,11 +141,6 @@ export type IMutationSignInMetamaskArgs = {
|
|
|
129
141
|
restore?: Maybe<Scalars['Boolean']>;
|
|
130
142
|
inviteCode?: Maybe<Scalars['String']>;
|
|
131
143
|
};
|
|
132
|
-
export type IMutationSignInTonArgs = {
|
|
133
|
-
signature: Scalars['String'];
|
|
134
|
-
address: Scalars['String'];
|
|
135
|
-
restore?: Maybe<Scalars['Boolean']>;
|
|
136
|
-
};
|
|
137
144
|
export type IMutationSignInTezosArgs = {
|
|
138
145
|
signature: Scalars['String'];
|
|
139
146
|
pubkey: Scalars['String'];
|
|
@@ -158,6 +165,10 @@ export type IMutationSignInFlowArgs = {
|
|
|
158
165
|
restore?: Maybe<Scalars['Boolean']>;
|
|
159
166
|
inviteCode?: Maybe<Scalars['String']>;
|
|
160
167
|
};
|
|
168
|
+
export type IMutationSignInTonArgs = {
|
|
169
|
+
request: ICheckTonProofRequest;
|
|
170
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
171
|
+
};
|
|
161
172
|
export type IMutationAddWalletMetamaskArgs = {
|
|
162
173
|
signature: Scalars['String'];
|
|
163
174
|
address: Scalars['String'];
|
|
@@ -180,8 +191,7 @@ export type IMutationAddWalletFlowArgs = {
|
|
|
180
191
|
address: Scalars['String'];
|
|
181
192
|
};
|
|
182
193
|
export type IMutationAddWalletTonArgs = {
|
|
183
|
-
|
|
184
|
-
address: Scalars['String'];
|
|
194
|
+
request: ICheckTonProofRequest;
|
|
185
195
|
};
|
|
186
196
|
export type IMutationRemoveWalletArgs = {
|
|
187
197
|
blockchain: Scalars['String'];
|
|
@@ -212,29 +222,6 @@ export type IMutationFollowProfileArgs = {
|
|
|
212
222
|
export type IMutationUnfollowProfileArgs = {
|
|
213
223
|
followingUserId: Scalars['ID'];
|
|
214
224
|
};
|
|
215
|
-
export type IMyProfile = {
|
|
216
|
-
userId: Scalars['ID'];
|
|
217
|
-
username?: Maybe<Scalars['String']>;
|
|
218
|
-
about?: Maybe<Scalars['String']>;
|
|
219
|
-
userpic?: Maybe<Scalars['String']>;
|
|
220
|
-
following?: Maybe<Scalars['Boolean']>;
|
|
221
|
-
followings?: Maybe<Scalars['Int']>;
|
|
222
|
-
followers?: Maybe<Scalars['Int']>;
|
|
223
|
-
social?: Maybe<ISocial>;
|
|
224
|
-
views?: Maybe<Scalars['Int']>;
|
|
225
|
-
createdAt?: Maybe<Scalars['Long']>;
|
|
226
|
-
deletedAt?: Maybe<Scalars['Long']>;
|
|
227
|
-
visible?: Maybe<Scalars['Boolean']>;
|
|
228
|
-
deleted?: Maybe<Scalars['Boolean']>;
|
|
229
|
-
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
230
|
-
rank?: Maybe<Scalars['Float']>;
|
|
231
|
-
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
232
|
-
xps?: Maybe<Scalars['Int']>;
|
|
233
|
-
level?: Maybe<Scalars['Int']>;
|
|
234
|
-
levelMinXps?: Maybe<Scalars['Int']>;
|
|
235
|
-
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
236
|
-
inviteCodes?: Maybe<Array<Maybe<IUserInviteCode>>>;
|
|
237
|
-
};
|
|
238
225
|
export type IMyProfileV2 = {
|
|
239
226
|
userId: Scalars['ID'];
|
|
240
227
|
username?: Maybe<Scalars['String']>;
|
|
@@ -278,14 +265,19 @@ export type IProfile = {
|
|
|
278
265
|
xps?: Maybe<Scalars['Int']>;
|
|
279
266
|
level?: Maybe<Scalars['Int']>;
|
|
280
267
|
};
|
|
268
|
+
export type IProof = {
|
|
269
|
+
timestamp?: Maybe<Scalars['Long']>;
|
|
270
|
+
domain?: Maybe<IDomain>;
|
|
271
|
+
payload: Scalars['String'];
|
|
272
|
+
signature: Scalars['String'];
|
|
273
|
+
stateInit?: Maybe<Scalars['String']>;
|
|
274
|
+
};
|
|
281
275
|
export type IQuery = {
|
|
282
276
|
getDummy: Scalars['String'];
|
|
283
277
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
284
278
|
fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
285
279
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
286
|
-
getMyInviteCodes: Array<IUserInviteCode>;
|
|
287
280
|
fetchInviteCode: IInviteCode;
|
|
288
|
-
fetchMyProfile: IMyProfile;
|
|
289
281
|
fetchMyProfileV2: IMyProfileV2;
|
|
290
282
|
fetchProfile: IProfile;
|
|
291
283
|
fetchFollowingStatus: IFollowingStatus;
|
|
@@ -378,6 +370,8 @@ export type IResolversTypes = {
|
|
|
378
370
|
AuditInterest: ResolverTypeWrapper<IAuditInterest>;
|
|
379
371
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
380
372
|
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
373
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
374
|
+
Domain: IDomain;
|
|
381
375
|
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
382
376
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
383
377
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
@@ -389,9 +383,9 @@ export type IResolversTypes = {
|
|
|
389
383
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
390
384
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
391
385
|
Mutation: ResolverTypeWrapper<{}>;
|
|
392
|
-
MyProfile: ResolverTypeWrapper<IMyProfile>;
|
|
393
386
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
394
387
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
388
|
+
Proof: IProof;
|
|
395
389
|
Query: ResolverTypeWrapper<{}>;
|
|
396
390
|
Role: IRole;
|
|
397
391
|
Social: ResolverTypeWrapper<ISocial>;
|
|
@@ -408,6 +402,8 @@ export type IResolversParentTypes = {
|
|
|
408
402
|
AuditInterest: IAuditInterest;
|
|
409
403
|
Float: Scalars['Float'];
|
|
410
404
|
AuditNFTBalance: IAuditNftBalance;
|
|
405
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
406
|
+
Domain: IDomain;
|
|
411
407
|
FollowingStatus: IFollowingStatus;
|
|
412
408
|
ID: Scalars['ID'];
|
|
413
409
|
Boolean: Scalars['Boolean'];
|
|
@@ -419,9 +415,9 @@ export type IResolversParentTypes = {
|
|
|
419
415
|
Long: Scalars['Long'];
|
|
420
416
|
MultiversxAudit: IMultiversxAudit;
|
|
421
417
|
Mutation: {};
|
|
422
|
-
MyProfile: IMyProfile;
|
|
423
418
|
MyProfileV2: IMyProfileV2;
|
|
424
419
|
Profile: IProfile;
|
|
420
|
+
Proof: IProof;
|
|
425
421
|
Query: {};
|
|
426
422
|
Social: ISocial;
|
|
427
423
|
TokenPair: ITokenPair;
|
|
@@ -514,19 +510,21 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
514
510
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
515
511
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
516
512
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
513
|
+
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
514
|
+
createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
517
515
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
518
516
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
519
|
-
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'signature' | 'address'>>;
|
|
520
517
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
521
518
|
signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
|
|
522
519
|
signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
|
|
523
520
|
signInFlow?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInFlowArgs, 'signature' | 'address'>>;
|
|
521
|
+
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'request'>>;
|
|
524
522
|
addWalletMetamask?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
525
523
|
addWalletTezos?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTezosArgs, 'signature' | 'pubkey'>>;
|
|
526
524
|
addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
|
|
527
525
|
addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
|
|
528
526
|
addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
|
|
529
|
-
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, '
|
|
527
|
+
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'request'>>;
|
|
530
528
|
removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
|
|
531
529
|
setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
|
|
532
530
|
generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
|
|
@@ -536,30 +534,6 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
536
534
|
followProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationFollowProfileArgs, 'followingUserId'>>;
|
|
537
535
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
538
536
|
};
|
|
539
|
-
export type IMyProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfile'] = IResolversParentTypes['MyProfile']> = {
|
|
540
|
-
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
541
|
-
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
542
|
-
about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
543
|
-
userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
544
|
-
following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
545
|
-
followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
546
|
-
followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
547
|
-
social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
|
|
548
|
-
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
549
|
-
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
550
|
-
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
551
|
-
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
552
|
-
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
553
|
-
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
554
|
-
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
555
|
-
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
556
|
-
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
557
|
-
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
558
|
-
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
559
|
-
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
560
|
-
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserInviteCode']>>>, ParentType, ContextType>;
|
|
561
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
562
|
-
};
|
|
563
537
|
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
564
538
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
565
539
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -610,9 +584,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
610
584
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
611
585
|
fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
612
586
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
613
|
-
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
614
587
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
615
|
-
fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
|
|
616
588
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
617
589
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
618
590
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
@@ -662,7 +634,6 @@ export type IResolvers<ContextType = any> = {
|
|
|
662
634
|
Long?: GraphQLScalarType;
|
|
663
635
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
664
636
|
Mutation?: IMutationResolvers<ContextType>;
|
|
665
|
-
MyProfile?: IMyProfileResolvers<ContextType>;
|
|
666
637
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
667
638
|
Profile?: IProfileResolvers<ContextType>;
|
|
668
639
|
Query?: IQueryResolvers<ContextType>;
|
|
@@ -705,12 +676,24 @@ export type IAddWalletTezosMutationVariables = Exact<{
|
|
|
705
676
|
pubkey: Scalars['String'];
|
|
706
677
|
}>;
|
|
707
678
|
export type IAddWalletTezosMutation = Pick<IMutation, 'addWalletTezos'>;
|
|
679
|
+
export type IAddWalletTonMutationVariables = Exact<{
|
|
680
|
+
request: ICheckTonProofRequest;
|
|
681
|
+
}>;
|
|
682
|
+
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
683
|
+
export type ICreateEvmNonceMutationVariables = Exact<{
|
|
684
|
+
[key: string]: never;
|
|
685
|
+
}>;
|
|
686
|
+
export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
|
|
708
687
|
export type ICreateNonceMutationVariables = Exact<{
|
|
709
688
|
address: Scalars['String'];
|
|
710
689
|
blockchain: Scalars['String'];
|
|
711
690
|
chainId?: Maybe<Scalars['String']>;
|
|
712
691
|
}>;
|
|
713
692
|
export type ICreateNonceMutation = Pick<IMutation, 'createNonce'>;
|
|
693
|
+
export type ICreateTonNonceMutationVariables = Exact<{
|
|
694
|
+
[key: string]: never;
|
|
695
|
+
}>;
|
|
696
|
+
export type ICreateTonNonceMutation = Pick<IMutation, 'createTonNonce'>;
|
|
714
697
|
export type IGenerateNewInviteCodesMutationVariables = Exact<{
|
|
715
698
|
codesNum: Scalars['Int'];
|
|
716
699
|
}>;
|
|
@@ -813,8 +796,7 @@ export type ISignInTezosMutation = {
|
|
|
813
796
|
});
|
|
814
797
|
};
|
|
815
798
|
export type ISignInTonMutationVariables = Exact<{
|
|
816
|
-
|
|
817
|
-
address: Scalars['String'];
|
|
799
|
+
request: ICheckTonProofRequest;
|
|
818
800
|
restore?: Maybe<Scalars['Boolean']>;
|
|
819
801
|
}>;
|
|
820
802
|
export type ISignInTonMutation = {
|
|
@@ -846,16 +828,6 @@ export type IFetchMultiversXAuditQuery = {
|
|
|
846
828
|
})>;
|
|
847
829
|
})>;
|
|
848
830
|
};
|
|
849
|
-
export type IFetchMyProfileQueryVariables = Exact<{
|
|
850
|
-
[key: string]: never;
|
|
851
|
-
}>;
|
|
852
|
-
export type IFetchMyProfileQuery = {
|
|
853
|
-
fetchMyProfile: (Pick<IMyProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> & {
|
|
854
|
-
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
|
|
855
|
-
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
|
|
856
|
-
inviteCodes?: Maybe<Array<Maybe<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>>>;
|
|
857
|
-
});
|
|
858
|
-
};
|
|
859
831
|
export type IFetchMyProfileV2QueryVariables = Exact<{
|
|
860
832
|
[key: string]: never;
|
|
861
833
|
}>;
|
|
@@ -883,12 +855,6 @@ export type IFetchUserWalletsQueryVariables = Exact<{
|
|
|
883
855
|
export type IFetchUserWalletsQuery = {
|
|
884
856
|
fetchUserWallets: Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>;
|
|
885
857
|
};
|
|
886
|
-
export type IGetMyInviteCodesQueryVariables = Exact<{
|
|
887
|
-
[key: string]: never;
|
|
888
|
-
}>;
|
|
889
|
-
export type IGetMyInviteCodesQuery = {
|
|
890
|
-
getMyInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>;
|
|
891
|
-
};
|
|
892
858
|
export declare const AddWalletElrondDocument: Apollo.DocumentNode;
|
|
893
859
|
export type IAddWalletElrondMutationFn = Apollo.MutationFunction<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>;
|
|
894
860
|
/**
|
|
@@ -1026,6 +992,55 @@ export declare function useAddWalletTezosMutation(baseOptions?: Apollo.MutationH
|
|
|
1026
992
|
export type AddWalletTezosMutationHookResult = ReturnType<typeof useAddWalletTezosMutation>;
|
|
1027
993
|
export type AddWalletTezosMutationResult = Apollo.MutationResult<IAddWalletTezosMutation>;
|
|
1028
994
|
export type AddWalletTezosMutationOptions = Apollo.BaseMutationOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
|
|
995
|
+
export declare const AddWalletTonDocument: Apollo.DocumentNode;
|
|
996
|
+
export type IAddWalletTonMutationFn = Apollo.MutationFunction<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
997
|
+
/**
|
|
998
|
+
* __useAddWalletTonMutation__
|
|
999
|
+
*
|
|
1000
|
+
* To run a mutation, you first call `useAddWalletTonMutation` within a React component and pass it any options that fit your needs.
|
|
1001
|
+
* When your component renders, `useAddWalletTonMutation` returns a tuple that includes:
|
|
1002
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1003
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1004
|
+
*
|
|
1005
|
+
* @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;
|
|
1006
|
+
*
|
|
1007
|
+
* @example
|
|
1008
|
+
* const [addWalletTonMutation, { data, loading, error }] = useAddWalletTonMutation({
|
|
1009
|
+
* variables: {
|
|
1010
|
+
* request: // value for 'request'
|
|
1011
|
+
* },
|
|
1012
|
+
* });
|
|
1013
|
+
*/
|
|
1014
|
+
export declare function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>): Apollo.MutationTuple<IAddWalletTonMutation, Exact<{
|
|
1015
|
+
request: ICheckTonProofRequest;
|
|
1016
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1017
|
+
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1018
|
+
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1019
|
+
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1020
|
+
export declare const CreateEvmNonceDocument: Apollo.DocumentNode;
|
|
1021
|
+
export type ICreateEvmNonceMutationFn = Apollo.MutationFunction<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1022
|
+
/**
|
|
1023
|
+
* __useCreateEvmNonceMutation__
|
|
1024
|
+
*
|
|
1025
|
+
* To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1026
|
+
* When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
|
|
1027
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1028
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1029
|
+
*
|
|
1030
|
+
* @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;
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
|
|
1034
|
+
* variables: {
|
|
1035
|
+
* },
|
|
1036
|
+
* });
|
|
1037
|
+
*/
|
|
1038
|
+
export declare function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>): Apollo.MutationTuple<ICreateEvmNonceMutation, Exact<{
|
|
1039
|
+
[key: string]: never;
|
|
1040
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1041
|
+
export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
|
|
1042
|
+
export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
|
|
1043
|
+
export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1029
1044
|
export declare const CreateNonceDocument: Apollo.DocumentNode;
|
|
1030
1045
|
export type ICreateNonceMutationFn = Apollo.MutationFunction<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1031
1046
|
/**
|
|
@@ -1055,6 +1070,30 @@ export declare function useCreateNonceMutation(baseOptions?: Apollo.MutationHook
|
|
|
1055
1070
|
export type CreateNonceMutationHookResult = ReturnType<typeof useCreateNonceMutation>;
|
|
1056
1071
|
export type CreateNonceMutationResult = Apollo.MutationResult<ICreateNonceMutation>;
|
|
1057
1072
|
export type CreateNonceMutationOptions = Apollo.BaseMutationOptions<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1073
|
+
export declare const CreateTonNonceDocument: Apollo.DocumentNode;
|
|
1074
|
+
export type ICreateTonNonceMutationFn = Apollo.MutationFunction<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1075
|
+
/**
|
|
1076
|
+
* __useCreateTonNonceMutation__
|
|
1077
|
+
*
|
|
1078
|
+
* To run a mutation, you first call `useCreateTonNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1079
|
+
* When your component renders, `useCreateTonNonceMutation` returns a tuple that includes:
|
|
1080
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1081
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1082
|
+
*
|
|
1083
|
+
* @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;
|
|
1084
|
+
*
|
|
1085
|
+
* @example
|
|
1086
|
+
* const [createTonNonceMutation, { data, loading, error }] = useCreateTonNonceMutation({
|
|
1087
|
+
* variables: {
|
|
1088
|
+
* },
|
|
1089
|
+
* });
|
|
1090
|
+
*/
|
|
1091
|
+
export declare function useCreateTonNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>): Apollo.MutationTuple<ICreateTonNonceMutation, Exact<{
|
|
1092
|
+
[key: string]: never;
|
|
1093
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1094
|
+
export type CreateTonNonceMutationHookResult = ReturnType<typeof useCreateTonNonceMutation>;
|
|
1095
|
+
export type CreateTonNonceMutationResult = Apollo.MutationResult<ICreateTonNonceMutation>;
|
|
1096
|
+
export type CreateTonNonceMutationOptions = Apollo.BaseMutationOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1058
1097
|
export declare const GenerateNewInviteCodesDocument: Apollo.DocumentNode;
|
|
1059
1098
|
export type IGenerateNewInviteCodesMutationFn = Apollo.MutationFunction<IGenerateNewInviteCodesMutation, IGenerateNewInviteCodesMutationVariables>;
|
|
1060
1099
|
/**
|
|
@@ -1371,15 +1410,13 @@ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, I
|
|
|
1371
1410
|
* @example
|
|
1372
1411
|
* const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
|
|
1373
1412
|
* variables: {
|
|
1374
|
-
*
|
|
1375
|
-
* address: // value for 'address'
|
|
1413
|
+
* request: // value for 'request'
|
|
1376
1414
|
* restore: // value for 'restore'
|
|
1377
1415
|
* },
|
|
1378
1416
|
* });
|
|
1379
1417
|
*/
|
|
1380
1418
|
export declare function useSignInTonMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonMutation, ISignInTonMutationVariables>): Apollo.MutationTuple<ISignInTonMutation, Exact<{
|
|
1381
|
-
|
|
1382
|
-
address: string;
|
|
1419
|
+
request: ICheckTonProofRequest;
|
|
1383
1420
|
restore?: Maybe<boolean> | undefined;
|
|
1384
1421
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1385
1422
|
export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation>;
|
|
@@ -1448,31 +1485,6 @@ export declare function useFetchMultiversXAuditLazyQuery(baseOptions?: Apollo.La
|
|
|
1448
1485
|
export type FetchMultiversXAuditQueryHookResult = ReturnType<typeof useFetchMultiversXAuditQuery>;
|
|
1449
1486
|
export type FetchMultiversXAuditLazyQueryHookResult = ReturnType<typeof useFetchMultiversXAuditLazyQuery>;
|
|
1450
1487
|
export type FetchMultiversXAuditQueryResult = Apollo.QueryResult<IFetchMultiversXAuditQuery, IFetchMultiversXAuditQueryVariables>;
|
|
1451
|
-
export declare const FetchMyProfileDocument: Apollo.DocumentNode;
|
|
1452
|
-
/**
|
|
1453
|
-
* __useFetchMyProfileQuery__
|
|
1454
|
-
*
|
|
1455
|
-
* To run a query within a React component, call `useFetchMyProfileQuery` and pass it any options that fit your needs.
|
|
1456
|
-
* When your component renders, `useFetchMyProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1457
|
-
* you can use to render your UI.
|
|
1458
|
-
*
|
|
1459
|
-
* @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;
|
|
1460
|
-
*
|
|
1461
|
-
* @example
|
|
1462
|
-
* const { data, loading, error } = useFetchMyProfileQuery({
|
|
1463
|
-
* variables: {
|
|
1464
|
-
* },
|
|
1465
|
-
* });
|
|
1466
|
-
*/
|
|
1467
|
-
export declare function useFetchMyProfileQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>): Apollo.QueryResult<IFetchMyProfileQuery, Exact<{
|
|
1468
|
-
[key: string]: never;
|
|
1469
|
-
}>>;
|
|
1470
|
-
export declare function useFetchMyProfileLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyProfileQuery, Exact<{
|
|
1471
|
-
[key: string]: never;
|
|
1472
|
-
}>>;
|
|
1473
|
-
export type FetchMyProfileQueryHookResult = ReturnType<typeof useFetchMyProfileQuery>;
|
|
1474
|
-
export type FetchMyProfileLazyQueryHookResult = ReturnType<typeof useFetchMyProfileLazyQuery>;
|
|
1475
|
-
export type FetchMyProfileQueryResult = Apollo.QueryResult<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>;
|
|
1476
1488
|
export declare const FetchMyProfileV2Document: Apollo.DocumentNode;
|
|
1477
1489
|
/**
|
|
1478
1490
|
* __useFetchMyProfileV2Query__
|
|
@@ -1550,28 +1562,3 @@ export declare function useFetchUserWalletsLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
1550
1562
|
export type FetchUserWalletsQueryHookResult = ReturnType<typeof useFetchUserWalletsQuery>;
|
|
1551
1563
|
export type FetchUserWalletsLazyQueryHookResult = ReturnType<typeof useFetchUserWalletsLazyQuery>;
|
|
1552
1564
|
export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
|
|
1553
|
-
export declare const GetMyInviteCodesDocument: Apollo.DocumentNode;
|
|
1554
|
-
/**
|
|
1555
|
-
* __useGetMyInviteCodesQuery__
|
|
1556
|
-
*
|
|
1557
|
-
* To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
|
|
1558
|
-
* When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1559
|
-
* you can use to render your UI.
|
|
1560
|
-
*
|
|
1561
|
-
* @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;
|
|
1562
|
-
*
|
|
1563
|
-
* @example
|
|
1564
|
-
* const { data, loading, error } = useGetMyInviteCodesQuery({
|
|
1565
|
-
* variables: {
|
|
1566
|
-
* },
|
|
1567
|
-
* });
|
|
1568
|
-
*/
|
|
1569
|
-
export declare function useGetMyInviteCodesQuery(baseOptions?: Apollo.QueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.QueryResult<IGetMyInviteCodesQuery, Exact<{
|
|
1570
|
-
[key: string]: never;
|
|
1571
|
-
}>>;
|
|
1572
|
-
export declare function useGetMyInviteCodesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.LazyQueryResultTuple<IGetMyInviteCodesQuery, Exact<{
|
|
1573
|
-
[key: string]: never;
|
|
1574
|
-
}>>;
|
|
1575
|
-
export type GetMyInviteCodesQueryHookResult = ReturnType<typeof useGetMyInviteCodesQuery>;
|
|
1576
|
-
export type GetMyInviteCodesLazyQueryHookResult = ReturnType<typeof useGetMyInviteCodesLazyQuery>;
|
|
1577
|
-
export type GetMyInviteCodesQueryResult = Apollo.QueryResult<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>;
|