@ludo.ninja/api 3.2.24 → 3.2.26

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/index.d.ts CHANGED
@@ -49,16 +49,10 @@ declare const schema: {
49
49
  useOnNotificationSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<notificationsSchema.IOnNotificationSubscription, notificationsSchema.Exact<{
50
50
  authToken: string;
51
51
  notificationTypes: notificationsSchema.INotificationType[];
52
- }>>): {
53
- restart: () => void;
54
- loading: boolean;
55
- data?: notificationsSchema.IOnNotificationSubscription | undefined;
56
- error?: import("@apollo/client").ApolloError | undefined;
57
- variables?: notificationsSchema.Exact<{
58
- authToken: string;
59
- notificationTypes: notificationsSchema.INotificationType[];
60
- }> | undefined;
61
- };
52
+ }>>): import("@apollo/client").SubscriptionResult<notificationsSchema.IOnNotificationSubscription, notificationsSchema.Exact<{
53
+ authToken: string;
54
+ notificationTypes: notificationsSchema.INotificationType[];
55
+ }>>;
62
56
  IEventType: typeof notificationsSchema.IEventType;
63
57
  INotificationType: typeof notificationsSchema.INotificationType;
64
58
  ReadNotificationDocument: import("graphql").DocumentNode;
@@ -150,15 +144,9 @@ declare const schema: {
150
144
  }>>;
151
145
  useOnPlayerStateUpdatedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<tapsSchema.IOnPlayerStateUpdatedSubscription, tapsSchema.Exact<{
152
146
  authToken: string;
153
- }>>): {
154
- restart: () => void;
155
- loading: boolean;
156
- data?: tapsSchema.IOnPlayerStateUpdatedSubscription | undefined;
157
- error?: import("@apollo/client").ApolloError | undefined;
158
- variables?: tapsSchema.Exact<{
159
- authToken: string;
160
- }> | undefined;
161
- };
147
+ }>>): import("@apollo/client").SubscriptionResult<tapsSchema.IOnPlayerStateUpdatedSubscription, tapsSchema.Exact<{
148
+ authToken: string;
149
+ }>>;
162
150
  IFarmingStatus: typeof tapsSchema.IFarmingStatus;
163
151
  INotificationStatus: typeof tapsSchema.INotificationStatus;
164
152
  IPlayingStreakStatus: typeof tapsSchema.IPlayingStreakStatus;
