@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
|
@@ -77,6 +77,10 @@ export type IHoldersGeolocation = {
|
|
|
77
77
|
holders: Scalars['Long'];
|
|
78
78
|
percentage: Scalars['Float'];
|
|
79
79
|
};
|
|
80
|
+
export declare enum ILinkType {
|
|
81
|
+
Twitter = "TWITTER",
|
|
82
|
+
Website = "WEBSITE"
|
|
83
|
+
}
|
|
80
84
|
export type ILudoRankDifference = {
|
|
81
85
|
hourDifference?: Maybe<Scalars['Float']>;
|
|
82
86
|
dayDifference?: Maybe<Scalars['Float']>;
|
|
@@ -119,6 +123,7 @@ export type IMutation = {
|
|
|
119
123
|
activateMonitoring: Scalars['Boolean'];
|
|
120
124
|
subscribeOnAlerts: Scalars['Boolean'];
|
|
121
125
|
reconsiderProjectStatus: Scalars['Boolean'];
|
|
126
|
+
clickOnProjectLink: Scalars['Boolean'];
|
|
122
127
|
};
|
|
123
128
|
export type IMutationCreateBrandArgs = {
|
|
124
129
|
input: IBrandInput;
|
|
@@ -189,6 +194,9 @@ export type IMutationSubscribeOnAlertsArgs = {
|
|
|
189
194
|
export type IMutationReconsiderProjectStatusArgs = {
|
|
190
195
|
input: IProjectReconsiderationInput;
|
|
191
196
|
};
|
|
197
|
+
export type IMutationClickOnProjectLinkArgs = {
|
|
198
|
+
input: IProjectLinkClickInput;
|
|
199
|
+
};
|
|
192
200
|
export type IOpportunitiesPage = {
|
|
193
201
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
194
202
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -342,6 +350,11 @@ export type IProjectCommunityVote = {
|
|
|
342
350
|
neutralsRating?: Maybe<Scalars['Int']>;
|
|
343
351
|
dislikesRating?: Maybe<Scalars['Int']>;
|
|
344
352
|
};
|
|
353
|
+
export type IProjectLinkClickInput = {
|
|
354
|
+
blockchain: Scalars['String'];
|
|
355
|
+
contract: Scalars['String'];
|
|
356
|
+
linkType: ILinkType;
|
|
357
|
+
};
|
|
345
358
|
export type IProjectMonitoring = {
|
|
346
359
|
userId: Scalars['String'];
|
|
347
360
|
monitorsFree: Scalars['Int'];
|
|
@@ -510,6 +523,7 @@ export type IResolversTypes = {
|
|
|
510
523
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
511
524
|
HoldersGeolocation: ResolverTypeWrapper<IHoldersGeolocation>;
|
|
512
525
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
526
|
+
LinkType: ILinkType;
|
|
513
527
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
514
528
|
LudoRankDifference: ResolverTypeWrapper<ILudoRankDifference>;
|
|
515
529
|
Monitor: ResolverTypeWrapper<IMonitor>;
|
|
@@ -524,6 +538,7 @@ export type IResolversTypes = {
|
|
|
524
538
|
ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
|
|
525
539
|
Project: ResolverTypeWrapper<IProject>;
|
|
526
540
|
ProjectCommunityVote: ResolverTypeWrapper<IProjectCommunityVote>;
|
|
541
|
+
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
527
542
|
ProjectMonitoring: ResolverTypeWrapper<IProjectMonitoring>;
|
|
528
543
|
ProjectReactionInput: IProjectReactionInput;
|
|
529
544
|
ProjectReactions: ResolverTypeWrapper<IProjectReactions>;
|
|
@@ -566,6 +581,7 @@ export type IResolversParentTypes = {
|
|
|
566
581
|
ProfileOpportunities: IProfileOpportunities;
|
|
567
582
|
Project: IProject;
|
|
568
583
|
ProjectCommunityVote: IProjectCommunityVote;
|
|
584
|
+
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
569
585
|
ProjectMonitoring: IProjectMonitoring;
|
|
570
586
|
ProjectReactionInput: IProjectReactionInput;
|
|
571
587
|
ProjectReactions: IProjectReactions;
|
|
@@ -665,6 +681,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
665
681
|
activateMonitoring?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationActivateMonitoringArgs, 'input'>>;
|
|
666
682
|
subscribeOnAlerts?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubscribeOnAlertsArgs, 'input'>>;
|
|
667
683
|
reconsiderProjectStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReconsiderProjectStatusArgs, 'input'>>;
|
|
684
|
+
clickOnProjectLink?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationClickOnProjectLinkArgs, 'input'>>;
|
|
668
685
|
};
|
|
669
686
|
export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
|
|
670
687
|
currentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['Opportunity']>>>, ParentType, ContextType>;
|
|
@@ -908,6 +925,10 @@ export type IActivateMonitoringMutationVariables = Exact<{
|
|
|
908
925
|
input: IMonitoringActivationInput;
|
|
909
926
|
}>;
|
|
910
927
|
export type IActivateMonitoringMutation = Pick<IMutation, 'activateMonitoring'>;
|
|
928
|
+
export type IClickOnProjectLinkMutationVariables = Exact<{
|
|
929
|
+
input: IProjectLinkClickInput;
|
|
930
|
+
}>;
|
|
931
|
+
export type IClickOnProjectLinkMutation = Pick<IMutation, 'clickOnProjectLink'>;
|
|
911
932
|
export type ICopyOpportunityShareLinkMutationVariables = Exact<{
|
|
912
933
|
opportunityId: Scalars['ID'];
|
|
913
934
|
}>;
|
|
@@ -1125,6 +1146,31 @@ export declare function useActivateMonitoringMutation(baseOptions?: Apollo.Mutat
|
|
|
1125
1146
|
export type ActivateMonitoringMutationHookResult = ReturnType<typeof useActivateMonitoringMutation>;
|
|
1126
1147
|
export type ActivateMonitoringMutationResult = Apollo.MutationResult<IActivateMonitoringMutation>;
|
|
1127
1148
|
export type ActivateMonitoringMutationOptions = Apollo.BaseMutationOptions<IActivateMonitoringMutation, IActivateMonitoringMutationVariables>;
|
|
1149
|
+
export declare const ClickOnProjectLinkDocument: Apollo.DocumentNode;
|
|
1150
|
+
export type IClickOnProjectLinkMutationFn = Apollo.MutationFunction<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>;
|
|
1151
|
+
/**
|
|
1152
|
+
* __useClickOnProjectLinkMutation__
|
|
1153
|
+
*
|
|
1154
|
+
* To run a mutation, you first call `useClickOnProjectLinkMutation` within a React component and pass it any options that fit your needs.
|
|
1155
|
+
* When your component renders, `useClickOnProjectLinkMutation` returns a tuple that includes:
|
|
1156
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1157
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1158
|
+
*
|
|
1159
|
+
* @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;
|
|
1160
|
+
*
|
|
1161
|
+
* @example
|
|
1162
|
+
* const [clickOnProjectLinkMutation, { data, loading, error }] = useClickOnProjectLinkMutation({
|
|
1163
|
+
* variables: {
|
|
1164
|
+
* input: // value for 'input'
|
|
1165
|
+
* },
|
|
1166
|
+
* });
|
|
1167
|
+
*/
|
|
1168
|
+
export declare function useClickOnProjectLinkMutation(baseOptions?: Apollo.MutationHookOptions<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>): Apollo.MutationTuple<IClickOnProjectLinkMutation, Exact<{
|
|
1169
|
+
input: IProjectLinkClickInput;
|
|
1170
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1171
|
+
export type ClickOnProjectLinkMutationHookResult = ReturnType<typeof useClickOnProjectLinkMutation>;
|
|
1172
|
+
export type ClickOnProjectLinkMutationResult = Apollo.MutationResult<IClickOnProjectLinkMutation>;
|
|
1173
|
+
export type ClickOnProjectLinkMutationOptions = Apollo.BaseMutationOptions<IClickOnProjectLinkMutation, IClickOnProjectLinkMutationVariables>;
|
|
1128
1174
|
export declare const CopyOpportunityShareLinkDocument: Apollo.DocumentNode;
|
|
1129
1175
|
export type ICopyOpportunityShareLinkMutationFn = Apollo.MutationFunction<ICopyOpportunityShareLinkMutation, ICopyOpportunityShareLinkMutationVariables>;
|
|
1130
1176
|
/**
|
|
@@ -23,10 +23,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useFetchProjectMonitoringLazyQuery = exports.useFetchProjectMonitoringQuery = exports.FetchProjectMonitoringDocument = exports.useFetchProjectBySlugLazyQuery = exports.useFetchProjectBySlugQuery = exports.FetchProjectBySlugDocument = exports.useFetchProjectLazyQuery = exports.useFetchProjectQuery = exports.FetchProjectDocument = exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = void 0;
|
|
26
|
+
exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchMonitorsCounterLazyQuery = exports.useFetchMonitorsCounterQuery = exports.FetchMonitorsCounterDocument = exports.useFetchBrandBySlugLazyQuery = exports.useFetchBrandBySlugQuery = exports.FetchBrandBySlugDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useFetchAirdropRegistrationsCsvLazyQuery = exports.useFetchAirdropRegistrationsCsvQuery = exports.FetchAirdropRegistrationsCsvDocument = exports.useRegisterNewProjectMutation = exports.RegisterNewProjectDocument = exports.useRegisterForAirdrop2Mutation = exports.RegisterForAirdrop2Document = exports.useRegisterForAirdropMutation = exports.RegisterForAirdropDocument = exports.useReconsiderProjectStatusMutation = exports.ReconsiderProjectStatusDocument = exports.useReactOnProjectMutation = exports.ReactOnProjectDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useCopyOpportunityShareLinkMutation = exports.CopyOpportunityShareLinkDocument = exports.useClickOnProjectLinkMutation = exports.ClickOnProjectLinkDocument = exports.useActivateMonitoringMutation = exports.ActivateMonitoringDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = exports.IVoteType = exports.IReactionType = exports.IProjectRegistrationStatus = exports.IOpportunityType = exports.ILinkType = void 0;
|
|
27
|
+
exports.useFetchProjectMonitoringLazyQuery = exports.useFetchProjectMonitoringQuery = exports.FetchProjectMonitoringDocument = exports.useFetchProjectBySlugLazyQuery = exports.useFetchProjectBySlugQuery = exports.FetchProjectBySlugDocument = exports.useFetchProjectLazyQuery = exports.useFetchProjectQuery = exports.FetchProjectDocument = exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityBySlugLazyQuery = exports.useFetchOpportunityBySlugQuery = exports.FetchOpportunityBySlugDocument = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
|
+
var ILinkType;
|
|
31
|
+
(function (ILinkType) {
|
|
32
|
+
ILinkType["Twitter"] = "TWITTER";
|
|
33
|
+
ILinkType["Website"] = "WEBSITE";
|
|
34
|
+
})(ILinkType || (exports.ILinkType = ILinkType = {}));
|
|
30
35
|
var IOpportunityType;
|
|
31
36
|
(function (IOpportunityType) {
|
|
32
37
|
IOpportunityType["TokenAirdrop"] = "TOKEN_AIRDROP";
|
|
@@ -130,6 +135,32 @@ function useActivateMonitoringMutation(baseOptions) {
|
|
|
130
135
|
return Apollo.useMutation(exports.ActivateMonitoringDocument, baseOptions);
|
|
131
136
|
}
|
|
132
137
|
exports.useActivateMonitoringMutation = useActivateMonitoringMutation;
|
|
138
|
+
exports.ClickOnProjectLinkDocument = (0, client_1.gql) `
|
|
139
|
+
mutation ClickOnProjectLink($input: ProjectLinkClickInput!) {
|
|
140
|
+
clickOnProjectLink(input: $input)
|
|
141
|
+
}
|
|
142
|
+
`;
|
|
143
|
+
/**
|
|
144
|
+
* __useClickOnProjectLinkMutation__
|
|
145
|
+
*
|
|
146
|
+
* To run a mutation, you first call `useClickOnProjectLinkMutation` within a React component and pass it any options that fit your needs.
|
|
147
|
+
* When your component renders, `useClickOnProjectLinkMutation` returns a tuple that includes:
|
|
148
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
149
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
150
|
+
*
|
|
151
|
+
* @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;
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* const [clickOnProjectLinkMutation, { data, loading, error }] = useClickOnProjectLinkMutation({
|
|
155
|
+
* variables: {
|
|
156
|
+
* input: // value for 'input'
|
|
157
|
+
* },
|
|
158
|
+
* });
|
|
159
|
+
*/
|
|
160
|
+
function useClickOnProjectLinkMutation(baseOptions) {
|
|
161
|
+
return Apollo.useMutation(exports.ClickOnProjectLinkDocument, baseOptions);
|
|
162
|
+
}
|
|
163
|
+
exports.useClickOnProjectLinkMutation = useClickOnProjectLinkMutation;
|
|
133
164
|
exports.CopyOpportunityShareLinkDocument = (0, client_1.gql) `
|
|
134
165
|
mutation CopyOpportunityShareLink($opportunityId: ID!) {
|
|
135
166
|
copyOpportunityShareLink(opportunityId: $opportunityId)
|
package/build/index.d.ts
CHANGED
|
@@ -755,6 +755,11 @@ declare const schema: {
|
|
|
755
755
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IActivateMonitoringMutation, opportunitiesSchema.Exact<{
|
|
756
756
|
input: opportunitiesSchema.IMonitoringActivationInput;
|
|
757
757
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
758
|
+
useClickOnProjectLinkMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IClickOnProjectLinkMutation, opportunitiesSchema.Exact<{
|
|
759
|
+
input: opportunitiesSchema.IProjectLinkClickInput;
|
|
760
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IClickOnProjectLinkMutation, opportunitiesSchema.Exact<{
|
|
761
|
+
input: opportunitiesSchema.IProjectLinkClickInput;
|
|
762
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
758
763
|
useCopyOpportunityShareLinkMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.ICopyOpportunityShareLinkMutation, opportunitiesSchema.Exact<{
|
|
759
764
|
opportunityId: string;
|
|
760
765
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.ICopyOpportunityShareLinkMutation, opportunitiesSchema.Exact<{
|
|
@@ -907,12 +912,14 @@ declare const schema: {
|
|
|
907
912
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchProjectMonitoringQuery, opportunitiesSchema.Exact<{
|
|
908
913
|
[key: string]: never;
|
|
909
914
|
}>>;
|
|
915
|
+
ILinkType: typeof opportunitiesSchema.ILinkType;
|
|
910
916
|
IProjectRegistrationStatus: typeof opportunitiesSchema.IProjectRegistrationStatus;
|
|
911
917
|
IReactionType: typeof opportunitiesSchema.IReactionType;
|
|
912
918
|
IVoteType: typeof opportunitiesSchema.IVoteType;
|
|
913
919
|
DislikeOpportunityDocument: import("graphql").DocumentNode;
|
|
914
920
|
LikeOpportunityDocument: import("graphql").DocumentNode;
|
|
915
921
|
ActivateMonitoringDocument: import("graphql").DocumentNode;
|
|
922
|
+
ClickOnProjectLinkDocument: import("graphql").DocumentNode;
|
|
916
923
|
CopyOpportunityShareLinkDocument: import("graphql").DocumentNode;
|
|
917
924
|
CreateOpportunityDocument: import("graphql").DocumentNode;
|
|
918
925
|
OpenOpportunityDocument: import("graphql").DocumentNode;
|
|
@@ -1009,11 +1016,25 @@ declare const schema: {
|
|
|
1009
1016
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
1010
1017
|
request: identitySchema.ICheckTonProofRequest;
|
|
1011
1018
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1019
|
+
useCreateAdminNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateAdminNonceMutation, identitySchema.Exact<{
|
|
1020
|
+
address: string;
|
|
1021
|
+
blockchain: string;
|
|
1022
|
+
chainId?: identitySchema.Maybe<string> | undefined;
|
|
1023
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateAdminNonceMutation, identitySchema.Exact<{
|
|
1024
|
+
address: string;
|
|
1025
|
+
blockchain: string;
|
|
1026
|
+
chainId?: identitySchema.Maybe<string> | undefined;
|
|
1027
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1012
1028
|
useCreateEvmNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
1013
1029
|
[key: string]: never;
|
|
1014
1030
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
1015
1031
|
[key: string]: never;
|
|
1016
1032
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1033
|
+
useCreateMfaSecretMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateMfaSecretMutation, identitySchema.Exact<{
|
|
1034
|
+
[key: string]: never;
|
|
1035
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateMfaSecretMutation, identitySchema.Exact<{
|
|
1036
|
+
[key: string]: never;
|
|
1037
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1017
1038
|
useCreateNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateNonceMutation, identitySchema.Exact<{
|
|
1018
1039
|
address: string;
|
|
1019
1040
|
blockchain: string;
|
|
@@ -1067,10 +1088,12 @@ declare const schema: {
|
|
|
1067
1088
|
signature: string;
|
|
1068
1089
|
address: string;
|
|
1069
1090
|
chainId: string;
|
|
1091
|
+
mfaCode: string;
|
|
1070
1092
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ISignInAdminMetamaskMutation, identitySchema.Exact<{
|
|
1071
1093
|
signature: string;
|
|
1072
1094
|
address: string;
|
|
1073
1095
|
chainId: string;
|
|
1096
|
+
mfaCode: string;
|
|
1074
1097
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1075
1098
|
useSignInElrondMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ISignInElrondMutation, identitySchema.Exact<{
|
|
1076
1099
|
signature: string;
|
|
@@ -1161,6 +1184,11 @@ declare const schema: {
|
|
|
1161
1184
|
discordServer?: identitySchema.Maybe<string> | undefined;
|
|
1162
1185
|
telegramLink?: identitySchema.Maybe<string> | undefined;
|
|
1163
1186
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1187
|
+
useVerifyMfaSecretMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IVerifyMfaSecretMutation, identitySchema.Exact<{
|
|
1188
|
+
mfaCode: string;
|
|
1189
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IVerifyMfaSecretMutation, identitySchema.Exact<{
|
|
1190
|
+
mfaCode: string;
|
|
1191
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1164
1192
|
useFetchAggregatedMultiversxAuditQuery(baseOptions: import("@apollo/client").QueryHookOptions<identitySchema.IFetchAggregatedMultiversxAuditQuery, identitySchema.Exact<{
|
|
1165
1193
|
userId: string;
|
|
1166
1194
|
}>>): import("@apollo/client").QueryResult<identitySchema.IFetchAggregatedMultiversxAuditQuery, identitySchema.Exact<{
|
|
@@ -1235,7 +1263,9 @@ declare const schema: {
|
|
|
1235
1263
|
AddWalletSolanaDocument: import("graphql").DocumentNode;
|
|
1236
1264
|
AddWalletTezosDocument: import("graphql").DocumentNode;
|
|
1237
1265
|
AddWalletTonDocument: import("graphql").DocumentNode;
|
|
1266
|
+
CreateAdminNonceDocument: import("graphql").DocumentNode;
|
|
1238
1267
|
CreateEvmNonceDocument: import("graphql").DocumentNode;
|
|
1268
|
+
CreateMfaSecretDocument: import("graphql").DocumentNode;
|
|
1239
1269
|
CreateNonceDocument: import("graphql").DocumentNode;
|
|
1240
1270
|
CreateTonNonceDocument: import("graphql").DocumentNode;
|
|
1241
1271
|
GenerateNewInviteCodesDocument: import("graphql").DocumentNode;
|
|
@@ -1251,6 +1281,7 @@ declare const schema: {
|
|
|
1251
1281
|
SignInTezosDocument: import("graphql").DocumentNode;
|
|
1252
1282
|
SignInTonDocument: import("graphql").DocumentNode;
|
|
1253
1283
|
UpdateProfileDocument: import("graphql").DocumentNode;
|
|
1284
|
+
VerifyMfaSecretDocument: import("graphql").DocumentNode;
|
|
1254
1285
|
FetchAggregatedMultiversxAuditDocument: import("graphql").DocumentNode;
|
|
1255
1286
|
FetchMultiversXAuditDocument: import("graphql").DocumentNode;
|
|
1256
1287
|
FetchMyProfileV2Document: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -706,6 +706,39 @@ export enum ILoginSource {
|
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
|
|
709
|
+
export type ILudoNft = {
|
|
710
|
+
blockchain: IBlockchains;
|
|
711
|
+
address?: Maybe<Scalars['String']>;
|
|
712
|
+
tokenId?: Maybe<Scalars['String']>;
|
|
713
|
+
wallet?: Maybe<Scalars['String']>;
|
|
714
|
+
rank?: Maybe<Scalars['Float']>;
|
|
715
|
+
tier?: Maybe<ITier>;
|
|
716
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
717
|
+
explorer?: Maybe<Scalars['String']>;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
export type ILudoNftFilterInput = {
|
|
721
|
+
blockchain: IBlockchains;
|
|
722
|
+
walletTerm?: Maybe<Scalars['String']>;
|
|
723
|
+
tokenIdTerm?: Maybe<Scalars['String']>;
|
|
724
|
+
rank?: Maybe<Scalars['Float']>;
|
|
725
|
+
tierNameTerm?: Maybe<Scalars['String']>;
|
|
726
|
+
createdAfter?: Maybe<Scalars['Long']>;
|
|
727
|
+
createdBefore?: Maybe<Scalars['Long']>;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
export type ILudoNftPage = {
|
|
731
|
+
ludoNfts: Array<ILudoNft>;
|
|
732
|
+
nextPage?: Maybe<IAdminPage>;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
export type ILudoNftSortInput = {
|
|
736
|
+
sortByWallet?: Maybe<ISort>;
|
|
737
|
+
sortByRank?: Maybe<ISort>;
|
|
738
|
+
sortByTier?: Maybe<ISort>;
|
|
739
|
+
sortByCreatedAt?: Maybe<ISort>;
|
|
740
|
+
};
|
|
741
|
+
|
|
709
742
|
export type IMutation = {
|
|
710
743
|
setDummy: Scalars['String'];
|
|
711
744
|
removeInviteCode: Scalars['Boolean'];
|
|
@@ -1066,6 +1099,7 @@ export type IQuery = {
|
|
|
1066
1099
|
fetchLocations?: Maybe<Array<Maybe<ILocation>>>;
|
|
1067
1100
|
fetchAllCountries: Array<ICountry>;
|
|
1068
1101
|
fetchMonitoringPage: IAdminProjectsMonitoringPage;
|
|
1102
|
+
fetchLudoNfts: ILudoNftPage;
|
|
1069
1103
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
1070
1104
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
1071
1105
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
@@ -1168,6 +1202,13 @@ export type IQueryFetchMonitoringPageArgs = {
|
|
|
1168
1202
|
};
|
|
1169
1203
|
|
|
1170
1204
|
|
|
1205
|
+
export type IQueryFetchLudoNftsArgs = {
|
|
1206
|
+
filter: ILudoNftFilterInput;
|
|
1207
|
+
sort: ILudoNftSortInput;
|
|
1208
|
+
page: IAdminPageInput;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
|
|
1171
1212
|
export type IQueryFetchAdminOpportunitiesPageArgs = {
|
|
1172
1213
|
filter: IOpportunitiesFilterInput;
|
|
1173
1214
|
sort: IOpportunitiesSortInput;
|
|
@@ -1697,6 +1738,10 @@ export type IResolversTypes = {
|
|
|
1697
1738
|
LocationType: ILocationType;
|
|
1698
1739
|
LoginSource: ILoginSource;
|
|
1699
1740
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
1741
|
+
LudoNft: ResolverTypeWrapper<ILudoNft>;
|
|
1742
|
+
LudoNftFilterInput: ILudoNftFilterInput;
|
|
1743
|
+
LudoNftPage: ResolverTypeWrapper<ILudoNftPage>;
|
|
1744
|
+
LudoNftSortInput: ILudoNftSortInput;
|
|
1700
1745
|
Mutation: ResolverTypeWrapper<{}>;
|
|
1701
1746
|
NotificationDestination: INotificationDestination;
|
|
1702
1747
|
NumberRangeInput: INumberRangeInput;
|
|
@@ -1825,6 +1870,10 @@ export type IResolversParentTypes = {
|
|
|
1825
1870
|
LeaderboardInput: ILeaderboardInput;
|
|
1826
1871
|
Location: ILocation;
|
|
1827
1872
|
Long: Scalars['Long'];
|
|
1873
|
+
LudoNft: ILudoNft;
|
|
1874
|
+
LudoNftFilterInput: ILudoNftFilterInput;
|
|
1875
|
+
LudoNftPage: ILudoNftPage;
|
|
1876
|
+
LudoNftSortInput: ILudoNftSortInput;
|
|
1828
1877
|
Mutation: {};
|
|
1829
1878
|
NumberRangeInput: INumberRangeInput;
|
|
1830
1879
|
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
@@ -2280,6 +2329,24 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
|
|
|
2280
2329
|
name: 'Long';
|
|
2281
2330
|
}
|
|
2282
2331
|
|
|
2332
|
+
export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNft'] = IResolversParentTypes['LudoNft']> = {
|
|
2333
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
2334
|
+
address?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2335
|
+
tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2336
|
+
wallet?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2337
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2338
|
+
tier?: Resolver<Maybe<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
2339
|
+
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
2340
|
+
explorer?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2341
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
export type ILudoNftPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNftPage'] = IResolversParentTypes['LudoNftPage']> = {
|
|
2345
|
+
ludoNfts?: Resolver<Array<IResolversTypes['LudoNft']>, ParentType, ContextType>;
|
|
2346
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
2347
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2283
2350
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
2284
2351
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2285
2352
|
removeInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveInviteCodeArgs, 'inviteCode'>>;
|
|
@@ -2346,6 +2413,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
2346
2413
|
fetchLocations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Location']>>>, ParentType, ContextType, RequireFields<IQueryFetchLocationsArgs, 'term'>>;
|
|
2347
2414
|
fetchAllCountries?: Resolver<Array<IResolversTypes['Country']>, ParentType, ContextType>;
|
|
2348
2415
|
fetchMonitoringPage?: Resolver<IResolversTypes['AdminProjectsMonitoringPage'], ParentType, ContextType, RequireFields<IQueryFetchMonitoringPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2416
|
+
fetchLudoNfts?: Resolver<IResolversTypes['LudoNftPage'], ParentType, ContextType, RequireFields<IQueryFetchLudoNftsArgs, 'filter' | 'sort' | 'page'>>;
|
|
2349
2417
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2350
2418
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
2351
2419
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -2533,6 +2601,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2533
2601
|
Leaderboard?: ILeaderboardResolvers<ContextType>;
|
|
2534
2602
|
Location?: ILocationResolvers<ContextType>;
|
|
2535
2603
|
Long?: GraphQLScalarType;
|
|
2604
|
+
LudoNft?: ILudoNftResolvers<ContextType>;
|
|
2605
|
+
LudoNftPage?: ILudoNftPageResolvers<ContextType>;
|
|
2536
2606
|
Mutation?: IMutationResolvers<ContextType>;
|
|
2537
2607
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
2538
2608
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
|
|
22
24
|
export type IAsset = {
|
|
23
25
|
assetId: Scalars['ID'];
|
|
24
26
|
blockchain?: Maybe<Scalars['String']>;
|
|
@@ -263,6 +265,17 @@ export type IResolversParentTypes = {
|
|
|
263
265
|
Query: {};
|
|
264
266
|
};
|
|
265
267
|
|
|
268
|
+
export type IDeferDirectiveArgs = {
|
|
269
|
+
if?: Scalars['Boolean'];
|
|
270
|
+
label?: Maybe<Scalars['String']>;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
274
|
+
|
|
275
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
276
|
+
|
|
277
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
278
|
+
|
|
266
279
|
export type IOneOfDirectiveArgs = { };
|
|
267
280
|
|
|
268
281
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -397,6 +410,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
397
410
|
};
|
|
398
411
|
|
|
399
412
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
413
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
414
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
400
415
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
401
416
|
};
|
|
402
417
|
|
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
|
|
22
24
|
export type IGenerateCompanyTokenInput = {
|
|
23
25
|
companyName: Scalars['String'];
|
|
24
26
|
tariffPlan: Scalars['String'];
|
|
@@ -185,6 +187,17 @@ export type IResolversParentTypes = {
|
|
|
185
187
|
TokenPair: ITokenPair;
|
|
186
188
|
};
|
|
187
189
|
|
|
190
|
+
export type IDeferDirectiveArgs = {
|
|
191
|
+
if?: Scalars['Boolean'];
|
|
192
|
+
label?: Maybe<Scalars['String']>;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
196
|
+
|
|
197
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
198
|
+
|
|
199
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
200
|
+
|
|
188
201
|
export type IOneOfDirectiveArgs = { };
|
|
189
202
|
|
|
190
203
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -246,6 +259,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
246
259
|
};
|
|
247
260
|
|
|
248
261
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
262
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
263
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
249
264
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
250
265
|
};
|
|
251
266
|
|