@ludo.ninja/api 3.2.18 → 3.2.20
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 +31 -1
- 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 +46 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +48 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +58 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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)
|