@ludo.ninja/api 2.8.34 → 2.8.35
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__/formsHost/schema.d.ts +422 -0
- package/build/graphql_tools/__generated__/formsHost/schema.js +210 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +75 -6
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/formsHost/schema.ts +550 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +85 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -25,6 +25,23 @@ export type Scalars = {
|
|
|
25
25
|
/** A 64-bit signed integer */
|
|
26
26
|
Long: any;
|
|
27
27
|
};
|
|
28
|
+
export type IAuditBalanceCollection = {
|
|
29
|
+
collection?: Maybe<Scalars['String']>;
|
|
30
|
+
type?: Maybe<Scalars['String']>;
|
|
31
|
+
name?: Maybe<Scalars['String']>;
|
|
32
|
+
balance?: Maybe<Scalars['Int']>;
|
|
33
|
+
};
|
|
34
|
+
export type IAuditInterest = {
|
|
35
|
+
name?: Maybe<Scalars['String']>;
|
|
36
|
+
items?: Maybe<Scalars['Int']>;
|
|
37
|
+
percentage?: Maybe<Scalars['Float']>;
|
|
38
|
+
};
|
|
39
|
+
/** noinspection SpellCheckingInspection */
|
|
40
|
+
export type IAuditNftBalance = {
|
|
41
|
+
nativeValue?: Maybe<Scalars['Float']>;
|
|
42
|
+
totalNfts?: Maybe<Scalars['Int']>;
|
|
43
|
+
collections?: Maybe<Array<IAuditBalanceCollection>>;
|
|
44
|
+
};
|
|
28
45
|
export type IFollowingStatus = {
|
|
29
46
|
userId: Scalars['ID'];
|
|
30
47
|
following: Scalars['Boolean'];
|
|
@@ -51,6 +68,14 @@ export type IInputSocial = {
|
|
|
51
68
|
instagram?: Maybe<Scalars['String']>;
|
|
52
69
|
website?: Maybe<Scalars['String']>;
|
|
53
70
|
};
|
|
71
|
+
/** noinspection SpellCheckingInspection */
|
|
72
|
+
export type IMultiversxAudit = {
|
|
73
|
+
delegated?: Maybe<Scalars['Float']>;
|
|
74
|
+
interests?: Maybe<Array<IAuditInterest>>;
|
|
75
|
+
nativeBalance?: Maybe<Scalars['Float']>;
|
|
76
|
+
nftBalance?: Maybe<IAuditNftBalance>;
|
|
77
|
+
tokenValue?: Maybe<Scalars['Float']>;
|
|
78
|
+
};
|
|
54
79
|
export type IMutation = {
|
|
55
80
|
setDummy: Scalars['String'];
|
|
56
81
|
createNonce: Scalars['String'];
|
|
@@ -188,6 +213,7 @@ export type IProfile = {
|
|
|
188
213
|
export type IQuery = {
|
|
189
214
|
getDummy: Scalars['String'];
|
|
190
215
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
216
|
+
fetchMultiversxAudit: IMultiversxAudit;
|
|
191
217
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
192
218
|
getMyInviteCodes: Array<IUserInviteCode>;
|
|
193
219
|
fetchProfile: IProfile;
|
|
@@ -197,6 +223,9 @@ export type IQuery = {
|
|
|
197
223
|
export type IQueryFetchUserWalletsArgs = {
|
|
198
224
|
userId: Scalars['ID'];
|
|
199
225
|
};
|
|
226
|
+
export type IQueryFetchMultiversxAuditArgs = {
|
|
227
|
+
wallet: Scalars['String'];
|
|
228
|
+
};
|
|
200
229
|
export type IQueryIsInviteCodeAvailableArgs = {
|
|
201
230
|
inviteCode: Scalars['String'];
|
|
202
231
|
};
|
|
@@ -269,18 +298,22 @@ export type NextResolverFn<T> = () => Promise<T>;
|
|
|
269
298
|
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
270
299
|
/** Mapping between all available schema types and the resolvers types */
|
|
271
300
|
export type IResolversTypes = {
|
|
301
|
+
AuditBalanceCollection: ResolverTypeWrapper<IAuditBalanceCollection>;
|
|
302
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
303
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
304
|
+
AuditInterest: ResolverTypeWrapper<IAuditInterest>;
|
|
305
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
306
|
+
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
272
307
|
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
273
308
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
274
309
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
275
310
|
Identity: ResolverTypeWrapper<IIdentity>;
|
|
276
|
-
String: ResolverTypeWrapper<Scalars['String']>;
|
|
277
311
|
InputProfile: IInputProfile;
|
|
278
312
|
InputSocial: IInputSocial;
|
|
279
313
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
314
|
+
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
280
315
|
Mutation: ResolverTypeWrapper<{}>;
|
|
281
|
-
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
282
316
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
283
|
-
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
284
317
|
Query: ResolverTypeWrapper<{}>;
|
|
285
318
|
Role: IRole;
|
|
286
319
|
Social: ResolverTypeWrapper<ISocial>;
|
|
@@ -291,18 +324,22 @@ export type IResolversTypes = {
|
|
|
291
324
|
};
|
|
292
325
|
/** Mapping between all available schema types and the resolvers parents */
|
|
293
326
|
export type IResolversParentTypes = {
|
|
327
|
+
AuditBalanceCollection: IAuditBalanceCollection;
|
|
328
|
+
String: Scalars['String'];
|
|
329
|
+
Int: Scalars['Int'];
|
|
330
|
+
AuditInterest: IAuditInterest;
|
|
331
|
+
Float: Scalars['Float'];
|
|
332
|
+
AuditNFTBalance: IAuditNftBalance;
|
|
294
333
|
FollowingStatus: IFollowingStatus;
|
|
295
334
|
ID: Scalars['ID'];
|
|
296
335
|
Boolean: Scalars['Boolean'];
|
|
297
336
|
Identity: IIdentity;
|
|
298
|
-
String: Scalars['String'];
|
|
299
337
|
InputProfile: IInputProfile;
|
|
300
338
|
InputSocial: IInputSocial;
|
|
301
339
|
Long: Scalars['Long'];
|
|
340
|
+
MultiversxAudit: IMultiversxAudit;
|
|
302
341
|
Mutation: {};
|
|
303
|
-
Int: Scalars['Int'];
|
|
304
342
|
Profile: IProfile;
|
|
305
|
-
Float: Scalars['Float'];
|
|
306
343
|
Query: {};
|
|
307
344
|
Social: ISocial;
|
|
308
345
|
TokenPair: ITokenPair;
|
|
@@ -333,6 +370,25 @@ export type IConnectionDirectiveArgs = {
|
|
|
333
370
|
export type IConnectionDirectiveResolver<Result, Parent, ContextType = any, Args = IConnectionDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
334
371
|
export type IOneOfDirectiveArgs = {};
|
|
335
372
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
373
|
+
export type IAuditBalanceCollectionResolvers<ContextType = any, ParentType extends IResolversParentTypes['AuditBalanceCollection'] = IResolversParentTypes['AuditBalanceCollection']> = {
|
|
374
|
+
collection?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
375
|
+
type?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
376
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
377
|
+
balance?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
378
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
379
|
+
};
|
|
380
|
+
export type IAuditInterestResolvers<ContextType = any, ParentType extends IResolversParentTypes['AuditInterest'] = IResolversParentTypes['AuditInterest']> = {
|
|
381
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
382
|
+
items?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
383
|
+
percentage?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
384
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
385
|
+
};
|
|
386
|
+
export type IAuditNftBalanceResolvers<ContextType = any, ParentType extends IResolversParentTypes['AuditNFTBalance'] = IResolversParentTypes['AuditNFTBalance']> = {
|
|
387
|
+
nativeValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
388
|
+
totalNfts?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
389
|
+
collections?: Resolver<Maybe<Array<IResolversTypes['AuditBalanceCollection']>>, ParentType, ContextType>;
|
|
390
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
391
|
+
};
|
|
336
392
|
export type IFollowingStatusResolvers<ContextType = any, ParentType extends IResolversParentTypes['FollowingStatus'] = IResolversParentTypes['FollowingStatus']> = {
|
|
337
393
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
338
394
|
following?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
@@ -352,6 +408,14 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
352
408
|
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
353
409
|
name: 'Long';
|
|
354
410
|
}
|
|
411
|
+
export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IResolversParentTypes['MultiversxAudit'] = IResolversParentTypes['MultiversxAudit']> = {
|
|
412
|
+
delegated?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
413
|
+
interests?: Resolver<Maybe<Array<IResolversTypes['AuditInterest']>>, ParentType, ContextType>;
|
|
414
|
+
nativeBalance?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
415
|
+
nftBalance?: Resolver<Maybe<IResolversTypes['AuditNFTBalance']>, ParentType, ContextType>;
|
|
416
|
+
tokenValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
417
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
418
|
+
};
|
|
355
419
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
356
420
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
357
421
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
@@ -399,6 +463,7 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
399
463
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
400
464
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
401
465
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
466
|
+
fetchMultiversxAudit?: Resolver<IResolversTypes['MultiversxAudit'], ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
402
467
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
403
468
|
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
404
469
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
@@ -439,9 +504,13 @@ export type IWalletResolvers<ContextType = any, ParentType extends IResolversPar
|
|
|
439
504
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
440
505
|
};
|
|
441
506
|
export type IResolvers<ContextType = any> = {
|
|
507
|
+
AuditBalanceCollection?: IAuditBalanceCollectionResolvers<ContextType>;
|
|
508
|
+
AuditInterest?: IAuditInterestResolvers<ContextType>;
|
|
509
|
+
AuditNFTBalance?: IAuditNftBalanceResolvers<ContextType>;
|
|
442
510
|
FollowingStatus?: IFollowingStatusResolvers<ContextType>;
|
|
443
511
|
Identity?: IIdentityResolvers<ContextType>;
|
|
444
512
|
Long?: GraphQLScalarType;
|
|
513
|
+
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
445
514
|
Mutation?: IMutationResolvers<ContextType>;
|
|
446
515
|
Profile?: IProfileResolvers<ContextType>;
|
|
447
516
|
Query?: IQueryResolvers<ContextType>;
|