@ludo.ninja/api 3.0.64 → 3.0.66

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.
@@ -73,7 +73,10 @@ export type IMutation = {
73
73
  likeOpportunity: Scalars['Boolean'];
74
74
  dislikeOpportunity: Scalars['Boolean'];
75
75
  registerForAirdrop: Scalars['Boolean'];
76
+ registerForAirdrop2: Scalars['String'];
76
77
  copyOpportunityShareLink: Scalars['Boolean'];
78
+ registerNewProject: Scalars['Boolean'];
79
+ reactOnProject: Scalars['Boolean'];
77
80
  };
78
81
  export type IMutationCreateBrandArgs = {
79
82
  input: IBrandInput;
@@ -113,9 +116,20 @@ export type IMutationRegisterForAirdropArgs = {
113
116
  blockchain: Scalars['String'];
114
117
  address: Scalars['String'];
115
118
  };
119
+ export type IMutationRegisterForAirdrop2Args = {
120
+ opportunityId: Scalars['String'];
121
+ blockchain: Scalars['String'];
122
+ address: Scalars['String'];
123
+ };
116
124
  export type IMutationCopyOpportunityShareLinkArgs = {
117
125
  opportunityId: Scalars['ID'];
118
126
  };
127
+ export type IMutationRegisterNewProjectArgs = {
128
+ input: IProjectRegistrationInput;
129
+ };
130
+ export type IMutationReactOnProjectArgs = {
131
+ input: IProjectReactionInput;
132
+ };
119
133
  export type IOpportunitiesPage = {
120
134
  currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
121
135
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
@@ -223,6 +237,56 @@ export type IProfileOpportunities = {
223
237
  newOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
224
238
  recentOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
225
239
  };
240
+ export type IProject = {
241
+ blockchain: Scalars['String'];
242
+ contract: Scalars['String'];
243
+ name?: Maybe<Scalars['String']>;
244
+ slug?: Maybe<Scalars['String']>;
245
+ symbol?: Maybe<Scalars['String']>;
246
+ website?: Maybe<Scalars['String']>;
247
+ twitter?: Maybe<Scalars['String']>;
248
+ type?: Maybe<Scalars['String']>;
249
+ ludoRank?: Maybe<Scalars['Int']>;
250
+ investors?: Maybe<Scalars['Int']>;
251
+ holders?: Maybe<Scalars['Int']>;
252
+ volume?: Maybe<Scalars['Float']>;
253
+ marketCap?: Maybe<Scalars['Float']>;
254
+ liquidity?: Maybe<Scalars['Float']>;
255
+ price?: Maybe<Scalars['Float']>;
256
+ twitterFollowers?: Maybe<Scalars['Int']>;
257
+ twitterSentiment?: Maybe<Scalars['Int']>;
258
+ verified?: Maybe<Scalars['Boolean']>;
259
+ snapshots?: Maybe<Array<Maybe<IProjectSnapshot>>>;
260
+ reactions: IProjectReactions;
261
+ userReaction?: Maybe<IReactionType>;
262
+ votesGeo?: Maybe<Array<Maybe<IVotesGeolocation>>>;
263
+ };
264
+ export type IProjectReactionInput = {
265
+ blockchain: Scalars['String'];
266
+ contract: Scalars['String'];
267
+ reactionType: IReactionType;
268
+ };
269
+ export type IProjectReactions = {
270
+ likes: Scalars['Int'];
271
+ neutrals: Scalars['Int'];
272
+ dislikes: Scalars['Int'];
273
+ };
274
+ export type IProjectRegistrationInput = {
275
+ blockchain: Scalars['String'];
276
+ contract: Scalars['String'];
277
+ };
278
+ export type IProjectSnapshot = {
279
+ date?: Maybe<Scalars['Long']>;
280
+ contract: Scalars['String'];
281
+ blockchain: Scalars['String'];
282
+ volume?: Maybe<Scalars['Float']>;
283
+ marketCap?: Maybe<Scalars['Float']>;
284
+ price?: Maybe<Scalars['Float']>;
285
+ liquidity?: Maybe<Scalars['Float']>;
286
+ xFollowers?: Maybe<Scalars['Int']>;
287
+ holders?: Maybe<Scalars['Int']>;
288
+ ludoRank?: Maybe<Scalars['Float']>;
289
+ };
226
290
  export type IQuery = {
227
291
  getDummy: Scalars['String'];
228
292
  fetchBrands?: Maybe<Array<Maybe<IBrand>>>;
@@ -238,6 +302,7 @@ export type IQuery = {
238
302
  fetchOpportunitiesByIds: Array<IOpportunityV2>;
239
303
  fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
240
304
  fetchAirdropRegistrationsCsv: Scalars['String'];
305
+ fetchProjectBySlug: IProject;
241
306
  };
242
307
  export type IQueryFetchBrandArgs = {
243
308
  brandId: Scalars['ID'];
@@ -264,6 +329,19 @@ export type IQueryFetchOpportunitiesForWalletArgs = {
264
329
  export type IQueryFetchAirdropRegistrationsCsvArgs = {
265
330
  opportunityId: Scalars['ID'];
266
331
  };
332
+ export type IQueryFetchProjectBySlugArgs = {
333
+ slug: Scalars['String'];
334
+ };
335
+ export declare enum IReactionType {
336
+ Like = "LIKE",
337
+ Dislike = "DISLIKE",
338
+ Neutral = "NEUTRAL"
339
+ }
340
+ export type IVotesGeolocation = {
341
+ country: Scalars['String'];
342
+ votes: Scalars['Int'];
343
+ votesPercentage: Scalars['Float'];
344
+ };
267
345
  export type ResolverTypeWrapper<T> = Promise<T> | T;
268
346
  export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
269
347
  resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
@@ -309,7 +387,14 @@ export type IResolversTypes = {
309
387
  OpportunityType: IOpportunityType;
310
388
  OpportunityV2: ResolverTypeWrapper<IOpportunityV2>;
311
389
  ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
390
+ Project: ResolverTypeWrapper<IProject>;
391
+ ProjectReactionInput: IProjectReactionInput;
392
+ ProjectReactions: ResolverTypeWrapper<IProjectReactions>;
393
+ ProjectRegistrationInput: IProjectRegistrationInput;
394
+ ProjectSnapshot: ResolverTypeWrapper<IProjectSnapshot>;
312
395
  Query: ResolverTypeWrapper<{}>;
396
+ ReactionType: IReactionType;
397
+ VotesGeolocation: ResolverTypeWrapper<IVotesGeolocation>;
313
398
  };
314
399
  /** Mapping between all available schema types and the resolvers parents */
315
400
  export type IResolversParentTypes = {
@@ -329,7 +414,13 @@ export type IResolversParentTypes = {
329
414
  Float: Scalars['Float'];
330
415
  OpportunityV2: IOpportunityV2;
331
416
  ProfileOpportunities: IProfileOpportunities;
417
+ Project: IProject;
418
+ ProjectReactionInput: IProjectReactionInput;
419
+ ProjectReactions: IProjectReactions;
420
+ ProjectRegistrationInput: IProjectRegistrationInput;
421
+ ProjectSnapshot: IProjectSnapshot;
332
422
  Query: {};
423
+ VotesGeolocation: IVotesGeolocation;
333
424
  };
334
425
  export type IOneOfDirectiveArgs = {};
335
426
  export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
@@ -375,7 +466,10 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
375
466
  likeOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationLikeOpportunityArgs, 'opportunityId'>>;
376
467
  dislikeOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationDislikeOpportunityArgs, 'opportunityId'>>;
377
468
  registerForAirdrop?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRegisterForAirdropArgs, 'opportunityId' | 'blockchain' | 'address'>>;
469
+ registerForAirdrop2?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationRegisterForAirdrop2Args, 'opportunityId' | 'blockchain' | 'address'>>;
378
470
  copyOpportunityShareLink?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCopyOpportunityShareLinkArgs, 'opportunityId'>>;
471
+ registerNewProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRegisterNewProjectArgs, 'input'>>;
472
+ reactOnProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReactOnProjectArgs, 'input'>>;
379
473
  };
380
474
  export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
381
475
  currentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['Opportunity']>>>, ParentType, ContextType>;
@@ -460,6 +554,50 @@ export type IProfileOpportunitiesResolvers<ContextType = any, ParentType extends
460
554
  recentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
461
555
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
462
556
  };
557
+ export type IProjectResolvers<ContextType = any, ParentType extends IResolversParentTypes['Project'] = IResolversParentTypes['Project']> = {
558
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
559
+ contract?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
560
+ name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
561
+ slug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
562
+ symbol?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
563
+ website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
564
+ twitter?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
565
+ type?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
566
+ ludoRank?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
567
+ investors?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
568
+ holders?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
569
+ volume?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
570
+ marketCap?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
571
+ liquidity?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
572
+ price?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
573
+ twitterFollowers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
574
+ twitterSentiment?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
575
+ verified?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
576
+ snapshots?: Resolver<Maybe<Array<Maybe<IResolversTypes['ProjectSnapshot']>>>, ParentType, ContextType>;
577
+ reactions?: Resolver<IResolversTypes['ProjectReactions'], ParentType, ContextType>;
578
+ userReaction?: Resolver<Maybe<IResolversTypes['ReactionType']>, ParentType, ContextType>;
579
+ votesGeo?: Resolver<Maybe<Array<Maybe<IResolversTypes['VotesGeolocation']>>>, ParentType, ContextType>;
580
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
581
+ };
582
+ export type IProjectReactionsResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProjectReactions'] = IResolversParentTypes['ProjectReactions']> = {
583
+ likes?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
584
+ neutrals?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
585
+ dislikes?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
586
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
587
+ };
588
+ export type IProjectSnapshotResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProjectSnapshot'] = IResolversParentTypes['ProjectSnapshot']> = {
589
+ date?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
590
+ contract?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
591
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
592
+ volume?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
593
+ marketCap?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
594
+ price?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
595
+ liquidity?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
596
+ xFollowers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
597
+ holders?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
598
+ ludoRank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
599
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
600
+ };
463
601
  export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
464
602
  getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
465
603
  fetchBrands?: Resolver<Maybe<Array<Maybe<IResolversTypes['Brand']>>>, ParentType, ContextType>;
@@ -475,6 +613,13 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
475
613
  fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
476
614
  fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
477
615
  fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
616
+ fetchProjectBySlug?: Resolver<IResolversTypes['Project'], ParentType, ContextType, RequireFields<IQueryFetchProjectBySlugArgs, 'slug'>>;
617
+ };
618
+ export type IVotesGeolocationResolvers<ContextType = any, ParentType extends IResolversParentTypes['VotesGeolocation'] = IResolversParentTypes['VotesGeolocation']> = {
619
+ country?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
620
+ votes?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
621
+ votesPercentage?: Resolver<IResolversTypes['Float'], ParentType, ContextType>;
622
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
478
623
  };
479
624
  export type IResolvers<ContextType = any> = {
480
625
  Brand?: IBrandResolvers<ContextType>;
@@ -485,7 +630,11 @@ export type IResolvers<ContextType = any> = {
485
630
  Opportunity?: IOpportunityResolvers<ContextType>;
486
631
  OpportunityV2?: IOpportunityV2Resolvers<ContextType>;
487
632
  ProfileOpportunities?: IProfileOpportunitiesResolvers<ContextType>;
633
+ Project?: IProjectResolvers<ContextType>;
634
+ ProjectReactions?: IProjectReactionsResolvers<ContextType>;
635
+ ProjectSnapshot?: IProjectSnapshotResolvers<ContextType>;
488
636
  Query?: IQueryResolvers<ContextType>;
637
+ VotesGeolocation?: IVotesGeolocationResolvers<ContextType>;
489
638
  };
490
639
  export type IDirectiveResolvers<ContextType = any> = {
491
640
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
@@ -510,12 +659,26 @@ export type IOpenOpportunityMutationVariables = Exact<{
510
659
  opportunityId: Scalars['ID'];
511
660
  }>;
512
661
  export type IOpenOpportunityMutation = Pick<IMutation, 'openOpportunity'>;
662
+ export type IReactOnProjectMutationVariables = Exact<{
663
+ input: IProjectReactionInput;
664
+ }>;
665
+ export type IReactOnProjectMutation = Pick<IMutation, 'reactOnProject'>;
513
666
  export type IRegisterForAirdropMutationVariables = Exact<{
514
667
  opportunityId: Scalars['String'];
515
668
  blockchain: Scalars['String'];
516
669
  address: Scalars['String'];
517
670
  }>;
518
671
  export type IRegisterForAirdropMutation = Pick<IMutation, 'registerForAirdrop'>;
672
+ export type IRegisterForAirdrop2MutationVariables = Exact<{
673
+ opportunityId: Scalars['String'];
674
+ blockchain: Scalars['String'];
675
+ address: Scalars['String'];
676
+ }>;
677
+ export type IRegisterForAirdrop2Mutation = Pick<IMutation, 'registerForAirdrop2'>;
678
+ export type IRegisterNewProjectMutationVariables = Exact<{
679
+ input: IProjectRegistrationInput;
680
+ }>;
681
+ export type IRegisterNewProjectMutation = Pick<IMutation, 'registerNewProject'>;
519
682
  export type IFetchAirdropRegistrationsCsvQueryVariables = Exact<{
520
683
  opportunityId: Scalars['ID'];
521
684
  }>;
@@ -567,6 +730,16 @@ export type IFetchProfileOpportunitiesQuery = {
567
730
  recentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>>>;
568
731
  };
569
732
  };
733
+ export type IFetchProjectBySlugQueryVariables = Exact<{
734
+ slug: Scalars['String'];
735
+ }>;
736
+ export type IFetchProjectBySlugQuery = {
737
+ fetchProjectBySlug: (Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'userReaction'> & {
738
+ snapshots?: Maybe<Array<Maybe<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>>;
739
+ reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>;
740
+ votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>;
741
+ });
742
+ };
570
743
  export declare const DislikeOpportunityDocument: Apollo.DocumentNode;
571
744
  export type IDislikeOpportunityMutationFn = Apollo.MutationFunction<IDislikeOpportunityMutation, IDislikeOpportunityMutationVariables>;
572
745
  /**
@@ -692,6 +865,31 @@ export declare function useOpenOpportunityMutation(baseOptions?: Apollo.Mutation
692
865
  export type OpenOpportunityMutationHookResult = ReturnType<typeof useOpenOpportunityMutation>;
693
866
  export type OpenOpportunityMutationResult = Apollo.MutationResult<IOpenOpportunityMutation>;
694
867
  export type OpenOpportunityMutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityMutation, IOpenOpportunityMutationVariables>;
868
+ export declare const ReactOnProjectDocument: Apollo.DocumentNode;
869
+ export type IReactOnProjectMutationFn = Apollo.MutationFunction<IReactOnProjectMutation, IReactOnProjectMutationVariables>;
870
+ /**
871
+ * __useReactOnProjectMutation__
872
+ *
873
+ * To run a mutation, you first call `useReactOnProjectMutation` within a React component and pass it any options that fit your needs.
874
+ * When your component renders, `useReactOnProjectMutation` returns a tuple that includes:
875
+ * - A mutate function that you can call at any time to execute the mutation
876
+ * - An object with fields that represent the current status of the mutation's execution
877
+ *
878
+ * @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;
879
+ *
880
+ * @example
881
+ * const [reactOnProjectMutation, { data, loading, error }] = useReactOnProjectMutation({
882
+ * variables: {
883
+ * input: // value for 'input'
884
+ * },
885
+ * });
886
+ */
887
+ export declare function useReactOnProjectMutation(baseOptions?: Apollo.MutationHookOptions<IReactOnProjectMutation, IReactOnProjectMutationVariables>): Apollo.MutationTuple<IReactOnProjectMutation, Exact<{
888
+ input: IProjectReactionInput;
889
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
890
+ export type ReactOnProjectMutationHookResult = ReturnType<typeof useReactOnProjectMutation>;
891
+ export type ReactOnProjectMutationResult = Apollo.MutationResult<IReactOnProjectMutation>;
892
+ export type ReactOnProjectMutationOptions = Apollo.BaseMutationOptions<IReactOnProjectMutation, IReactOnProjectMutationVariables>;
695
893
  export declare const RegisterForAirdropDocument: Apollo.DocumentNode;
696
894
  export type IRegisterForAirdropMutationFn = Apollo.MutationFunction<IRegisterForAirdropMutation, IRegisterForAirdropMutationVariables>;
697
895
  /**
@@ -721,6 +919,60 @@ export declare function useRegisterForAirdropMutation(baseOptions?: Apollo.Mutat
721
919
  export type RegisterForAirdropMutationHookResult = ReturnType<typeof useRegisterForAirdropMutation>;
722
920
  export type RegisterForAirdropMutationResult = Apollo.MutationResult<IRegisterForAirdropMutation>;
723
921
  export type RegisterForAirdropMutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdropMutation, IRegisterForAirdropMutationVariables>;
922
+ export declare const RegisterForAirdrop2Document: Apollo.DocumentNode;
923
+ export type IRegisterForAirdrop2MutationFn = Apollo.MutationFunction<IRegisterForAirdrop2Mutation, IRegisterForAirdrop2MutationVariables>;
924
+ /**
925
+ * __useRegisterForAirdrop2Mutation__
926
+ *
927
+ * To run a mutation, you first call `useRegisterForAirdrop2Mutation` within a React component and pass it any options that fit your needs.
928
+ * When your component renders, `useRegisterForAirdrop2Mutation` returns a tuple that includes:
929
+ * - A mutate function that you can call at any time to execute the mutation
930
+ * - An object with fields that represent the current status of the mutation's execution
931
+ *
932
+ * @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;
933
+ *
934
+ * @example
935
+ * const [registerForAirdrop2Mutation, { data, loading, error }] = useRegisterForAirdrop2Mutation({
936
+ * variables: {
937
+ * opportunityId: // value for 'opportunityId'
938
+ * blockchain: // value for 'blockchain'
939
+ * address: // value for 'address'
940
+ * },
941
+ * });
942
+ */
943
+ export declare function useRegisterForAirdrop2Mutation(baseOptions?: Apollo.MutationHookOptions<IRegisterForAirdrop2Mutation, IRegisterForAirdrop2MutationVariables>): Apollo.MutationTuple<IRegisterForAirdrop2Mutation, Exact<{
944
+ opportunityId: string;
945
+ blockchain: string;
946
+ address: string;
947
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
948
+ export type RegisterForAirdrop2MutationHookResult = ReturnType<typeof useRegisterForAirdrop2Mutation>;
949
+ export type RegisterForAirdrop2MutationResult = Apollo.MutationResult<IRegisterForAirdrop2Mutation>;
950
+ export type RegisterForAirdrop2MutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdrop2Mutation, IRegisterForAirdrop2MutationVariables>;
951
+ export declare const RegisterNewProjectDocument: Apollo.DocumentNode;
952
+ export type IRegisterNewProjectMutationFn = Apollo.MutationFunction<IRegisterNewProjectMutation, IRegisterNewProjectMutationVariables>;
953
+ /**
954
+ * __useRegisterNewProjectMutation__
955
+ *
956
+ * To run a mutation, you first call `useRegisterNewProjectMutation` within a React component and pass it any options that fit your needs.
957
+ * When your component renders, `useRegisterNewProjectMutation` returns a tuple that includes:
958
+ * - A mutate function that you can call at any time to execute the mutation
959
+ * - An object with fields that represent the current status of the mutation's execution
960
+ *
961
+ * @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;
962
+ *
963
+ * @example
964
+ * const [registerNewProjectMutation, { data, loading, error }] = useRegisterNewProjectMutation({
965
+ * variables: {
966
+ * input: // value for 'input'
967
+ * },
968
+ * });
969
+ */
970
+ export declare function useRegisterNewProjectMutation(baseOptions?: Apollo.MutationHookOptions<IRegisterNewProjectMutation, IRegisterNewProjectMutationVariables>): Apollo.MutationTuple<IRegisterNewProjectMutation, Exact<{
971
+ input: IProjectRegistrationInput;
972
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
973
+ export type RegisterNewProjectMutationHookResult = ReturnType<typeof useRegisterNewProjectMutation>;
974
+ export type RegisterNewProjectMutationResult = Apollo.MutationResult<IRegisterNewProjectMutation>;
975
+ export type RegisterNewProjectMutationOptions = Apollo.BaseMutationOptions<IRegisterNewProjectMutation, IRegisterNewProjectMutationVariables>;
724
976
  export declare const FetchAirdropRegistrationsCsvDocument: Apollo.DocumentNode;
725
977
  /**
726
978
  * __useFetchAirdropRegistrationsCsvQuery__
@@ -901,3 +1153,29 @@ export declare function useFetchProfileOpportunitiesLazyQuery(baseOptions?: Apol
901
1153
  export type FetchProfileOpportunitiesQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesQuery>;
902
1154
  export type FetchProfileOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesLazyQuery>;
903
1155
  export type FetchProfileOpportunitiesQueryResult = Apollo.QueryResult<IFetchProfileOpportunitiesQuery, IFetchProfileOpportunitiesQueryVariables>;
1156
+ export declare const FetchProjectBySlugDocument: Apollo.DocumentNode;
1157
+ /**
1158
+ * __useFetchProjectBySlugQuery__
1159
+ *
1160
+ * To run a query within a React component, call `useFetchProjectBySlugQuery` and pass it any options that fit your needs.
1161
+ * When your component renders, `useFetchProjectBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
1162
+ * you can use to render your UI.
1163
+ *
1164
+ * @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;
1165
+ *
1166
+ * @example
1167
+ * const { data, loading, error } = useFetchProjectBySlugQuery({
1168
+ * variables: {
1169
+ * slug: // value for 'slug'
1170
+ * },
1171
+ * });
1172
+ */
1173
+ export declare function useFetchProjectBySlugQuery(baseOptions: Apollo.QueryHookOptions<IFetchProjectBySlugQuery, IFetchProjectBySlugQueryVariables>): Apollo.QueryResult<IFetchProjectBySlugQuery, Exact<{
1174
+ slug: string;
1175
+ }>>;
1176
+ export declare function useFetchProjectBySlugLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProjectBySlugQuery, IFetchProjectBySlugQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProjectBySlugQuery, Exact<{
1177
+ slug: string;
1178
+ }>>;
1179
+ export type FetchProjectBySlugQueryHookResult = ReturnType<typeof useFetchProjectBySlugQuery>;
1180
+ export type FetchProjectBySlugLazyQueryHookResult = ReturnType<typeof useFetchProjectBySlugLazyQuery>;
1181
+ export type FetchProjectBySlugQueryResult = Apollo.QueryResult<IFetchProjectBySlugQuery, IFetchProjectBySlugQueryVariables>;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = 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.useRegisterForAirdropMutation = exports.RegisterForAirdropDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useCopyOpportunityShareLinkMutation = exports.CopyOpportunityShareLinkDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = exports.IOpportunityType = void 0;
26
+ exports.useFetchProjectBySlugLazyQuery = exports.useFetchProjectBySlugQuery = exports.FetchProjectBySlugDocument = exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = 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.useReactOnProjectMutation = exports.ReactOnProjectDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useCopyOpportunityShareLinkMutation = exports.CopyOpportunityShareLinkDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = exports.IReactionType = exports.IOpportunityType = void 0;
27
27
  const client_1 = require("@apollo/client");
28
28
  const Apollo = __importStar(require("@apollo/client"));
29
29
  var IOpportunityType;
@@ -32,6 +32,12 @@ var IOpportunityType;
32
32
  IOpportunityType["Marketing"] = "MARKETING";
33
33
  IOpportunityType["NftMinting"] = "NFT_MINTING";
34
34
  })(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
35
+ var IReactionType;
36
+ (function (IReactionType) {
37
+ IReactionType["Like"] = "LIKE";
38
+ IReactionType["Dislike"] = "DISLIKE";
39
+ IReactionType["Neutral"] = "NEUTRAL";
40
+ })(IReactionType || (exports.IReactionType = IReactionType = {}));
35
41
  exports.DislikeOpportunityDocument = (0, client_1.gql) `
36
42
  mutation DislikeOpportunity($opportunityId: String!) {
37
43
  dislikeOpportunity(opportunityId: $opportunityId)
@@ -162,6 +168,32 @@ function useOpenOpportunityMutation(baseOptions) {
162
168
  return Apollo.useMutation(exports.OpenOpportunityDocument, baseOptions);
163
169
  }
164
170
  exports.useOpenOpportunityMutation = useOpenOpportunityMutation;
171
+ exports.ReactOnProjectDocument = (0, client_1.gql) `
172
+ mutation ReactOnProject($input: ProjectReactionInput!) {
173
+ reactOnProject(input: $input)
174
+ }
175
+ `;
176
+ /**
177
+ * __useReactOnProjectMutation__
178
+ *
179
+ * To run a mutation, you first call `useReactOnProjectMutation` within a React component and pass it any options that fit your needs.
180
+ * When your component renders, `useReactOnProjectMutation` returns a tuple that includes:
181
+ * - A mutate function that you can call at any time to execute the mutation
182
+ * - An object with fields that represent the current status of the mutation's execution
183
+ *
184
+ * @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;
185
+ *
186
+ * @example
187
+ * const [reactOnProjectMutation, { data, loading, error }] = useReactOnProjectMutation({
188
+ * variables: {
189
+ * input: // value for 'input'
190
+ * },
191
+ * });
192
+ */
193
+ function useReactOnProjectMutation(baseOptions) {
194
+ return Apollo.useMutation(exports.ReactOnProjectDocument, baseOptions);
195
+ }
196
+ exports.useReactOnProjectMutation = useReactOnProjectMutation;
165
197
  exports.RegisterForAirdropDocument = (0, client_1.gql) `
166
198
  mutation RegisterForAirdrop($opportunityId: String!, $blockchain: String!, $address: String!) {
167
199
  registerForAirdrop(
@@ -194,6 +226,64 @@ function useRegisterForAirdropMutation(baseOptions) {
194
226
  return Apollo.useMutation(exports.RegisterForAirdropDocument, baseOptions);
195
227
  }
196
228
  exports.useRegisterForAirdropMutation = useRegisterForAirdropMutation;
229
+ exports.RegisterForAirdrop2Document = (0, client_1.gql) `
230
+ mutation RegisterForAirdrop2($opportunityId: String!, $blockchain: String!, $address: String!) {
231
+ registerForAirdrop2(
232
+ opportunityId: $opportunityId
233
+ blockchain: $blockchain
234
+ address: $address
235
+ )
236
+ }
237
+ `;
238
+ /**
239
+ * __useRegisterForAirdrop2Mutation__
240
+ *
241
+ * To run a mutation, you first call `useRegisterForAirdrop2Mutation` within a React component and pass it any options that fit your needs.
242
+ * When your component renders, `useRegisterForAirdrop2Mutation` returns a tuple that includes:
243
+ * - A mutate function that you can call at any time to execute the mutation
244
+ * - An object with fields that represent the current status of the mutation's execution
245
+ *
246
+ * @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;
247
+ *
248
+ * @example
249
+ * const [registerForAirdrop2Mutation, { data, loading, error }] = useRegisterForAirdrop2Mutation({
250
+ * variables: {
251
+ * opportunityId: // value for 'opportunityId'
252
+ * blockchain: // value for 'blockchain'
253
+ * address: // value for 'address'
254
+ * },
255
+ * });
256
+ */
257
+ function useRegisterForAirdrop2Mutation(baseOptions) {
258
+ return Apollo.useMutation(exports.RegisterForAirdrop2Document, baseOptions);
259
+ }
260
+ exports.useRegisterForAirdrop2Mutation = useRegisterForAirdrop2Mutation;
261
+ exports.RegisterNewProjectDocument = (0, client_1.gql) `
262
+ mutation RegisterNewProject($input: ProjectRegistrationInput!) {
263
+ registerNewProject(input: $input)
264
+ }
265
+ `;
266
+ /**
267
+ * __useRegisterNewProjectMutation__
268
+ *
269
+ * To run a mutation, you first call `useRegisterNewProjectMutation` within a React component and pass it any options that fit your needs.
270
+ * When your component renders, `useRegisterNewProjectMutation` returns a tuple that includes:
271
+ * - A mutate function that you can call at any time to execute the mutation
272
+ * - An object with fields that represent the current status of the mutation's execution
273
+ *
274
+ * @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;
275
+ *
276
+ * @example
277
+ * const [registerNewProjectMutation, { data, loading, error }] = useRegisterNewProjectMutation({
278
+ * variables: {
279
+ * input: // value for 'input'
280
+ * },
281
+ * });
282
+ */
283
+ function useRegisterNewProjectMutation(baseOptions) {
284
+ return Apollo.useMutation(exports.RegisterNewProjectDocument, baseOptions);
285
+ }
286
+ exports.useRegisterNewProjectMutation = useRegisterNewProjectMutation;
197
287
  exports.FetchAirdropRegistrationsCsvDocument = (0, client_1.gql) `
198
288
  query FetchAirdropRegistrationsCsv($opportunityId: ID!) {
199
289
  fetchAirdropRegistrationsCsv(opportunityId: $opportunityId)
@@ -708,3 +798,74 @@ function useFetchProfileOpportunitiesLazyQuery(baseOptions) {
708
798
  return Apollo.useLazyQuery(exports.FetchProfileOpportunitiesDocument, baseOptions);
709
799
  }
710
800
  exports.useFetchProfileOpportunitiesLazyQuery = useFetchProfileOpportunitiesLazyQuery;
801
+ exports.FetchProjectBySlugDocument = (0, client_1.gql) `
802
+ query FetchProjectBySlug($slug: String!) {
803
+ fetchProjectBySlug(slug: $slug) {
804
+ blockchain
805
+ contract
806
+ name
807
+ slug
808
+ symbol
809
+ website
810
+ twitter
811
+ type
812
+ ludoRank
813
+ investors
814
+ holders
815
+ volume
816
+ marketCap
817
+ liquidity
818
+ price
819
+ twitterFollowers
820
+ twitterSentiment
821
+ verified
822
+ snapshots {
823
+ date
824
+ contract
825
+ blockchain
826
+ volume
827
+ marketCap
828
+ price
829
+ liquidity
830
+ xFollowers
831
+ holders
832
+ ludoRank
833
+ }
834
+ reactions {
835
+ likes
836
+ neutrals
837
+ dislikes
838
+ }
839
+ userReaction
840
+ votesGeo {
841
+ country
842
+ votes
843
+ votesPercentage
844
+ }
845
+ }
846
+ }
847
+ `;
848
+ /**
849
+ * __useFetchProjectBySlugQuery__
850
+ *
851
+ * To run a query within a React component, call `useFetchProjectBySlugQuery` and pass it any options that fit your needs.
852
+ * When your component renders, `useFetchProjectBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
853
+ * you can use to render your UI.
854
+ *
855
+ * @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;
856
+ *
857
+ * @example
858
+ * const { data, loading, error } = useFetchProjectBySlugQuery({
859
+ * variables: {
860
+ * slug: // value for 'slug'
861
+ * },
862
+ * });
863
+ */
864
+ function useFetchProjectBySlugQuery(baseOptions) {
865
+ return Apollo.useQuery(exports.FetchProjectBySlugDocument, baseOptions);
866
+ }
867
+ exports.useFetchProjectBySlugQuery = useFetchProjectBySlugQuery;
868
+ function useFetchProjectBySlugLazyQuery(baseOptions) {
869
+ return Apollo.useLazyQuery(exports.FetchProjectBySlugDocument, baseOptions);
870
+ }
871
+ exports.useFetchProjectBySlugLazyQuery = useFetchProjectBySlugLazyQuery;