@ludo.ninja/api 2.8.95 → 2.8.97
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/config/index.js +3 -2
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +34 -34
- package/build/graphql_tools/__generated__/adminHost/schema.js +68 -66
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
- package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
- package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +141 -63
- package/build/graphql_tools/__generated__/identityHost/schema.js +121 -31
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
- package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +7 -36
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -37
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +52 -48
- package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +6 -6
- package/build/graphql_tools/__generated__/tapHost/schema.js +12 -12
- package/build/index.d.ts +1238 -581
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +145 -11
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -37
- package/src/graphql_tools/__generated__/searchHost/schema.ts +4 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -76,8 +76,9 @@ export type IIdentity = {
|
|
|
76
76
|
role: IRole;
|
|
77
77
|
newUser?: Maybe<Scalars['Boolean']>;
|
|
78
78
|
inviteCode?: Maybe<Scalars['String']>;
|
|
79
|
-
|
|
79
|
+
reftypeId?: Maybe<Scalars['ID']>;
|
|
80
80
|
reftypeName?: Maybe<Scalars['String']>;
|
|
81
|
+
reftypeColor?: Maybe<IReftypeColor>;
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
export type IInputProfile = {
|
|
@@ -305,6 +306,11 @@ export type IMyProfileV2 = {
|
|
|
305
306
|
levelMinXps?: Maybe<Scalars['Int']>;
|
|
306
307
|
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
307
308
|
inviteCodes?: Maybe<Array<Maybe<IInviteCode>>>;
|
|
309
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
310
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
311
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
312
|
+
tierId?: Maybe<Scalars['String']>;
|
|
313
|
+
tierName?: Maybe<Scalars['String']>;
|
|
308
314
|
};
|
|
309
315
|
|
|
310
316
|
export type IProfile = {
|
|
@@ -327,6 +333,11 @@ export type IProfile = {
|
|
|
327
333
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
328
334
|
xps?: Maybe<Scalars['Int']>;
|
|
329
335
|
level?: Maybe<Scalars['Int']>;
|
|
336
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
337
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
338
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
339
|
+
tierId?: Maybe<Scalars['String']>;
|
|
340
|
+
tierName?: Maybe<Scalars['String']>;
|
|
330
341
|
};
|
|
331
342
|
|
|
332
343
|
export type IProof = {
|
|
@@ -341,6 +352,7 @@ export type IQuery = {
|
|
|
341
352
|
getDummy: Scalars['String'];
|
|
342
353
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
343
354
|
fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
355
|
+
fetchAggregatedMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
344
356
|
fetchInviteCode: IInviteCode;
|
|
345
357
|
fetchMyProfileV2: IMyProfileV2;
|
|
346
358
|
fetchProfile: IProfile;
|
|
@@ -359,6 +371,11 @@ export type IQueryFetchMultiversxAuditArgs = {
|
|
|
359
371
|
};
|
|
360
372
|
|
|
361
373
|
|
|
374
|
+
export type IQueryFetchAggregatedMultiversxAuditArgs = {
|
|
375
|
+
userId: Scalars['ID'];
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
|
|
362
379
|
export type IQueryFetchInviteCodeArgs = {
|
|
363
380
|
inviteCode: Scalars['String'];
|
|
364
381
|
};
|
|
@@ -378,6 +395,20 @@ export type IQueryFetchFollowingStatusesArgs = {
|
|
|
378
395
|
userIds: Array<Scalars['ID']>;
|
|
379
396
|
};
|
|
380
397
|
|
|
398
|
+
/** Sync with ReftypeColor.java */
|
|
399
|
+
export enum IReftypeColor {
|
|
400
|
+
Red = 'RED',
|
|
401
|
+
Green = 'GREEN',
|
|
402
|
+
Blue = 'BLUE',
|
|
403
|
+
Yellow = 'YELLOW',
|
|
404
|
+
Orange = 'ORANGE',
|
|
405
|
+
White = 'WHITE',
|
|
406
|
+
Black = 'BLACK',
|
|
407
|
+
Grey = 'GREY',
|
|
408
|
+
Purple = 'PURPLE',
|
|
409
|
+
Gold = 'GOLD'
|
|
410
|
+
}
|
|
411
|
+
|
|
381
412
|
export enum IRole {
|
|
382
413
|
Admin = 'admin',
|
|
383
414
|
Plain = 'plain'
|
|
@@ -509,6 +540,7 @@ export type IResolversTypes = {
|
|
|
509
540
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
510
541
|
Proof: IProof;
|
|
511
542
|
Query: ResolverTypeWrapper<{}>;
|
|
543
|
+
ReftypeColor: IReftypeColor;
|
|
512
544
|
Role: IRole;
|
|
513
545
|
Social: ResolverTypeWrapper<ISocial>;
|
|
514
546
|
TokenPair: ResolverTypeWrapper<ITokenPair>;
|
|
@@ -628,8 +660,9 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
628
660
|
role?: Resolver<IResolversTypes['Role'], ParentType, ContextType>;
|
|
629
661
|
newUser?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
630
662
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
631
|
-
|
|
663
|
+
reftypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
632
664
|
reftypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
665
|
+
reftypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
633
666
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
634
667
|
};
|
|
635
668
|
|
|
@@ -712,6 +745,11 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
712
745
|
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
713
746
|
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
714
747
|
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['InviteCode']>>>, ParentType, ContextType>;
|
|
748
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
749
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
750
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
751
|
+
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
752
|
+
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
715
753
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
716
754
|
};
|
|
717
755
|
|
|
@@ -735,6 +773,11 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
735
773
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
736
774
|
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
737
775
|
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
776
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
777
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
778
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
779
|
+
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
780
|
+
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
738
781
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
739
782
|
};
|
|
740
783
|
|
|
@@ -742,6 +785,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
742
785
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
743
786
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
744
787
|
fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
788
|
+
fetchAggregatedMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchAggregatedMultiversxAuditArgs, 'userId'>>;
|
|
745
789
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
746
790
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
747
791
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
@@ -932,7 +976,7 @@ export type ISignInAdminMetamaskMutationVariables = Exact<{
|
|
|
932
976
|
|
|
933
977
|
|
|
934
978
|
export type ISignInAdminMetamaskMutation = { signInAdminMetamask: (
|
|
935
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
979
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
936
980
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
937
981
|
) };
|
|
938
982
|
|
|
@@ -943,7 +987,7 @@ export type ISignInElrondMutationVariables = Exact<{
|
|
|
943
987
|
|
|
944
988
|
|
|
945
989
|
export type ISignInElrondMutation = { signInElrond: (
|
|
946
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
990
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
947
991
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
948
992
|
) };
|
|
949
993
|
|
|
@@ -954,7 +998,7 @@ export type ISignInFlowMutationVariables = Exact<{
|
|
|
954
998
|
|
|
955
999
|
|
|
956
1000
|
export type ISignInFlowMutation = { signInFlow: (
|
|
957
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1001
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
958
1002
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
959
1003
|
) };
|
|
960
1004
|
|
|
@@ -966,7 +1010,7 @@ export type ISignInMetamaskMutationVariables = Exact<{
|
|
|
966
1010
|
|
|
967
1011
|
|
|
968
1012
|
export type ISignInMetamaskMutation = { signInMetamask: (
|
|
969
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1013
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
970
1014
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
971
1015
|
) };
|
|
972
1016
|
|
|
@@ -977,7 +1021,7 @@ export type ISignInSolanaMutationVariables = Exact<{
|
|
|
977
1021
|
|
|
978
1022
|
|
|
979
1023
|
export type ISignInSolanaMutation = { signInSolana: (
|
|
980
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1024
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
981
1025
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
982
1026
|
) };
|
|
983
1027
|
|
|
@@ -988,7 +1032,7 @@ export type ISignInTezosMutationVariables = Exact<{
|
|
|
988
1032
|
|
|
989
1033
|
|
|
990
1034
|
export type ISignInTezosMutation = { signInTezos: (
|
|
991
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1035
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
992
1036
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
993
1037
|
) };
|
|
994
1038
|
|
|
@@ -999,7 +1043,7 @@ export type ISignInTonMutationVariables = Exact<{
|
|
|
999
1043
|
|
|
1000
1044
|
|
|
1001
1045
|
export type ISignInTonMutation = { signInTon: (
|
|
1002
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1046
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
1003
1047
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
1004
1048
|
) };
|
|
1005
1049
|
|
|
@@ -1016,6 +1060,19 @@ export type IUpdateProfileMutationVariables = Exact<{
|
|
|
1016
1060
|
|
|
1017
1061
|
export type IUpdateProfileMutation = Pick<IMutation, 'updateProfile'>;
|
|
1018
1062
|
|
|
1063
|
+
export type IFetchAggregatedMultiversxAuditQueryVariables = Exact<{
|
|
1064
|
+
userId: Scalars['ID'];
|
|
1065
|
+
}>;
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
export type IFetchAggregatedMultiversxAuditQuery = { fetchAggregatedMultiversxAudit?: Maybe<(
|
|
1069
|
+
Pick<IMultiversxAudit, 'delegated' | 'nativeBalance' | 'tokenValue'>
|
|
1070
|
+
& { interests?: Maybe<Array<Pick<IAuditInterest, 'name' | 'items' | 'percentage'>>>, nftBalance?: Maybe<(
|
|
1071
|
+
Pick<IAuditNftBalance, 'nativeValue' | 'totalNfts'>
|
|
1072
|
+
& { collections?: Maybe<Array<Pick<IAuditBalanceCollection, 'collection' | 'type' | 'name' | 'balance'>>> }
|
|
1073
|
+
)> }
|
|
1074
|
+
)> };
|
|
1075
|
+
|
|
1019
1076
|
export type IFetchMultiversXAuditQueryVariables = Exact<{
|
|
1020
1077
|
wallet: Scalars['String'];
|
|
1021
1078
|
}>;
|
|
@@ -1033,7 +1090,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1033
1090
|
|
|
1034
1091
|
|
|
1035
1092
|
export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
|
|
1036
|
-
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
|
|
1093
|
+
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1037
1094
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<(
|
|
1038
1095
|
Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'>
|
|
1039
1096
|
& { codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>> }
|
|
@@ -1046,7 +1103,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
1046
1103
|
|
|
1047
1104
|
|
|
1048
1105
|
export type IFetchProfileQuery = { fetchProfile: (
|
|
1049
|
-
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw'>
|
|
1106
|
+
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1050
1107
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>> }
|
|
1051
1108
|
) };
|
|
1052
1109
|
|
|
@@ -1512,6 +1569,9 @@ export const SignInAdminMetamaskDocument = gql`
|
|
|
1512
1569
|
newUser
|
|
1513
1570
|
inviteCode
|
|
1514
1571
|
role
|
|
1572
|
+
reftypeId
|
|
1573
|
+
reftypeName
|
|
1574
|
+
reftypeColor
|
|
1515
1575
|
}
|
|
1516
1576
|
}
|
|
1517
1577
|
`;
|
|
@@ -1560,6 +1620,9 @@ export const SignInElrondDocument = gql`
|
|
|
1560
1620
|
newUser
|
|
1561
1621
|
inviteCode
|
|
1562
1622
|
role
|
|
1623
|
+
reftypeId
|
|
1624
|
+
reftypeName
|
|
1625
|
+
reftypeColor
|
|
1563
1626
|
}
|
|
1564
1627
|
}
|
|
1565
1628
|
`;
|
|
@@ -1607,6 +1670,9 @@ export const SignInFlowDocument = gql`
|
|
|
1607
1670
|
newUser
|
|
1608
1671
|
inviteCode
|
|
1609
1672
|
role
|
|
1673
|
+
reftypeId
|
|
1674
|
+
reftypeName
|
|
1675
|
+
reftypeColor
|
|
1610
1676
|
}
|
|
1611
1677
|
}
|
|
1612
1678
|
`;
|
|
@@ -1654,6 +1720,9 @@ export const SignInMetamaskDocument = gql`
|
|
|
1654
1720
|
newUser
|
|
1655
1721
|
inviteCode
|
|
1656
1722
|
role
|
|
1723
|
+
reftypeId
|
|
1724
|
+
reftypeName
|
|
1725
|
+
reftypeColor
|
|
1657
1726
|
}
|
|
1658
1727
|
}
|
|
1659
1728
|
`;
|
|
@@ -1702,6 +1771,9 @@ export const SignInSolanaDocument = gql`
|
|
|
1702
1771
|
newUser
|
|
1703
1772
|
inviteCode
|
|
1704
1773
|
role
|
|
1774
|
+
reftypeId
|
|
1775
|
+
reftypeName
|
|
1776
|
+
reftypeColor
|
|
1705
1777
|
}
|
|
1706
1778
|
}
|
|
1707
1779
|
`;
|
|
@@ -1749,6 +1821,9 @@ export const SignInTezosDocument = gql`
|
|
|
1749
1821
|
newUser
|
|
1750
1822
|
inviteCode
|
|
1751
1823
|
role
|
|
1824
|
+
reftypeId
|
|
1825
|
+
reftypeName
|
|
1826
|
+
reftypeColor
|
|
1752
1827
|
}
|
|
1753
1828
|
}
|
|
1754
1829
|
`;
|
|
@@ -1796,6 +1871,9 @@ export const SignInTonDocument = gql`
|
|
|
1796
1871
|
newUser
|
|
1797
1872
|
inviteCode
|
|
1798
1873
|
role
|
|
1874
|
+
reftypeId
|
|
1875
|
+
reftypeName
|
|
1876
|
+
reftypeColor
|
|
1799
1877
|
}
|
|
1800
1878
|
}
|
|
1801
1879
|
`;
|
|
@@ -1863,6 +1941,56 @@ export function useUpdateProfileMutation(baseOptions?: Apollo.MutationHookOption
|
|
|
1863
1941
|
export type UpdateProfileMutationHookResult = ReturnType<typeof useUpdateProfileMutation>;
|
|
1864
1942
|
export type UpdateProfileMutationResult = Apollo.MutationResult<IUpdateProfileMutation>;
|
|
1865
1943
|
export type UpdateProfileMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
|
|
1944
|
+
export const FetchAggregatedMultiversxAuditDocument = gql`
|
|
1945
|
+
query FetchAggregatedMultiversxAudit($userId: ID!) {
|
|
1946
|
+
fetchAggregatedMultiversxAudit(userId: $userId) {
|
|
1947
|
+
delegated
|
|
1948
|
+
interests {
|
|
1949
|
+
name
|
|
1950
|
+
items
|
|
1951
|
+
percentage
|
|
1952
|
+
}
|
|
1953
|
+
nativeBalance
|
|
1954
|
+
nftBalance {
|
|
1955
|
+
nativeValue
|
|
1956
|
+
totalNfts
|
|
1957
|
+
collections {
|
|
1958
|
+
collection
|
|
1959
|
+
type
|
|
1960
|
+
name
|
|
1961
|
+
balance
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
tokenValue
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
`;
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* __useFetchAggregatedMultiversxAuditQuery__
|
|
1971
|
+
*
|
|
1972
|
+
* To run a query within a React component, call `useFetchAggregatedMultiversxAuditQuery` and pass it any options that fit your needs.
|
|
1973
|
+
* When your component renders, `useFetchAggregatedMultiversxAuditQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1974
|
+
* you can use to render your UI.
|
|
1975
|
+
*
|
|
1976
|
+
* @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;
|
|
1977
|
+
*
|
|
1978
|
+
* @example
|
|
1979
|
+
* const { data, loading, error } = useFetchAggregatedMultiversxAuditQuery({
|
|
1980
|
+
* variables: {
|
|
1981
|
+
* userId: // value for 'userId'
|
|
1982
|
+
* },
|
|
1983
|
+
* });
|
|
1984
|
+
*/
|
|
1985
|
+
export function useFetchAggregatedMultiversxAuditQuery(baseOptions: Apollo.QueryHookOptions<IFetchAggregatedMultiversxAuditQuery, IFetchAggregatedMultiversxAuditQueryVariables>) {
|
|
1986
|
+
return Apollo.useQuery<IFetchAggregatedMultiversxAuditQuery, IFetchAggregatedMultiversxAuditQueryVariables>(FetchAggregatedMultiversxAuditDocument, baseOptions);
|
|
1987
|
+
}
|
|
1988
|
+
export function useFetchAggregatedMultiversxAuditLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAggregatedMultiversxAuditQuery, IFetchAggregatedMultiversxAuditQueryVariables>) {
|
|
1989
|
+
return Apollo.useLazyQuery<IFetchAggregatedMultiversxAuditQuery, IFetchAggregatedMultiversxAuditQueryVariables>(FetchAggregatedMultiversxAuditDocument, baseOptions);
|
|
1990
|
+
}
|
|
1991
|
+
export type FetchAggregatedMultiversxAuditQueryHookResult = ReturnType<typeof useFetchAggregatedMultiversxAuditQuery>;
|
|
1992
|
+
export type FetchAggregatedMultiversxAuditLazyQueryHookResult = ReturnType<typeof useFetchAggregatedMultiversxAuditLazyQuery>;
|
|
1993
|
+
export type FetchAggregatedMultiversxAuditQueryResult = Apollo.QueryResult<IFetchAggregatedMultiversxAuditQuery, IFetchAggregatedMultiversxAuditQueryVariables>;
|
|
1866
1994
|
export const FetchMultiversXAuditDocument = gql`
|
|
1867
1995
|
query FetchMultiversXAudit($wallet: String!) {
|
|
1868
1996
|
fetchMultiversxAudit(wallet: $wallet) {
|
|
@@ -1958,6 +2086,9 @@ export const FetchMyProfileV2Document = gql`
|
|
|
1958
2086
|
usedAt
|
|
1959
2087
|
}
|
|
1960
2088
|
}
|
|
2089
|
+
referralTypeId
|
|
2090
|
+
referralTypeName
|
|
2091
|
+
referralTypeColor
|
|
1961
2092
|
}
|
|
1962
2093
|
}
|
|
1963
2094
|
`;
|
|
@@ -2017,6 +2148,9 @@ export const FetchProfileDocument = gql`
|
|
|
2017
2148
|
blockchain
|
|
2018
2149
|
chainId
|
|
2019
2150
|
}
|
|
2151
|
+
referralTypeId
|
|
2152
|
+
referralTypeName
|
|
2153
|
+
referralTypeColor
|
|
2020
2154
|
}
|
|
2021
2155
|
}
|
|
2022
2156
|
`;
|
|
@@ -535,13 +535,6 @@ export type ICreateOpportunityMutationVariables = Exact<{
|
|
|
535
535
|
|
|
536
536
|
export type ICreateOpportunityMutation = Pick<IMutation, 'createOpportunity'>;
|
|
537
537
|
|
|
538
|
-
export type IHideOpportunityMutationVariables = Exact<{
|
|
539
|
-
opportunityId: Scalars['ID'];
|
|
540
|
-
}>;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
export type IHideOpportunityMutation = Pick<IMutation, 'hideOpportunity'>;
|
|
544
|
-
|
|
545
538
|
export type IOpenOpportunityMutationVariables = Exact<{
|
|
546
539
|
opportunityId: Scalars['ID'];
|
|
547
540
|
}>;
|
|
@@ -659,36 +652,6 @@ export function useCreateOpportunityMutation(baseOptions?: Apollo.MutationHookOp
|
|
|
659
652
|
export type CreateOpportunityMutationHookResult = ReturnType<typeof useCreateOpportunityMutation>;
|
|
660
653
|
export type CreateOpportunityMutationResult = Apollo.MutationResult<ICreateOpportunityMutation>;
|
|
661
654
|
export type CreateOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateOpportunityMutation, ICreateOpportunityMutationVariables>;
|
|
662
|
-
export const HideOpportunityDocument = gql`
|
|
663
|
-
mutation HideOpportunity($opportunityId: ID!) {
|
|
664
|
-
hideOpportunity(opportunityId: $opportunityId)
|
|
665
|
-
}
|
|
666
|
-
`;
|
|
667
|
-
export type IHideOpportunityMutationFn = Apollo.MutationFunction<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* __useHideOpportunityMutation__
|
|
671
|
-
*
|
|
672
|
-
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
673
|
-
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
674
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
675
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
676
|
-
*
|
|
677
|
-
* @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;
|
|
678
|
-
*
|
|
679
|
-
* @example
|
|
680
|
-
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
681
|
-
* variables: {
|
|
682
|
-
* opportunityId: // value for 'opportunityId'
|
|
683
|
-
* },
|
|
684
|
-
* });
|
|
685
|
-
*/
|
|
686
|
-
export function useHideOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>) {
|
|
687
|
-
return Apollo.useMutation<IHideOpportunityMutation, IHideOpportunityMutationVariables>(HideOpportunityDocument, baseOptions);
|
|
688
|
-
}
|
|
689
|
-
export type HideOpportunityMutationHookResult = ReturnType<typeof useHideOpportunityMutation>;
|
|
690
|
-
export type HideOpportunityMutationResult = Apollo.MutationResult<IHideOpportunityMutation>;
|
|
691
|
-
export type HideOpportunityMutationOptions = Apollo.BaseMutationOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
692
655
|
export const OpenOpportunityDocument = gql`
|
|
693
656
|
mutation OpenOpportunity($opportunityId: ID!) {
|
|
694
657
|
openOpportunity(opportunityId: $opportunityId)
|
|
@@ -255,6 +255,8 @@ export type IProfile = {
|
|
|
255
255
|
visible?: Maybe<Scalars['Boolean']>;
|
|
256
256
|
views?: Maybe<Scalars['Int']>;
|
|
257
257
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
258
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
259
|
+
referralTypeColor?: Maybe<Scalars['String']>;
|
|
258
260
|
};
|
|
259
261
|
|
|
260
262
|
export type IProfilePage = {
|
|
@@ -745,6 +747,8 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
745
747
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
746
748
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
747
749
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
750
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
751
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
748
752
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
749
753
|
};
|
|
750
754
|
|