@@ -814,6 +802,11 @@ declare const schema: {
814
802
  blockchain: string;
815
803
  address: string;
816
804
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
805
+ useRegisterForProjectAirdropsUpdatesMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IRegisterForProjectAirdropsUpdatesMutation, opportunitiesSchema.Exact<{
806
+ input: opportunitiesSchema.IProjectAirdropRegistrationInput;
807
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IRegisterForProjectAirdropsUpdatesMutation, opportunitiesSchema.Exact<{
808
+ input: opportunitiesSchema.IProjectAirdropRegistrationInput;
809
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
817
810
  useRegisterNewProjectMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IRegisterNewProjectMutation, opportunitiesSchema.Exact<{
818
811
  input: opportunitiesSchema.IProjectRegistrationInput;
819
812
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IRegisterNewProjectMutation, opportunitiesSchema.Exact<{
@@ -824,6 +817,11 @@ declare const schema: {
824
817
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.ISubscribeOnAlertsMutation, opportunitiesSchema.Exact<{
825
818
  input: opportunitiesSchema.IAlertsSubscriptionInput;
826
819
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
820
+ useUnregisterForProjectAirdropsUpdatesMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IUnregisterForProjectAirdropsUpdatesMutation, opportunitiesSchema.Exact<{
821
+ input: opportunitiesSchema.IProjectAirdropUnregisterationInput;
822
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IUnregisterForProjectAirdropsUpdatesMutation, opportunitiesSchema.Exact<{
823
+ input: opportunitiesSchema.IProjectAirdropUnregisterationInput;
824
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
827
825
  useFetchAirdropRegistrationsCsvQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
828
826
  opportunityId: string;
829
827
  }>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
@@ -953,8 +951,10 @@ declare const schema: {
953
951
  ReconsiderProjectStatusDocument: import("graphql").DocumentNode;
954
952
  RegisterForAirdropDocument: import("graphql").DocumentNode;
955
953
  RegisterForAirdrop2Document: import("graphql").DocumentNode;
954
+ RegisterForProjectAirdropsUpdatesDocument: import("graphql").DocumentNode;
956
955
  RegisterNewProjectDocument: import("graphql").DocumentNode;
957
956
  SubscribeOnAlertsDocument: import("graphql").DocumentNode;
957
+ UnregisterForProjectAirdropsUpdatesDocument: import("graphql").DocumentNode;
958
958
  FetchAirdropRegistrationsCsvDocument: import("graphql").DocumentNode;
959
959
  FetchOpportunitiesByIdsDocument: import("graphql").DocumentNode;
960
960
  FetchOpportunitiesForProfileDocument: import("graphql").DocumentNode;
@@ -1661,59 +1661,29 @@ declare const schema: {
1661
1661
  }>>;
1662
1662
  useOnCommonOpportunityNotificationSubscription(baseOptions?: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnCommonOpportunityNotificationSubscription, experiencesSchema.Exact<{
1663
1663
  [key: string]: never;
1664
- }>> | undefined): {
1665
- restart: () => void;
1666
- loading: boolean;
1667
- data?: experiencesSchema.IOnCommonOpportunityNotificationSubscription | undefined;
1668
- error?: import("@apollo/client").ApolloError | undefined;
1669
- variables?: experiencesSchema.Exact<{
1670
- [key: string]: never;
1671
- }> | undefined;
1672
- };
1664
+ }>> | undefined): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnCommonOpportunityNotificationSubscription, experiencesSchema.Exact<{
1665
+ [key: string]: never;
1666
+ }>>;
1673
1667
  useOnInviteCodeUsedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
1674
1668
  authToken: string;
1675
- }>>): {
1676
- restart: () => void;
1677
- loading: boolean;
1678
- data?: experiencesSchema.IOnInviteCodeUsedSubscription | undefined;
1679
- error?: import("@apollo/client").ApolloError | undefined;
1680
- variables?: experiencesSchema.Exact<{
1681
- authToken: string;
1682
- }> | undefined;
1683
- };
1669
+ }>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
1670
+ authToken: string;
1671
+ }>>;
1684
1672
  useOnMyExperienceIncrementedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceIncrementedSubscription, experiencesSchema.Exact<{
1685
1673
  authToken: string;
1686
- }>>): {
1687
- restart: () => void;
1688
- loading: boolean;
1689
- data?: experiencesSchema.IOnMyExperienceIncrementedSubscription | undefined;
1690
- error?: import("@apollo/client").ApolloError | undefined;
1691
- variables?: experiencesSchema.Exact<{
1692
- authToken: string;
1693
- }> | undefined;
1694
- };
1674
+ }>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnMyExperienceIncrementedSubscription, experiencesSchema.Exact<{
1675
+ authToken: string;
1676
+ }>>;
1695
1677
  useOnMyExperienceUpdatedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceUpdatedSubscription, experiencesSchema.Exact<{
1696
1678
  authToken: string;
1697
- }>>): {
1698
- restart: () => void;
1699
- loading: boolean;
1700
- data?: experiencesSchema.IOnMyExperienceUpdatedSubscription | undefined;
1701
- error?: import("@apollo/client").ApolloError | undefined;
1702
- variables?: experiencesSchema.Exact<{
1703
- authToken: string;
1704
- }> | undefined;
1705
- };
1679
+ }>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnMyExperienceUpdatedSubscription, experiencesSchema.Exact<{
1680
+ authToken: string;
1681
+ }>>;
1706
1682
  useOnUserOpportunityNotificationSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnUserOpportunityNotificationSubscription, experiencesSchema.Exact<{
1707
1683
  authToken: string;
1708
- }>>): {
1709
- restart: () => void;
1710
- loading: boolean;
1711
- data?: experiencesSchema.IOnUserOpportunityNotificationSubscription | undefined;
1712
- error?: import("@apollo/client").ApolloError | undefined;
1713
- variables?: experiencesSchema.Exact<{
1714
- authToken: string;
1715
- }> | undefined;
1716
- };
1684
+ }>>): import("@apollo/client").SubscriptionResult<experiencesSchema.IOnUserOpportunityNotificationSubscription, experiencesSchema.Exact<{
1685
+ authToken: string;
1686
+ }>>;
1717
1687
  FetchMyActivityStreakDocument: import("graphql").DocumentNode;
