@ludo.ninja/api 3.2.23 → 3.2.25
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 +102 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +44 -4
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +9 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +15 -45
- package/build/graphql_tools/__generated__/mintInfoHost/schema.d.ts +35 -0
- package/build/graphql_tools/__generated__/mintInfoHost/schema.js +30 -1
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -10
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +40 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +28 -2
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +3 -9
- package/build/index.d.ts +55 -64
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +122 -0
- package/src/graphql_tools/__generated__/collectionsHost/schema.ts +15 -0
- package/src/graphql_tools/__generated__/mintInfoHost/schema.ts +46 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +51 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
|
|
22
24
|
export type IAttribute = {
|
|
23
25
|
name?: Maybe<Scalars['String']>;
|
|
24
26
|
value?: Maybe<Scalars['String']>;
|
|
@@ -306,6 +308,17 @@ export type IResolversParentTypes = {
|
|
|
306
308
|
Query: {};
|
|
307
309
|
};
|
|
308
310
|
|
|
311
|
+
export type IDeferDirectiveArgs = {
|
|
312
|
+
if?: Scalars['Boolean'];
|
|
313
|
+
label?: Maybe<Scalars['String']>;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
317
|
+
|
|
318
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
319
|
+
|
|
320
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
321
|
+
|
|
309
322
|
export type IOneOfDirectiveArgs = { };
|
|
310
323
|
|
|
311
324
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -470,6 +483,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
470
483
|
};
|
|
471
484
|
|
|
472
485
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
486
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
487
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
473
488
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
474
489
|
};
|
|
475
490
|
|
|
@@ -55,6 +55,7 @@ export type IQuery = {
|
|
|
55
55
|
getDummy: Scalars['String'];
|
|
56
56
|
fetchMintingInfo: IMintingInfo;
|
|
57
57
|
fetchGasPrice: Scalars['Long'];
|
|
58
|
+
fetchNativeCoinPrice: Scalars['Float'];
|
|
58
59
|
};
|
|
59
60
|
|
|
60
61
|
|
|
@@ -67,6 +68,11 @@ export type IQueryFetchGasPriceArgs = {
|
|
|
67
68
|
chain: IBlockchains;
|
|
68
69
|
};
|
|
69
70
|
|
|
71
|
+
|
|
72
|
+
export type IQueryFetchNativeCoinPriceArgs = {
|
|
73
|
+
chain: IBlockchains;
|
|
74
|
+
};
|
|
75
|
+
|
|
70
76
|
export type ITier = {
|
|
71
77
|
id: Scalars['String'];
|
|
72
78
|
name: Scalars['String'];
|
|
@@ -204,6 +210,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
204
210
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
205
211
|
fetchMintingInfo?: Resolver<IResolversTypes['MintingInfo'], ParentType, ContextType, RequireFields<IQueryFetchMintingInfoArgs, 'input'>>;
|
|
206
212
|
fetchGasPrice?: Resolver<IResolversTypes['Long'], ParentType, ContextType, RequireFields<IQueryFetchGasPriceArgs, 'chain'>>;
|
|
213
|
+
fetchNativeCoinPrice?: Resolver<IResolversTypes['Float'], ParentType, ContextType, RequireFields<IQueryFetchNativeCoinPriceArgs, 'chain'>>;
|
|
207
214
|
};
|
|
208
215
|
|
|
209
216
|
export type ITierResolvers<ContextType = any, ParentType extends IResolversParentTypes['Tier'] = IResolversParentTypes['Tier']> = {
|
|
@@ -252,6 +259,13 @@ export type IFetchMintingInfoQuery = { fetchMintingInfo: (
|
|
|
252
259
|
) }
|
|
253
260
|
) };
|
|
254
261
|
|
|
262
|
+
export type IFetchNativeCoinPriceQueryVariables = Exact<{
|
|
263
|
+
chain: IBlockchains;
|
|
264
|
+
}>;
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
export type IFetchNativeCoinPriceQuery = Pick<IQuery, 'fetchNativeCoinPrice'>;
|
|
268
|
+
|
|
255
269
|
|
|
256
270
|
export const FetchMintingInfoDocument = gql`
|
|
257
271
|
query FetchMintingInfo($input: MintingInput!) {
|
|
@@ -295,4 +309,35 @@ export function useFetchMintingInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
295
309
|
}
|
|
296
310
|
export type FetchMintingInfoQueryHookResult = ReturnType<typeof useFetchMintingInfoQuery>;
|
|
297
311
|
export type FetchMintingInfoLazyQueryHookResult = ReturnType<typeof useFetchMintingInfoLazyQuery>;
|
|
298
|
-
export type FetchMintingInfoQueryResult = Apollo.QueryResult<IFetchMintingInfoQuery, IFetchMintingInfoQueryVariables>;
|
|
312
|
+
export type FetchMintingInfoQueryResult = Apollo.QueryResult<IFetchMintingInfoQuery, IFetchMintingInfoQueryVariables>;
|
|
313
|
+
export const FetchNativeCoinPriceDocument = gql`
|
|
314
|
+
query FetchNativeCoinPrice($chain: Blockchains!) {
|
|
315
|
+
fetchNativeCoinPrice(chain: $chain)
|
|
316
|
+
}
|
|
317
|
+
`;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* __useFetchNativeCoinPriceQuery__
|
|
321
|
+
*
|
|
322
|
+
* To run a query within a React component, call `useFetchNativeCoinPriceQuery` and pass it any options that fit your needs.
|
|
323
|
+
* When your component renders, `useFetchNativeCoinPriceQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
324
|
+
* you can use to render your UI.
|
|
325
|
+
*
|
|
326
|
+
* @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;
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* const { data, loading, error } = useFetchNativeCoinPriceQuery({
|
|
330
|
+
* variables: {
|
|
331
|
+
* chain: // value for 'chain'
|
|
332
|
+
* },
|
|
333
|
+
* });
|
|
334
|
+
*/
|
|
335
|
+
export function useFetchNativeCoinPriceQuery(baseOptions: Apollo.QueryHookOptions<IFetchNativeCoinPriceQuery, IFetchNativeCoinPriceQueryVariables>) {
|
|
336
|
+
return Apollo.useQuery<IFetchNativeCoinPriceQuery, IFetchNativeCoinPriceQueryVariables>(FetchNativeCoinPriceDocument, baseOptions);
|
|
337
|
+
}
|
|
338
|
+
export function useFetchNativeCoinPriceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchNativeCoinPriceQuery, IFetchNativeCoinPriceQueryVariables>) {
|
|
339
|
+
return Apollo.useLazyQuery<IFetchNativeCoinPriceQuery, IFetchNativeCoinPriceQueryVariables>(FetchNativeCoinPriceDocument, baseOptions);
|
|
340
|
+
}
|
|
341
|
+
export type FetchNativeCoinPriceQueryHookResult = ReturnType<typeof useFetchNativeCoinPriceQuery>;
|
|
342
|
+
export type FetchNativeCoinPriceLazyQueryHookResult = ReturnType<typeof useFetchNativeCoinPriceLazyQuery>;
|
|
343
|
+
export type FetchNativeCoinPriceQueryResult = Apollo.QueryResult<IFetchNativeCoinPriceQuery, IFetchNativeCoinPriceQueryVariables>;
|
|
@@ -137,6 +137,7 @@ export type IMutation = {
|
|
|
137
137
|
subscribeOnAlerts: Scalars['Boolean'];
|
|
138
138
|
reconsiderProjectStatus: Scalars['Boolean'];
|
|
139
139
|
clickOnProjectLink: Scalars['Boolean'];
|
|
140
|
+
registerForProjectAirdropsUpdates: Scalars['Boolean'];
|
|
140
141
|
};
|
|
141
142
|
|
|
142
143
|
|
|
@@ -253,6 +254,11 @@ export type IMutationClickOnProjectLinkArgs = {
|
|
|
253
254
|
input: IProjectLinkClickInput;
|
|
254
255
|
};
|
|
255
256
|
|
|
257
|
+
|
|
258
|
+
export type IMutationRegisterForProjectAirdropsUpdatesArgs = {
|
|
259
|
+
input: IProjectAirdropRegistrationInput;
|
|
260
|
+
};
|
|
261
|
+
|
|
256
262
|
export type IOpportunitiesPage = {
|
|
257
263
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
258
264
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -407,6 +413,11 @@ export type IProject = {
|
|
|
407
413
|
shareLink?: Maybe<Scalars['String']>;
|
|
408
414
|
};
|
|
409
415
|
|
|
416
|
+
export type IProjectAirdropRegistrationInput = {
|
|
417
|
+
blockchain: Scalars['String'];
|
|
418
|
+
contract: Scalars['String'];
|
|
419
|
+
};
|
|
420
|
+
|
|
410
421
|
export type IProjectAlerting = {
|
|
411
422
|
userId: Scalars['String'];
|
|
412
423
|
slotsFree: Scalars['Int'];
|
|
@@ -690,6 +701,7 @@ export type IResolversTypes = {
|
|
|
690
701
|
OpportunityV2: ResolverTypeWrapper<IOpportunityV2>;
|
|
691
702
|
ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
|
|
692
703
|
Project: ResolverTypeWrapper<IProject>;
|
|
704
|
+
ProjectAirdropRegistrationInput: IProjectAirdropRegistrationInput;
|
|
693
705
|
ProjectAlerting: ResolverTypeWrapper<IProjectAlerting>;
|
|
694
706
|
ProjectCommunityVote: ResolverTypeWrapper<IProjectCommunityVote>;
|
|
695
707
|
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
@@ -736,6 +748,7 @@ export type IResolversParentTypes = {
|
|
|
736
748
|
OpportunityV2: IOpportunityV2;
|
|
737
749
|
ProfileOpportunities: IProfileOpportunities;
|
|
738
750
|
Project: IProject;
|
|
751
|
+
ProjectAirdropRegistrationInput: IProjectAirdropRegistrationInput;
|
|
739
752
|
ProjectAlerting: IProjectAlerting;
|
|
740
753
|
ProjectCommunityVote: IProjectCommunityVote;
|
|
741
754
|
ProjectLinkClickInput: IProjectLinkClickInput;
|
|
@@ -857,6 +870,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
857
870
|
subscribeOnAlerts?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubscribeOnAlertsArgs, 'input'>>;
|
|
858
871
|
reconsiderProjectStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReconsiderProjectStatusArgs, 'input'>>;
|
|
859
872
|
clickOnProjectLink?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationClickOnProjectLinkArgs, 'input'>>;
|
|
873
|
+
registerForProjectAirdropsUpdates?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRegisterForProjectAirdropsUpdatesArgs, 'input'>>;
|
|
860
874
|
};
|
|
861
875
|
|
|
862
876
|
export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
|
|
@@ -1199,6 +1213,13 @@ export type IRegisterForAirdrop2MutationVariables = Exact<{
|
|
|
1199
1213
|
|
|
1200
1214
|
export type IRegisterForAirdrop2Mutation = Pick<IMutation, 'registerForAirdrop2'>;
|
|
1201
1215
|
|
|
1216
|
+
export type IRegisterForProjectAirdropsUpdatesMutationVariables = Exact<{
|
|
1217
|
+
input: IProjectAirdropRegistrationInput;
|
|
1218
|
+
}>;
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
export type IRegisterForProjectAirdropsUpdatesMutation = Pick<IMutation, 'registerForProjectAirdropsUpdates'>;
|
|
1222
|
+
|
|
1202
1223
|
export type IRegisterNewProjectMutationVariables = Exact<{
|
|
1203
1224
|
input: IProjectRegistrationInput;
|
|
1204
1225
|
}>;
|
|
@@ -1671,6 +1692,36 @@ export function useRegisterForAirdrop2Mutation(baseOptions?: Apollo.MutationHook
|
|
|
1671
1692
|
export type RegisterForAirdrop2MutationHookResult = ReturnType<typeof useRegisterForAirdrop2Mutation>;
|
|
1672
1693
|
export type RegisterForAirdrop2MutationResult = Apollo.MutationResult<IRegisterForAirdrop2Mutation>;
|
|
1673
1694
|
export type RegisterForAirdrop2MutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdrop2Mutation, IRegisterForAirdrop2MutationVariables>;
|
|
1695
|
+
export const RegisterForProjectAirdropsUpdatesDocument = gql`
|
|
1696
|
+
mutation RegisterForProjectAirdropsUpdates($input: ProjectAirdropRegistrationInput!) {
|
|
1697
|
+
registerForProjectAirdropsUpdates(input: $input)
|
|
1698
|
+
}
|
|
1699
|
+
`;
|
|
1700
|
+
export type IRegisterForProjectAirdropsUpdatesMutationFn = Apollo.MutationFunction<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>;
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* __useRegisterForProjectAirdropsUpdatesMutation__
|
|
1704
|
+
*
|
|
1705
|
+
* To run a mutation, you first call `useRegisterForProjectAirdropsUpdatesMutation` within a React component and pass it any options that fit your needs.
|
|
1706
|
+
* When your component renders, `useRegisterForProjectAirdropsUpdatesMutation` returns a tuple that includes:
|
|
1707
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1708
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1709
|
+
*
|
|
1710
|
+
* @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;
|
|
1711
|
+
*
|
|
1712
|
+
* @example
|
|
1713
|
+
* const [registerForProjectAirdropsUpdatesMutation, { data, loading, error }] = useRegisterForProjectAirdropsUpdatesMutation({
|
|
1714
|
+
* variables: {
|
|
1715
|
+
* input: // value for 'input'
|
|
1716
|
+
* },
|
|
1717
|
+
* });
|
|
1718
|
+
*/
|
|
1719
|
+
export function useRegisterForProjectAirdropsUpdatesMutation(baseOptions?: Apollo.MutationHookOptions<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>) {
|
|
1720
|
+
return Apollo.useMutation<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>(RegisterForProjectAirdropsUpdatesDocument, baseOptions);
|
|
1721
|
+
}
|
|
1722
|
+
export type RegisterForProjectAirdropsUpdatesMutationHookResult = ReturnType<typeof useRegisterForProjectAirdropsUpdatesMutation>;
|
|
1723
|
+
export type RegisterForProjectAirdropsUpdatesMutationResult = Apollo.MutationResult<IRegisterForProjectAirdropsUpdatesMutation>;
|
|
1724
|
+
export type RegisterForProjectAirdropsUpdatesMutationOptions = Apollo.BaseMutationOptions<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>;
|
|
1674
1725
|
export const RegisterNewProjectDocument = gql`
|
|
1675
1726
|
mutation RegisterNewProject($input: ProjectRegistrationInput!) {
|
|
1676
1727
|
registerNewProject(input: $input) {
|