@ludo.ninja/api 3.2.17 → 3.2.19
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 +62 -0
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +9 -0
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +9 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +133 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +92 -4
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +46 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +33 -2
- package/build/index.d.ts +31 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +70 -0
- package/src/graphql_tools/__generated__/assetsHost/schema.ts +15 -0
- package/src/graphql_tools/__generated__/authHost/schema.ts +15 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +172 -2
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +58 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -25,6 +25,8 @@ export type Scalars = {
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
|
|
28
30
|
export type IAuditBalanceCollection = {
|
|
29
31
|
collection?: Maybe<Scalars['String']>;
|
|
30
32
|
type?: Maybe<Scalars['String']>;
|
|
@@ -176,8 +178,11 @@ export type IMultiversxAudit = {
|
|
|
176
178
|
export type IMutation = {
|
|
177
179
|
setDummy: Scalars['String'];
|
|
178
180
|
createNonce: Scalars['String'];
|
|
181
|
+
createAdminNonce: INonce;
|
|
179
182
|
createTonNonce: Scalars['String'];
|
|
180
183
|
createEvmNonce: Scalars['String'];
|
|
184
|
+
createMfaSecret: Scalars['String'];
|
|
185
|
+
verifyMfaSecret: Scalars['Boolean'];
|
|
181
186
|
signInAdminMetamask: IIdentity;
|
|
182
187
|
signInMetamask: IIdentity;
|
|
183
188
|
signInTezos: IIdentity;
|
|
@@ -211,10 +216,23 @@ export type IMutationCreateNonceArgs = {
|
|
|
211
216
|
};
|
|
212
217
|
|
|
213
218
|
|
|
219
|
+
export type IMutationCreateAdminNonceArgs = {
|
|
220
|
+
address: Scalars['String'];
|
|
221
|
+
blockchain: Scalars['String'];
|
|
222
|
+
chainId?: Maybe<Scalars['String']>;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
export type IMutationVerifyMfaSecretArgs = {
|
|
227
|
+
mfaCode: Scalars['String'];
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
|
|
214
231
|
export type IMutationSignInAdminMetamaskArgs = {
|
|
215
232
|
signature: Scalars['String'];
|
|
216
233
|
address: Scalars['String'];
|
|
217
234
|
chainId: Scalars['String'];
|
|
235
|
+
mfaCode?: Maybe<Scalars['String']>;
|
|
218
236
|
};
|
|
219
237
|
|
|
220
238
|
|
|
@@ -391,6 +409,11 @@ export type IMyProfileV2 = {
|
|
|
391
409
|
shareLink?: Maybe<Scalars['String']>;
|
|
392
410
|
};
|
|
393
411
|
|
|
412
|
+
export type INonce = {
|
|
413
|
+
nonce: Scalars['String'];
|
|
414
|
+
mfaEnabled: Scalars['Boolean'];
|
|
415
|
+
};
|
|
416
|
+
|
|
394
417
|
export type IProfile = {
|
|
395
418
|
userId: Scalars['ID'];
|
|
396
419
|
username?: Maybe<Scalars['String']>;
|
|
@@ -644,6 +667,7 @@ export type IResolversTypes = {
|
|
|
644
667
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
645
668
|
Mutation: ResolverTypeWrapper<{}>;
|
|
646
669
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
670
|
+
Nonce: ResolverTypeWrapper<INonce>;
|
|
647
671
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
648
672
|
Proof: IProof;
|
|
649
673
|
Query: ResolverTypeWrapper<{}>;
|
|
@@ -682,6 +706,7 @@ export type IResolversParentTypes = {
|
|
|
682
706
|
MultiversxAudit: IMultiversxAudit;
|
|
683
707
|
Mutation: {};
|
|
684
708
|
MyProfileV2: IMyProfileV2;
|
|
709
|
+
Nonce: INonce;
|
|
685
710
|
Profile: IProfile;
|
|
686
711
|
Proof: IProof;
|
|
687
712
|
Query: {};
|
|
@@ -721,6 +746,17 @@ export type IConnectionDirectiveArgs = {
|
|
|
721
746
|
|
|
722
747
|
export type IConnectionDirectiveResolver<Result, Parent, ContextType = any, Args = IConnectionDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
723
748
|
|
|
749
|
+
export type IDeferDirectiveArgs = {
|
|
750
|
+
if?: Scalars['Boolean'];
|
|
751
|
+
label?: Maybe<Scalars['String']>;
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
755
|
+
|
|
756
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
757
|
+
|
|
758
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
759
|
+
|
|
724
760
|
export type IOneOfDirectiveArgs = { };
|
|
725
761
|
|
|
726
762
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -821,8 +857,11 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
821
857
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
822
858
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
823
859
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
860
|
+
createAdminNonce?: Resolver<IResolversTypes['Nonce'], ParentType, ContextType, RequireFields<IMutationCreateAdminNonceArgs, 'address' | 'blockchain'>>;
|
|
824
861
|
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
825
862
|
createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
863
|
+
createMfaSecret?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
864
|
+
verifyMfaSecret?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationVerifyMfaSecretArgs, 'mfaCode'>>;
|
|
826
865
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
827
866
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
828
867
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
@@ -880,6 +919,12 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
880
919
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
881
920
|
};
|
|
882
921
|
|
|
922
|
+
export type INonceResolvers<ContextType = any, ParentType extends IResolversParentTypes['Nonce'] = IResolversParentTypes['Nonce']> = {
|
|
923
|
+
nonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
924
|
+
mfaEnabled?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
925
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
926
|
+
};
|
|
927
|
+
|
|
883
928
|
export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
|
|
884
929
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
885
930
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -979,6 +1024,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
979
1024
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
980
1025
|
Mutation?: IMutationResolvers<ContextType>;
|
|
981
1026
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
1027
|
+
Nonce?: INonceResolvers<ContextType>;
|
|
982
1028
|
Profile?: IProfileResolvers<ContextType>;
|
|
983
1029
|
Query?: IQueryResolvers<ContextType>;
|
|
984
1030
|
Social?: ISocialResolvers<ContextType>;
|
|
@@ -993,6 +1039,8 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
993
1039
|
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
994
1040
|
Size?: ISizeDirectiveResolver<any, any, ContextType>;
|
|
995
1041
|
connection?: IConnectionDirectiveResolver<any, any, ContextType>;
|
|
1042
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
1043
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
996
1044
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
997
1045
|
};
|
|
998
1046
|
|
|
@@ -1057,11 +1105,25 @@ export type IAddWalletTonMutationVariables = Exact<{
|
|
|
1057
1105
|
|
|
1058
1106
|
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
1059
1107
|
|
|
1108
|
+
export type ICreateAdminNonceMutationVariables = Exact<{
|
|
1109
|
+
address: Scalars['String'];
|
|
1110
|
+
blockchain: Scalars['String'];
|
|
1111
|
+
chainId?: Maybe<Scalars['String']>;
|
|
1112
|
+
}>;
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
export type ICreateAdminNonceMutation = { createAdminNonce: Pick<INonce, 'nonce' | 'mfaEnabled'> };
|
|
1116
|
+
|
|
1060
1117
|
export type ICreateEvmNonceMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1061
1118
|
|
|
1062
1119
|
|
|
1063
1120
|
export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
|
|
1064
1121
|
|
|
1122
|
+
export type ICreateMfaSecretMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
export type ICreateMfaSecretMutation = Pick<IMutation, 'createMfaSecret'>;
|
|
1126
|
+
|
|
1065
1127
|
export type ICreateNonceMutationVariables = Exact<{
|
|
1066
1128
|
address: Scalars['String'];
|
|
1067
1129
|
blockchain: Scalars['String'];
|
|
@@ -1120,6 +1182,7 @@ export type ISignInAdminMetamaskMutationVariables = Exact<{
|
|
|
1120
1182
|
signature: Scalars['String'];
|
|
1121
1183
|
address: Scalars['String'];
|
|
1122
1184
|
chainId: Scalars['String'];
|
|
1185
|
+
mfaCode: Scalars['String'];
|
|
1123
1186
|
}>;
|
|
1124
1187
|
|
|
1125
1188
|
|
|
@@ -1222,6 +1285,13 @@ export type IUpdateProfileMutationVariables = Exact<{
|
|
|
1222
1285
|
|
|
1223
1286
|
export type IUpdateProfileMutation = Pick<IMutation, 'updateProfile'>;
|
|
1224
1287
|
|
|
1288
|
+
export type IVerifyMfaSecretMutationVariables = Exact<{
|
|
1289
|
+
mfaCode: Scalars['String'];
|
|
1290
|
+
}>;
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
export type IVerifyMfaSecretMutation = Pick<IMutation, 'verifyMfaSecret'>;
|
|
1294
|
+
|
|
1225
1295
|
export type IFetchAggregatedMultiversxAuditQueryVariables = Exact<{
|
|
1226
1296
|
userId: Scalars['ID'];
|
|
1227
1297
|
}>;
|
|
@@ -1528,6 +1598,41 @@ export function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions
|
|
|
1528
1598
|
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1529
1599
|
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1530
1600
|
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1601
|
+
export const CreateAdminNonceDocument = gql`
|
|
1602
|
+
mutation CreateAdminNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1603
|
+
createAdminNonce(address: $address, blockchain: $blockchain, chainId: $chainId) {
|
|
1604
|
+
nonce
|
|
1605
|
+
mfaEnabled
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
`;
|
|
1609
|
+
export type ICreateAdminNonceMutationFn = Apollo.MutationFunction<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* __useCreateAdminNonceMutation__
|
|
1613
|
+
*
|
|
1614
|
+
* To run a mutation, you first call `useCreateAdminNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1615
|
+
* When your component renders, `useCreateAdminNonceMutation` returns a tuple that includes:
|
|
1616
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1617
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1618
|
+
*
|
|
1619
|
+
* @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;
|
|
1620
|
+
*
|
|
1621
|
+
* @example
|
|
1622
|
+
* const [createAdminNonceMutation, { data, loading, error }] = useCreateAdminNonceMutation({
|
|
1623
|
+
* variables: {
|
|
1624
|
+
* address: // value for 'address'
|
|
1625
|
+
* blockchain: // value for 'blockchain'
|
|
1626
|
+
* chainId: // value for 'chainId'
|
|
1627
|
+
* },
|
|
1628
|
+
* });
|
|
1629
|
+
*/
|
|
1630
|
+
export function useCreateAdminNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>) {
|
|
1631
|
+
return Apollo.useMutation<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>(CreateAdminNonceDocument, baseOptions);
|
|
1632
|
+
}
|
|
1633
|
+
export type CreateAdminNonceMutationHookResult = ReturnType<typeof useCreateAdminNonceMutation>;
|
|
1634
|
+
export type CreateAdminNonceMutationResult = Apollo.MutationResult<ICreateAdminNonceMutation>;
|
|
1635
|
+
export type CreateAdminNonceMutationOptions = Apollo.BaseMutationOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
|
|
1531
1636
|
export const CreateEvmNonceDocument = gql`
|
|
1532
1637
|
mutation CreateEvmNonce {
|
|
1533
1638
|
createEvmNonce
|
|
@@ -1557,6 +1662,35 @@ export function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
1557
1662
|
export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
|
|
1558
1663
|
export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
|
|
1559
1664
|
export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1665
|
+
export const CreateMfaSecretDocument = gql`
|
|
1666
|
+
mutation CreateMfaSecret {
|
|
1667
|
+
createMfaSecret
|
|
1668
|
+
}
|
|
1669
|
+
`;
|
|
1670
|
+
export type ICreateMfaSecretMutationFn = Apollo.MutationFunction<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* __useCreateMfaSecretMutation__
|
|
1674
|
+
*
|
|
1675
|
+
* To run a mutation, you first call `useCreateMfaSecretMutation` within a React component and pass it any options that fit your needs.
|
|
1676
|
+
* When your component renders, `useCreateMfaSecretMutation` returns a tuple that includes:
|
|
1677
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1678
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1679
|
+
*
|
|
1680
|
+
* @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;
|
|
1681
|
+
*
|
|
1682
|
+
* @example
|
|
1683
|
+
* const [createMfaSecretMutation, { data, loading, error }] = useCreateMfaSecretMutation({
|
|
1684
|
+
* variables: {
|
|
1685
|
+
* },
|
|
1686
|
+
* });
|
|
1687
|
+
*/
|
|
1688
|
+
export function useCreateMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>) {
|
|
1689
|
+
return Apollo.useMutation<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>(CreateMfaSecretDocument, baseOptions);
|
|
1690
|
+
}
|
|
1691
|
+
export type CreateMfaSecretMutationHookResult = ReturnType<typeof useCreateMfaSecretMutation>;
|
|
1692
|
+
export type CreateMfaSecretMutationResult = Apollo.MutationResult<ICreateMfaSecretMutation>;
|
|
1693
|
+
export type CreateMfaSecretMutationOptions = Apollo.BaseMutationOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
|
|
1560
1694
|
export const CreateNonceDocument = gql`
|
|
1561
1695
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1562
1696
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -1779,8 +1913,13 @@ export type SetMainWalletMutationHookResult = ReturnType<typeof useSetMainWallet
|
|
|
1779
1913
|
export type SetMainWalletMutationResult = Apollo.MutationResult<ISetMainWalletMutation>;
|
|
1780
1914
|
export type SetMainWalletMutationOptions = Apollo.BaseMutationOptions<ISetMainWalletMutation, ISetMainWalletMutationVariables>;
|
|
1781
1915
|
export const SignInAdminMetamaskDocument = gql`
|
|
1782
|
-
mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
1783
|
-
signInAdminMetamask(
|
|
1916
|
+
mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!, $mfaCode: String!) {
|
|
1917
|
+
signInAdminMetamask(
|
|
1918
|
+
signature: $signature
|
|
1919
|
+
address: $address
|
|
1920
|
+
chainId: $chainId
|
|
1921
|
+
mfaCode: $mfaCode
|
|
1922
|
+
) {
|
|
1784
1923
|
userId
|
|
1785
1924
|
wallets
|
|
1786
1925
|
tokens {
|
|
@@ -1820,6 +1959,7 @@ export type ISignInAdminMetamaskMutationFn = Apollo.MutationFunction<ISignInAdmi
|
|
|
1820
1959
|
* signature: // value for 'signature'
|
|
1821
1960
|
* address: // value for 'address'
|
|
1822
1961
|
* chainId: // value for 'chainId'
|
|
1962
|
+
* mfaCode: // value for 'mfaCode'
|
|
1823
1963
|
* },
|
|
1824
1964
|
* });
|
|
1825
1965
|
*/
|
|
@@ -2208,6 +2348,36 @@ export function useUpdateProfileMutation(baseOptions?: Apollo.MutationHookOption
|
|
|
2208
2348
|
export type UpdateProfileMutationHookResult = ReturnType<typeof useUpdateProfileMutation>;
|
|
2209
2349
|
export type UpdateProfileMutationResult = Apollo.MutationResult<IUpdateProfileMutation>;
|
|
2210
2350
|
export type UpdateProfileMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
|
|
2351
|
+
export const VerifyMfaSecretDocument = gql`
|
|
2352
|
+
mutation VerifyMfaSecret($mfaCode: String!) {
|
|
2353
|
+
verifyMfaSecret(mfaCode: $mfaCode)
|
|
2354
|
+
}
|
|
2355
|
+
`;
|
|
2356
|
+
export type IVerifyMfaSecretMutationFn = Apollo.MutationFunction<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* __useVerifyMfaSecretMutation__
|
|
2360
|
+
*
|
|
2361
|
+
* To run a mutation, you first call `useVerifyMfaSecretMutation` within a React component and pass it any options that fit your needs.
|
|
2362
|
+
* When your component renders, `useVerifyMfaSecretMutation` returns a tuple that includes:
|
|
2363
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2364
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2365
|
+
*
|
|
2366
|
+
* @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;
|
|
2367
|
+
*
|
|
2368
|
+
* @example
|
|
2369
|
+
* const [verifyMfaSecretMutation, { data, loading, error }] = useVerifyMfaSecretMutation({
|
|
2370
|
+
* variables: {
|
|
2371
|
+
* mfaCode: // value for 'mfaCode'
|
|
2372
|
+
* },
|
|
2373
|
+
* });
|
|
2374
|
+
*/
|
|
2375
|
+
export function useVerifyMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>) {
|
|
2376
|
+
return Apollo.useMutation<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>(VerifyMfaSecretDocument, baseOptions);
|
|
2377
|
+
}
|
|
2378
|
+
export type VerifyMfaSecretMutationHookResult = ReturnType<typeof useVerifyMfaSecretMutation>;
|
|
2379
|
+
export type VerifyMfaSecretMutationResult = Apollo.MutationResult<IVerifyMfaSecretMutation>;
|
|
2380
|
+
export type VerifyMfaSecretMutationOptions = Apollo.BaseMutationOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
|
|
2211
2381
|
export const FetchAggregatedMultiversxAuditDocument = gql`
|
|
2212
2382
|
query FetchAggregatedMultiversxAudit($userId: ID!) {
|
|
2213
2383
|
fetchAggregatedMultiversxAudit(userId: $userId) {
|
|
@@ -78,6 +78,11 @@ export type IHoldersGeolocation = {
|
|
|
78
78
|
percentage: Scalars['Float'];
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
export enum ILinkType {
|
|
82
|
+
Twitter = 'TWITTER',
|
|
83
|
+
Website = 'WEBSITE'
|
|
84
|
+
}
|
|
85
|
+
|
|
81
86
|
|
|
82
87
|
export type ILudoRankDifference = {
|
|
83
88
|
hourDifference?: Maybe<Scalars['Float']>;
|
|
@@ -125,6 +130,7 @@ export type IMutation = {
|
|
|
125
130
|
activateMonitoring: Scalars['Boolean'];
|
|
126
131
|
subscribeOnAlerts: Scalars['Boolean'];
|
|
127
132
|
reconsiderProjectStatus: Scalars['Boolean'];
|
|
133
|
+
clickOnProjectLink: Scalars['Boolean'];
|
|
128
134
|
};
|
|
129
135
|
|
|
130
136
|
|
|
@@ -236,6 +242,11 @@ export type IMutationReconsiderProjectStatusArgs = {
|
|
|
236
242
|
input: IProjectReconsiderationInput;
|
|
237
243
|
};
|
|
238
244
|
|
|
245
|
+
|
|
246
|
+
export type IMutationClickOnProjectLinkArgs = {
|
|
247
|
+
input: IProjectLinkClickInput;
|
|
248
|
+
};
|
|
249
|
+
|
|
239
250
|
export type IOpportunitiesPage = {
|
|
240
251
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
241
252
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -397,6 +408,12 @@ export type IProjectCommunityVote = {
|
|
|
397
408
|
dislikesRating?: Maybe<Scalars['Int']>;
|
|
398
409
|
};
|
|
399
410
|
|
|
411
|
+
export type IProjectLinkClickInput = {
|
|
412
|
+
blockchain: Scalars['String'];
|
|
413
|
+
contract: Scalars['String'];
|
|
414
|
+
linkType: ILinkType;
|
|
415
|
+
};
|
|
416
|
+
|
|
400
417
|
export type IProjectMonitoring = {
|
|
401
418
|
userId: Scalars['String'];
|
|
402
419
|
monitorsFree: Scalars['Int'];
|
|
@@ -642,6 +659,7 @@ export type IResolversTypes = {
|
|
|
642
659
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
643
660
|
HoldersGeolocation: ResolverTypeWrapper<IHoldersGeolocation>;
|
|
644
661
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
662
|
+
LinkType: ILinkType;
|
|
645
663
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
646
664
|
LudoRankDifference: ResolverTypeWrapper<ILudoRankDifference>;
|
|
647
665
|
Monitor: ResolverTypeWrapper<IMonitor>;
|
|
@@ -656,6 +674,7 @@ export type IResolversTypes = {
|
|
|
656
674
|
ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
|
|
657
675
|
Project: ResolverTypeWrapper<IProject>;
|
|
658
676
|
ProjectCommunityVote: ResolverTypeWrapper<IProjectCommunityVote>;
|
|
677
|
+
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
659
678
|
ProjectMonitoring: ResolverTypeWrapper<IProjectMonitoring>;
|
|
660
679
|
ProjectReactionInput: IProjectReactionInput;
|
|
661
680
|
ProjectReactions: ResolverTypeWrapper<IProjectReactions>;
|
|
@@ -699,6 +718,7 @@ export type IResolversParentTypes = {
|
|
|
699
718
|
ProfileOpportunities: IProfileOpportunities;
|
|
700
719
|
Project: IProject;
|
|
701
720
|
ProjectCommunityVote: IProjectCommunityVote;
|
|
721
|
+
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
702
722
|
ProjectMonitoring: IProjectMonitoring;
|
|
703
723
|
ProjectReactionInput: IProjectReactionInput;
|
|
704
724
|
ProjectReactions: IProjectReactions;
|
|
@@ -809,6 +829,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
809
829
|
activateMonitoring?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationActivateMonitoringArgs, 'input'>>;
|
|
810
830
|
subscribeOnAlerts?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubscribeOnAlertsArgs, 'input'>>;
|
|
811
831
|
reconsiderProjectStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReconsiderProjectStatusArgs, 'input'>>;
|
|
832
|
+
clickOnProjectLink?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationClickOnProjectLinkArgs, 'input'>>;
|
|
812
833
|
};
|
|
813
834
|
|
|
814
835
|
export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
|
|
@@ -1078,6 +1099,13 @@ export type IActivateMonitoringMutationVariables = Exact<{
|
|
|
1078
1099
|
|
|
1079
1100
|
export type IActivateMonitoringMutation = Pick<IMutation, 'activateMonitoring'>;
|
|
1080
1101
|
|
|
1102
|
+
export type IClickOnProjectLinkMutationVariables = Exact<{
|
|
1103
|
+
input: IProjectLinkClickInput;
|
|
1104
|
+
}>;
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
export type IClickOnProjectLinkMutation = Pick<IMutation, 'clickOnProjectLink'>;
|
|
1108
|
+
|
|
1081
1109
|
export type ICopyOpportunityShareLinkMutationVariables = Exact<{
|
|
1082
1110
|
opportunityId: Scalars['ID'];
|
|
1083
1111
|
}>;
|
|
@@ -1330,6 +1358,36 @@ export function useActivateMonitoringMutation(baseOptions?: Apollo.MutationHookO
|
|
|
1330
1358
|
export type ActivateMonitoringMutationHookResult = ReturnType<typeof useActivateMonitoringMutation>;
|
|
1331
1359
|
export type ActivateMonitoringMutationResult = Apollo.MutationResult<IActivateMonitoringMutation>;
|
|
1332
1360
|
export type ActivateMonitoringMutationOptions = Apollo.BaseMutationOptions<IActivateMonitoringMutation, IActivateMonitoringMutationVariables>;
|
|
1361
|
+
export const ClickOnProjectLinkDocument = gql`
|
|
1362
|
+
mutation ClickOnProjectLink($input: ProjectLinkClickInput!) {
|
|
1363
|
+
clickOnProjectLink(input: $input)
|
|
1364
|
+
}
|
|
1365
|
+
`;
|
|
1366
|
+
export type IClickOnProjectLinkMutationFn = Apollo.MutationFunction<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* __useClickOnProjectLinkMutation__
|
|
1370
|
+
*
|
|
1371
|
+
* To run a mutation, you first call `useClickOnProjectLinkMutation` within a React component and pass it any options that fit your needs.
|
|
1372
|
+
* When your component renders, `useClickOnProjectLinkMutation` returns a tuple that includes:
|
|
1373
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1374
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1375
|
+
*
|
|
1376
|
+
* @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;
|
|
1377
|
+
*
|
|
1378
|
+
* @example
|
|
1379
|
+
* const [clickOnProjectLinkMutation, { data, loading, error }] = useClickOnProjectLinkMutation({
|
|
1380
|
+
* variables: {
|
|
1381
|
+
* input: // value for 'input'
|
|
1382
|
+
* },
|
|
1383
|
+
* });
|
|
1384
|
+
*/
|
|
1385
|
+
export function useClickOnProjectLinkMutation(baseOptions?: Apollo.MutationHookOptions<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>) {
|
|
1386
|
+
return Apollo.useMutation<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>(ClickOnProjectLinkDocument, baseOptions);
|
|
1387
|
+
}
|
|
1388
|
+
export type ClickOnProjectLinkMutationHookResult = ReturnType<typeof useClickOnProjectLinkMutation>;
|
|
1389
|
+
export type ClickOnProjectLinkMutationResult = Apollo.MutationResult<IClickOnProjectLinkMutation>;
|
|
1390
|
+
export type ClickOnProjectLinkMutationOptions = Apollo.BaseMutationOptions<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>;
|
|
1333
1391
|
export const CopyOpportunityShareLinkDocument = gql`
|
|
1334
1392
|
mutation CopyOpportunityShareLink($opportunityId: ID!) {
|
|
1335
1393
|
copyOpportunityShareLink(opportunityId: $opportunityId)
|