1718
1688
  FetchMyExperienceV2Document: import("graphql").DocumentNode;
1719
1689
  FetchMyMonthReferralsXpsDocument: import("graphql").DocumentNode;
@@ -2464,6 +2434,20 @@ declare const schema: {
2464
2434
  sort: adminSchema.IAdminProjectsMonitoringSortInput;
2465
2435
  page: adminSchema.IAdminPageInput;
2466
2436
  }>>;
2437
+ useFetchProjectAirdropRegistrationsInfoCsvQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchProjectAirdropRegistrationsInfoCsvQuery, adminSchema.Exact<{
2438
+ blockchain: string;
2439
+ contract: string;
2440
+ }>>): import("@apollo/client").QueryResult<adminSchema.IFetchProjectAirdropRegistrationsInfoCsvQuery, adminSchema.Exact<{
2441
+ blockchain: string;
2442
+ contract: string;
2443
+ }>>;
2444
+ useFetchProjectAirdropRegistrationsInfoCsvLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchProjectAirdropRegistrationsInfoCsvQuery, adminSchema.Exact<{
2445
+ blockchain: string;
2446
+ contract: string;
2447
+ }>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchProjectAirdropRegistrationsInfoCsvQuery, adminSchema.Exact<{
2448
+ blockchain: string;
2449
+ contract: string;
2450
+ }>>;
2467
2451
  useFetchProjectLinksClicksInfoCsvQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchProjectLinksClicksInfoCsvQuery, adminSchema.Exact<{
2468
2452
  blockchain: string;
2469
2453
  contract: string;
@@ -2565,6 +2549,7 @@ declare const schema: {
2565
2549
  FetchLeaderboardDocument: import("graphql").DocumentNode;
2566
2550
  FetchLeaderboardProjectsPageDocument: import("graphql").DocumentNode;
2567
2551
  FetchMonitoringPageDocument: import("graphql").DocumentNode;
2552
+ FetchProjectAirdropRegistrationsInfoCsvDocument: import("graphql").DocumentNode;
2568
2553
  FetchProjectLinksClicksInfoCsvDocument: import("graphql").DocumentNode;
2569
2554
  FetchProjectReactionsInfoCsvDocument: import("graphql").DocumentNode;
2570
2555
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.2.24",
3
+ "version": "3.2.26",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -1140,6 +1140,7 @@ export type IQuery = {
1140
1140
  fetchLeaderboardProjectsPage: IAdminLeaderboardProjectsPage;
1141
1141
  fetchProjectReactionsInfoCsv: Scalars['String'];
1142
1142
  fetchProjectLinksClicksInfoCsv: Scalars['String'];
1143
+ fetchProjectAirdropRegistrationsInfoCsv: Scalars['String'];
1143
1144
  fetchAdminReferralsPage: IReferralsPage;
1144
1145
  fetchUnarchivedReferralTypes: Array<IReferralType>;
1145
1146
  fetchReferralTypesPage: IReferralTypesPage;
@@ -1303,6 +1304,12 @@ export type IQueryFetchProjectLinksClicksInfoCsvArgs = {
1303
1304
  };
1304
1305
 
1305
1306
 
1307
+ export type IQueryFetchProjectAirdropRegistrationsInfoCsvArgs = {
1308
+ blockchain: Scalars['String'];
1309
+ contract: Scalars['String'];
1310
+ };
1311
+
1312
+
1306
1313
  export type IQueryFetchAdminReferralsPageArgs = {
1307
1314
  filter: IReferralsFilterInput;
1308
1315
  sort: IReferralsSortInput;
@@ -2502,6 +2509,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
2502
2509
  fetchLeaderboardProjectsPage?: Resolver<IResolversTypes['AdminLeaderboardProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchLeaderboardProjectsPageArgs, 'filter' | 'sort' | 'page'>>;
2503
2510
  fetchProjectReactionsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchProjectReactionsInfoCsvArgs, 'blockchain' | 'contract'>>;
2504
2511
  fetchProjectLinksClicksInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchProjectLinksClicksInfoCsvArgs, 'blockchain' | 'contract'>>;
2512
+ fetchProjectAirdropRegistrationsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchProjectAirdropRegistrationsInfoCsvArgs, 'blockchain' | 'contract'>>;
2505
2513
  fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
2506
2514
  fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
2507
2515
  fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
@@ -3247,6 +3255,14 @@ export type IFetchMonitoringPageQuery = { fetchMonitoringPage: { projectsMonitor
3247
3255
  & { wallets?: Maybe<Array<Pick<IWallet, 'address' | 'blockchain' | 'chainId' | 'isMain'>>>, projects?: Maybe<Array<Pick<IAdminProject, 'blockchain' | 'contract' | 'name'>>> }
3248
3256
  )>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
3249
3257
 
3258
+ export type IFetchProjectAirdropRegistrationsInfoCsvQueryVariables = Exact<{
3259
+ blockchain: Scalars['String'];
3260
+ contract: Scalars['String'];
3261
+ }>;
3262
+
3263
+
3264
+ export type IFetchProjectAirdropRegistrationsInfoCsvQuery = Pick<IQuery, 'fetchProjectAirdropRegistrationsInfoCsv'>;
3265
+
3250
3266
  export type IFetchProjectLinksClicksInfoCsvQueryVariables = Exact<{
3251
3267
  blockchain: Scalars['String'];
3252
3268
  contract: Scalars['String'];
@@ -5879,6 +5895,41 @@ export function useFetchMonitoringPageLazyQuery(baseOptions?: Apollo.LazyQueryHo
5879
5895
  export type FetchMonitoringPageQueryHookResult = ReturnType<typeof useFetchMonitoringPageQuery>;
5880
5896
  export type FetchMonitoringPageLazyQueryHookResult = ReturnType<typeof useFetchMonitoringPageLazyQuery>;
5881
5897
  export type FetchMonitoringPageQueryResult = Apollo.QueryResult<IFetchMonitoringPageQuery, IFetchMonitoringPageQueryVariables>;
5898
+ export const FetchProjectAirdropRegistrationsInfoCsvDocument = gql`
5899
+ query FetchProjectAirdropRegistrationsInfoCsv($blockchain: String!, $contract: String!) {
5900
+ fetchProjectAirdropRegistrationsInfoCsv(
5901
+ blockchain: $blockchain
5902
+ contract: $contract
5903
+ )
5904
+ }
5905
+ `;
5906
+
5907
+ /**
5908
+ * __useFetchProjectAirdropRegistrationsInfoCsvQuery__
5909
+ *
5910
+ * To run a query within a React component, call `useFetchProjectAirdropRegistrationsInfoCsvQuery` and pass it any options that fit your needs.
5911
+ * When your component renders, `useFetchProjectAirdropRegistrationsInfoCsvQuery` returns an object from Apollo Client that contains loading, error, and data properties
5912
+ * you can use to render your UI.
5913
+ *
5914
+ * @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;
5915
+ *
5916
+ * @example
5917
+ * const { data, loading, error } = useFetchProjectAirdropRegistrationsInfoCsvQuery({
5918
+ * variables: {
5919
+ * blockchain: // value for 'blockchain'
5920
+ * contract: // value for 'contract'
5921
+ * },
5922
+ * });
5923
+ */
5924
+ export function useFetchProjectAirdropRegistrationsInfoCsvQuery(baseOptions: Apollo.QueryHookOptions<IFetchProjectAirdropRegistrationsInfoCsvQuery, IFetchProjectAirdropRegistrationsInfoCsvQueryVariables>) {
5925
+ return Apollo.useQuery<IFetchProjectAirdropRegistrationsInfoCsvQuery, IFetchProjectAirdropRegistrationsInfoCsvQueryVariables>(FetchProjectAirdropRegistrationsInfoCsvDocument, baseOptions);
5926
+ }
5927
+ export function useFetchProjectAirdropRegistrationsInfoCsvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProjectAirdropRegistrationsInfoCsvQuery, IFetchProjectAirdropRegistrationsInfoCsvQueryVariables>) {
5928
+ return Apollo.useLazyQuery<IFetchProjectAirdropRegistrationsInfoCsvQuery, IFetchProjectAirdropRegistrationsInfoCsvQueryVariables>(FetchProjectAirdropRegistrationsInfoCsvDocument, baseOptions);
5929
+ }
5930
+ export type FetchProjectAirdropRegistrationsInfoCsvQueryHookResult = ReturnType<typeof useFetchProjectAirdropRegistrationsInfoCsvQuery>;
5931
+ export type FetchProjectAirdropRegistrationsInfoCsvLazyQueryHookResult = ReturnType<typeof useFetchProjectAirdropRegistrationsInfoCsvLazyQuery>;
5932
+ export type FetchProjectAirdropRegistrationsInfoCsvQueryResult = Apollo.QueryResult<IFetchProjectAirdropRegistrationsInfoCsvQuery, IFetchProjectAirdropRegistrationsInfoCsvQueryVariables>;
5882
5933
  export const FetchProjectLinksClicksInfoCsvDocument = gql`
5883
5934
  query FetchProjectLinksClicksInfoCsv($blockchain: String!, $contract: String!) {
5884
5935
  fetchProjectLinksClicksInfoCsv(blockchain: $blockchain, contract: $contract)
@@ -137,6 +137,8 @@ export type IMutation = {
137
137
  subscribeOnAlerts: Scalars['Boolean'];
138
138
  reconsiderProjectStatus: Scalars['Boolean'];
139
139
  clickOnProjectLink: Scalars['Boolean'];
140
+ registerForProjectAirdropsUpdates: Scalars['Boolean'];
141
+ unregisterForProjectAirdropsUpdates: Scalars['Boolean'];
140
142
  };
141
143
 
142
144
 
@@ -253,6 +255,16 @@ export type IMutationClickOnProjectLinkArgs = {
253
255
  input: IProjectLinkClickInput;
254
256
  };
255
257
 
258
+
259
+ export type IMutationRegisterForProjectAirdropsUpdatesArgs = {
260
+ input: IProjectAirdropRegistrationInput;
261
+ };
262
+
263
+
264
+ export type IMutationUnregisterForProjectAirdropsUpdatesArgs = {
265
+ input: IProjectAirdropUnregisterationInput;
266
+ };
267
+
256
268
  export type IOpportunitiesPage = {
257
269
  currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
258
270
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
@@ -405,6 +417,17 @@ export type IProject = {
405
417
  publisher?: Maybe<IPublisher>;
406
418
  communityVoteDetails?: Maybe<Array<ICommunityVoteDetails>>;
407
419
  shareLink?: Maybe<Scalars['String']>;
420
+ airdropUpdatesSubscriptionIsActive?: Maybe<Scalars['Boolean']>;
421
+ };
422
+
423
+ export type IProjectAirdropRegistrationInput = {
424
+ blockchain: Scalars['String'];
425
+ contract: Scalars['String'];
426
+ };
427
+
428
+ export type IProjectAirdropUnregisterationInput = {
429
+ blockchain: Scalars['String'];
430
+ contract: Scalars['String'];
408
431
  };
409
432
 
410
433
  export type IProjectAlerting = {
@@ -690,6 +713,8 @@ export type IResolversTypes = {
690
713
  OpportunityV2: ResolverTypeWrapper<IOpportunityV2>;
691
714
  ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
692
715
  Project: ResolverTypeWrapper<IProject>;
716
+ ProjectAirdropRegistrationInput: IProjectAirdropRegistrationInput;
717
+ ProjectAirdropUnregisterationInput: IProjectAirdropUnregisterationInput;
693
718
  ProjectAlerting: ResolverTypeWrapper<IProjectAlerting>;
694
719
  ProjectCommunityVote: ResolverTypeWrapper<IProjectCommunityVote>;
695
720
  ProjectLinkClickInput: IProjectLinkClickInput;
@@ -736,6 +761,8 @@ export type IResolversParentTypes = {
736
761
  OpportunityV2: IOpportunityV2;
737
762
  ProfileOpportunities: IProfileOpportunities;
738
763
  Project: IProject;
764
+ ProjectAirdropRegistrationInput: IProjectAirdropRegistrationInput;
765
+ ProjectAirdropUnregisterationInput: IProjectAirdropUnregisterationInput;
739
766
  ProjectAlerting: IProjectAlerting;
740
767
  ProjectCommunityVote: IProjectCommunityVote;
741
768
  ProjectLinkClickInput: IProjectLinkClickInput;
@@ -857,6 +884,8 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
857
884
  subscribeOnAlerts?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubscribeOnAlertsArgs, 'input'>>;
858
885
  reconsiderProjectStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReconsiderProjectStatusArgs, 'input'>>;
859
886
  clickOnProjectLink?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationClickOnProjectLinkArgs, 'input'>>;
887
+ registerForProjectAirdropsUpdates?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRegisterForProjectAirdropsUpdatesArgs, 'input'>>;
888
+ unregisterForProjectAirdropsUpdates?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnregisterForProjectAirdropsUpdatesArgs, 'input'>>;
860
889
  };
861
890
 
862
891
  export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
@@ -984,6 +1013,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
984
1013
  publisher?: Resolver<Maybe<IResolversTypes['Publisher']>, ParentType, ContextType>;
985
1014
  communityVoteDetails?: Resolver<Maybe<Array<IResolversTypes['CommunityVoteDetails']>>, ParentType, ContextType>;
986
1015
  shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1016
+ airdropUpdatesSubscriptionIsActive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
987
1017
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
988
1018
  };
989
1019
 
@@ -1199,6 +1229,13 @@ export type IRegisterForAirdrop2MutationVariables = Exact<{
1199
1229
 
1200
1230
  export type IRegisterForAirdrop2Mutation = Pick<IMutation, 'registerForAirdrop2'>;
1201
1231
 
1232
+ export type IRegisterForProjectAirdropsUpdatesMutationVariables = Exact<{
1233
+ input: IProjectAirdropRegistrationInput;
1234
+ }>;
1235
+
1236
+
1237
+ export type IRegisterForProjectAirdropsUpdatesMutation = Pick<IMutation, 'registerForProjectAirdropsUpdates'>;
1238
+
1202
1239
  export type IRegisterNewProjectMutationVariables = Exact<{
1203
1240
  input: IProjectRegistrationInput;
1204
1241
  }>;
@@ -1216,6 +1253,13 @@ export type ISubscribeOnAlertsMutationVariables = Exact<{
1216
1253
 
1217
1254
  export type ISubscribeOnAlertsMutation = Pick<IMutation, 'subscribeOnAlerts'>;
1218
1255
 
1256
+ export type IUnregisterForProjectAirdropsUpdatesMutationVariables = Exact<{
1257
+ input: IProjectAirdropUnregisterationInput;
1258
+ }>;
1259
+
1260
+
1261
+ export type IUnregisterForProjectAirdropsUpdatesMutation = Pick<IMutation, 'unregisterForProjectAirdropsUpdates'>;
1262
+
1219
1263
  export type IFetchAirdropRegistrationsCsvQueryVariables = Exact<{
1220
1264
  opportunityId: Scalars['ID'];
1221
1265
  }>;
@@ -1307,7 +1351,7 @@ export type IFetchProjectBySlugQueryVariables = Exact<{
1307
1351
 
1308
1352
 
1309
1353
  export type IFetchProjectBySlugQuery = { fetchProjectBySlug: (
1310
- Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'mediaUrl' | 'originalMediaUrl' | 'alertsSubscriptionIsActive' | 'shareLink' | 'userReaction' | 'communityVote' | 'hideDiagrams'>
1354
+ Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'mediaUrl' | 'originalMediaUrl' | 'alertsSubscriptionIsActive' | 'airdropUpdatesSubscriptionIsActive' | 'shareLink' | 'userReaction' | 'communityVote' | 'hideDiagrams'>
1311
1355
  & { publisher?: Maybe<Pick<IPublisher, 'userId' | 'username' | 'userpic' | 'rank'>>, status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>>, snapshots?: Maybe<Array<Maybe<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>>, reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>, votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>, airdrops?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>, opportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>, communityVotes?: Maybe<Array<Maybe<Pick<IProjectCommunityVote, 'calculatedAt' | 'communityVote' | 'likesRating' | 'neutralsRating' | 'dislikesRating'>>>>, holdersGeo?: Maybe<Array<Maybe<Pick<IHoldersGeolocation, 'country' | 'holders' | 'percentage'>>>>, communityVoteDetails?: Maybe<Array<(
1312
1356
  Pick<ICommunityVoteDetails, 'projectId' | 'voteType' | 'avgUserRank' | 'avgWealth' | 'avgUserXps'>
1313
1357
  & { votesGeo?: Maybe<Array<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>> }
@@ -1671,6 +1715,36 @@ export function useRegisterForAirdrop2Mutation(baseOptions?: Apollo.MutationHook
1671
1715
  export type RegisterForAirdrop2MutationHookResult = ReturnType<typeof useRegisterForAirdrop2Mutation>;
1672
1716
  export type RegisterForAirdrop2MutationResult = Apollo.MutationResult<IRegisterForAirdrop2Mutation>;
1673
1717
  export type RegisterForAirdrop2MutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdrop2Mutation, IRegisterForAirdrop2MutationVariables>;
1718
+ export const RegisterForProjectAirdropsUpdatesDocument = gql`
1719
+ mutation RegisterForProjectAirdropsUpdates($input: ProjectAirdropRegistrationInput!) {
1720
+ registerForProjectAirdropsUpdates(input: $input)
1721
+ }
1722
+ `;
1723
+ export type IRegisterForProjectAirdropsUpdatesMutationFn = Apollo.MutationFunction<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>;
1724
+
1725
+ /**
1726
+ * __useRegisterForProjectAirdropsUpdatesMutation__
1727
+ *
1728
+ * To run a mutation, you first call `useRegisterForProjectAirdropsUpdatesMutation` within a React component and pass it any options that fit your needs.
1729
+ * When your component renders, `useRegisterForProjectAirdropsUpdatesMutation` returns a tuple that includes:
1730
+ * - A mutate function that you can call at any time to execute the mutation
1731
+ * - An object with fields that represent the current status of the mutation's execution
1732
+ *
1733
+ * @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;
1734
+ *
1735
+ * @example
1736
+ * const [registerForProjectAirdropsUpdatesMutation, { data, loading, error }] = useRegisterForProjectAirdropsUpdatesMutation({
1737
+ * variables: {
1738
+ * input: // value for 'input'
1739
+ * },
1740
+ * });
1741
+ */
1742
+ export function useRegisterForProjectAirdropsUpdatesMutation(baseOptions?: Apollo.MutationHookOptions<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>) {
1743
+ return Apollo.useMutation<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>(RegisterForProjectAirdropsUpdatesDocument, baseOptions);
1744
+ }
1745
+ export type RegisterForProjectAirdropsUpdatesMutationHookResult = ReturnType<typeof useRegisterForProjectAirdropsUpdatesMutation>;
1746
+ export type RegisterForProjectAirdropsUpdatesMutationResult = Apollo.MutationResult<IRegisterForProjectAirdropsUpdatesMutation>;
1747
+ export type RegisterForProjectAirdropsUpdatesMutationOptions = Apollo.BaseMutationOptions<IRegisterForProjectAirdropsUpdatesMutation, IRegisterForProjectAirdropsUpdatesMutationVariables>;
1674
1748
  export const RegisterNewProjectDocument = gql`
1675
1749
  mutation RegisterNewProject($input: ProjectRegistrationInput!) {
1676
1750
  registerNewProject(input: $input) {
@@ -1740,6 +1814,36 @@ export function useSubscribeOnAlertsMutation(baseOptions?: Apollo.MutationHookOp
1740
1814
  export type SubscribeOnAlertsMutationHookResult = ReturnType<typeof useSubscribeOnAlertsMutation>;
1741
1815
  export type SubscribeOnAlertsMutationResult = Apollo.MutationResult<ISubscribeOnAlertsMutation>;
1742
1816
  export type SubscribeOnAlertsMutationOptions = Apollo.BaseMutationOptions<ISubscribeOnAlertsMutation, ISubscribeOnAlertsMutationVariables>;
1817
+ export const UnregisterForProjectAirdropsUpdatesDocument = gql`
1818
+ mutation UnregisterForProjectAirdropsUpdates($input: ProjectAirdropUnregisterationInput!) {
1819
+ unregisterForProjectAirdropsUpdates(input: $input)
1820
+ }
1821
+ `;
1822
+ export type IUnregisterForProjectAirdropsUpdatesMutationFn = Apollo.MutationFunction<IUnregisterForProjectAirdropsUpdatesMutation, IUnregisterForProjectAirdropsUpdatesMutationVariables>;
1823
+
1824
+ /**
1825
+ * __useUnregisterForProjectAirdropsUpdatesMutation__
1826
+ *
1827
+ * To run a mutation, you first call `useUnregisterForProjectAirdropsUpdatesMutation` within a React component and pass it any options that fit your needs.
1828
+ * When your component renders, `useUnregisterForProjectAirdropsUpdatesMutation` returns a tuple that includes:
1829
+ * - A mutate function that you can call at any time to execute the mutation
1830
+ * - An object with fields that represent the current status of the mutation's execution
1831
+ *
1832
+ * @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;
1833
+ *
1834
+ * @example
1835
+ * const [unregisterForProjectAirdropsUpdatesMutation, { data, loading, error }] = useUnregisterForProjectAirdropsUpdatesMutation({
1836
+ * variables: {
1837
+ * input: // value for 'input'
1838
+ * },
1839
+ * });
1840
+ */
1841
+ export function useUnregisterForProjectAirdropsUpdatesMutation(baseOptions?: Apollo.MutationHookOptions<IUnregisterForProjectAirdropsUpdatesMutation, IUnregisterForProjectAirdropsUpdatesMutationVariables>) {
1842
+ return Apollo.useMutation<IUnregisterForProjectAirdropsUpdatesMutation, IUnregisterForProjectAirdropsUpdatesMutationVariables>(UnregisterForProjectAirdropsUpdatesDocument, baseOptions);
1843
+ }
1844
+ export type UnregisterForProjectAirdropsUpdatesMutationHookResult = ReturnType<typeof useUnregisterForProjectAirdropsUpdatesMutation>;
1845
+ export type UnregisterForProjectAirdropsUpdatesMutationResult = Apollo.MutationResult<IUnregisterForProjectAirdropsUpdatesMutation>;
1846
+ export type UnregisterForProjectAirdropsUpdatesMutationOptions = Apollo.BaseMutationOptions<IUnregisterForProjectAirdropsUpdatesMutation, IUnregisterForProjectAirdropsUpdatesMutationVariables>;
1743
1847
  export const FetchAirdropRegistrationsCsvDocument = gql`
1744
1848
  query FetchAirdropRegistrationsCsv($opportunityId: ID!) {
1745
1849
  fetchAirdropRegistrationsCsv(opportunityId: $opportunityId)
@@ -2569,6 +2673,7 @@ export const FetchProjectBySlugDocument = gql`
2569
2673
  mediaUrl
2570
2674
  originalMediaUrl
2571
2675
  alertsSubscriptionIsActive
2676
+ airdropUpdatesSubscriptionIsActive
2572
2677
  publisher {
2573
2678
  userId
2574
2679
  username