@ludo.ninja/api 3.2.0 → 3.2.2

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.
@@ -20,7 +20,7 @@ export type Scalars = {
20
20
  };
21
21
 
22
22
 
23
- export enum IChains {
23
+ export enum IBlockchains {
24
24
  PolygonMainnet = 'POLYGON_MAINNET',
25
25
  PolygonAmoy = 'POLYGON_AMOY',
26
26
  EthereumMainnet = 'ETHEREUM_MAINNET',
@@ -28,7 +28,9 @@ export enum IChains {
28
28
  BaseMainnet = 'BASE_MAINNET',
29
29
  BaseSepolia = 'BASE_SEPOLIA',
30
30
  BscMainnet = 'BSC_MAINNET',
31
- BscTestnet = 'BSC_TESTNET'
31
+ BscTestnet = 'BSC_TESTNET',
32
+ TonTestnet = 'TON_TESTNET',
33
+ TonMainnet = 'TON_MAINNET'
32
34
  }
33
35
 
34
36
 
@@ -62,13 +64,19 @@ export type IQueryFetchMintingInfoArgs = {
62
64
 
63
65
 
64
66
  export type IQueryFetchGasPriceArgs = {
65
- chain: IChains;
67
+ chain: IBlockchains;
66
68
  };
67
69
 
68
70
  export type ITier = {
69
71
  id: Scalars['String'];
70
72
  name: Scalars['String'];
71
73
  description?: Maybe<Scalars['String']>;
74
+ fees?: Maybe<Array<Maybe<ITierFee>>>;
75
+ archived?: Maybe<Scalars['Boolean']>;
76
+ };
77
+
78
+ export type ITierFee = {
79
+ blockchain: IBlockchains;
72
80
  fee?: Maybe<Scalars['Float']>;
73
81
  };
74
82
 
@@ -142,7 +150,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
142
150
 
143
151
  /** Mapping between all available schema types and the resolvers types */
144
152
  export type IResolversTypes = {
145
- Chains: IChains;
153
+ Blockchains: IBlockchains;
146
154
  Long: ResolverTypeWrapper<Scalars['Long']>;
147
155
  MintingInfo: ResolverTypeWrapper<IMintingInfo>;
148
156
  Int: ResolverTypeWrapper<Scalars['Int']>;
@@ -152,8 +160,9 @@ export type IResolversTypes = {
152
160
  Mutation: ResolverTypeWrapper<{}>;
153
161
  Query: ResolverTypeWrapper<{}>;
154
162
  Tier: ResolverTypeWrapper<ITier>;
155
- Upload: ResolverTypeWrapper<Scalars['Upload']>;
156
163
  Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
164
+ TierFee: ResolverTypeWrapper<ITierFee>;
165
+ Upload: ResolverTypeWrapper<Scalars['Upload']>;
157
166
  };
158
167
 
159
168
  /** Mapping between all available schema types and the resolvers parents */
@@ -167,8 +176,9 @@ export type IResolversParentTypes = {
167
176
  Mutation: {};
168
177
  Query: {};
169
178
  Tier: ITier;
170
- Upload: Scalars['Upload'];
171
179
  Boolean: Scalars['Boolean'];
180
+ TierFee: ITierFee;
181
+ Upload: Scalars['Upload'];
172
182
  };
173
183
 
174
184
  export type IOneOfDirectiveArgs = { };
@@ -200,6 +210,13 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
200
210
  id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
201
211
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
202
212
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
213
+ fees?: Resolver<Maybe<Array<Maybe<IResolversTypes['TierFee']>>>, ParentType, ContextType>;
214
+ archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
215
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
216
+ };
217
+
218
+ export type ITierFeeResolvers<ContextType = any, ParentType extends IResolversParentTypes['TierFee'] = IResolversParentTypes['TierFee']> = {
219
+ blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
203
220
  fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
204
221
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
205
222
  };
@@ -214,6 +231,7 @@ export type IResolvers<ContextType = any> = {
214
231
  Mutation?: IMutationResolvers<ContextType>;
215
232
  Query?: IQueryResolvers<ContextType>;
216
233
  Tier?: ITierResolvers<ContextType>;
234
+ TierFee?: ITierFeeResolvers<ContextType>;
217
235
  Upload?: GraphQLScalarType;
218
236
  };
219
237
 
@@ -228,7 +246,10 @@ export type IFetchMintingInfoQueryVariables = Exact<{
228
246
 
229
247
  export type IFetchMintingInfoQuery = { fetchMintingInfo: (
230
248
  Pick<IMintingInfo, 'rank' | 'nftPrice'>
231
- & { tier: Pick<ITier, 'id' | 'name' | 'description' | 'fee'> }
249
+ & { tier: (
250
+ Pick<ITier, 'id' | 'name' | 'description'>
251
+ & { fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>> }
252
+ ) }
232
253
  ) };
233
254
 
234
255
 
@@ -240,7 +261,10 @@ export const FetchMintingInfoDocument = gql`
240
261
  id
241
262
  name
242
263
  description
243
- fee
264
+ fees {
265
+ blockchain
266
+ fee
267
+ }
244
268
  }
245
269
  nftPrice
246
270
  }
@@ -19,6 +19,11 @@ export type Scalars = {
19
19
  };
20
20
 
21
21
 
22
+ export type IAlertsSubscriptionInput = {
23
+ blockchain: Scalars['String'];
24
+ contract: Scalars['String'];
25
+ };
26
+
22
27
  export type IBrand = {
23
28
  brandId: Scalars['ID'];
24
29
  name: Scalars['String'];
@@ -109,6 +114,7 @@ export type IMutation = {
109
114
  registerNewProject: IProjectRegistrationResult;
110
115
  reactOnProject: Scalars['Boolean'];
111
116
  activateMonitoring: Scalars['Boolean'];
117
+ subscribeOnAlerts: Scalars['Boolean'];
112
118
  };
113
119
 
114
120
 
@@ -210,6 +216,11 @@ export type IMutationActivateMonitoringArgs = {
210
216
  input: IMonitoringActivationInput;
211
217
  };
212
218
 
219
+
220
+ export type IMutationSubscribeOnAlertsArgs = {
221
+ input: IAlertsSubscriptionInput;
222
+ };
223
+
213
224
  export type IOpportunitiesPage = {
214
225
  currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
215
226
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
@@ -355,6 +366,9 @@ export type IProject = {
355
366
  holdersGeo?: Maybe<Array<Maybe<IHoldersGeolocation>>>;
356
367
  status?: Maybe<IProjectStatus>;
357
368
  ludoRankDifference?: Maybe<ILudoRankDifference>;
369
+ monitored?: Maybe<Scalars['Boolean']>;
370
+ alertsSubscriptionIsActive?: Maybe<Scalars['Boolean']>;
371
+ originalMediaUrl?: Maybe<Scalars['String']>;
358
372
  };
359
373
 
360
374
  export type IProjectCommunityVote = {
@@ -576,9 +590,10 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
576
590
 
577
591
  /** Mapping between all available schema types and the resolvers types */
578
592
  export type IResolversTypes = {
593
+ AlertsSubscriptionInput: IAlertsSubscriptionInput;
594
+ String: ResolverTypeWrapper<Scalars['String']>;
579
595
  Brand: ResolverTypeWrapper<IBrand>;
580
596
  ID: ResolverTypeWrapper<Scalars['ID']>;
581
- String: ResolverTypeWrapper<Scalars['String']>;
582
597
  Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
583
598
  BrandInput: IBrandInput;
584
599
  Category: ResolverTypeWrapper<ICategory>;
@@ -615,9 +630,10 @@ export type IResolversTypes = {
615
630
 
616
631
  /** Mapping between all available schema types and the resolvers parents */
617
632
  export type IResolversParentTypes = {
633
+ AlertsSubscriptionInput: IAlertsSubscriptionInput;
634
+ String: Scalars['String'];
618
635
  Brand: IBrand;
619
636
  ID: Scalars['ID'];
620
- String: Scalars['String'];
621
637
  Boolean: Scalars['Boolean'];
622
638
  BrandInput: IBrandInput;
623
639
  Category: ICategory;
@@ -734,6 +750,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
734
750
  registerNewProject?: Resolver<IResolversTypes['ProjectRegistrationResult'], ParentType, ContextType, RequireFields<IMutationRegisterNewProjectArgs, 'input'>>;
735
751
  reactOnProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationReactOnProjectArgs, 'input'>>;
736
752
  activateMonitoring?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationActivateMonitoringArgs, 'input'>>;
753
+ subscribeOnAlerts?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubscribeOnAlertsArgs, 'input'>>;
737
754
  };
738
755
 
739
756
  export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
@@ -854,6 +871,9 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
854
871
  holdersGeo?: Resolver<Maybe<Array<Maybe<IResolversTypes['HoldersGeolocation']>>>, ParentType, ContextType>;
855
872
  status?: Resolver<Maybe<IResolversTypes['ProjectStatus']>, ParentType, ContextType>;
856
873
  ludoRankDifference?: Resolver<Maybe<IResolversTypes['LudoRankDifference']>, ParentType, ContextType>;
874
+ monitored?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
875
+ alertsSubscriptionIsActive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
876
+ originalMediaUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
857
877
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
858
878
  };
859
879
 
@@ -1107,7 +1127,7 @@ export type IFetchProjectQueryVariables = Exact<{
1107
1127
 
1108
1128
 
1109
1129
  export type IFetchProjectQuery = { fetchProject?: Maybe<(
1110
- Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified'>
1130
+ Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'originalMediaUrl'>
1111
1131
  & { status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>> }
1112
1132
  )> };
1113
1133
 
@@ -1117,7 +1137,7 @@ export type IFetchProjectBySlugQueryVariables = Exact<{
1117
1137
 
1118
1138
 
1119
1139
  export type IFetchProjectBySlugQuery = { fetchProjectBySlug: (
1120
- Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'userReaction' | 'communityVote' | 'hideDiagrams'>
1140
+ Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'originalMediaUrl' | 'userReaction' | 'communityVote' | 'hideDiagrams'>
1121
1141
  & { 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'>>>>, holdersGeo?: Maybe<Array<Maybe<Pick<IHoldersGeolocation, 'country' | 'holders' | 'percentage'>>>> }
1122
1142
  ) };
1123
1143
 
@@ -1129,7 +1149,7 @@ export type IFetchProjectMonitoringQuery = { fetchProjectMonitoring?: Maybe<(
1129
1149
  & { monitors?: Maybe<Array<(
1130
1150
  Pick<IMonitor, 'userId' | 'blockchain' | 'contract'>
1131
1151
  & { project: (
1132
- Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'type' | 'ludoRank' | 'price' | 'verified'>
1152
+ Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'type' | 'ludoRank' | 'price' | 'verified' | 'originalMediaUrl'>
1133
1153
  & { ludoRankDifference?: Maybe<Pick<ILudoRankDifference, 'hourDifference' | 'dayDifference' | 'weekDifference'>> }
1134
1154
  ) }
1135
1155
  )>> }
@@ -2168,6 +2188,7 @@ export const FetchProjectDocument = gql`
2168
2188
  twitterFollowers
2169
2189
  twitterSentiment
2170
2190
  verified
2191
+ originalMediaUrl
2171
2192
  status {
2172
2193
  monitored
2173
2194
  removalReason
@@ -2224,6 +2245,7 @@ export const FetchProjectBySlugDocument = gql`
2224
2245
  twitterFollowers
2225
2246
  twitterSentiment
2226
2247
  verified
2248
+ originalMediaUrl
2227
2249
  status {
2228
2250
  monitored
2229
2251
  removalReason
@@ -2383,6 +2405,7 @@ export const FetchProjectMonitoringDocument = gql`
2383
2405
  ludoRank
2384
2406
  price
2385
2407
  verified
2408
+ originalMediaUrl
2386
2409
  ludoRankDifference {
2387
2410
  hourDifference
2388
2411
  dayDifference
@@ -363,6 +363,7 @@ export type IProject = {
363
363
  ludoRankDayDifference?: Maybe<Scalars['Float']>;
364
364
  ludoRankWeekDifference?: Maybe<Scalars['Float']>;
365
365
  price?: Maybe<Scalars['Float']>;
366
+ originalMediaUrl?: Maybe<Scalars['String']>;
366
367
  };
367
368
 
368
369
  export enum IProjectType {
@@ -1166,6 +1167,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
1166
1167
  ludoRankDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
1167
1168
  ludoRankWeekDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
1168
1169
  price?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
1170
+ originalMediaUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1169
1171
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1170
1172
  };
1171
1173
 
@@ -1444,7 +1446,7 @@ export type IFetchProjectsByTermQueryVariables = Exact<{
1444
1446
  }>;
1445
1447
 
1446
1448
 
1447
- export type IFetchProjectsByTermQuery = { fetchProjectsByTerm: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price'>> };
1449
+ export type IFetchProjectsByTermQuery = { fetchProjectsByTerm: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price' | 'originalMediaUrl'>> };
1448
1450
 
1449
1451
  export type IFetchProjectsLeaderboardQueryVariables = Exact<{
1450
1452
  filter: IProjectsLeaderboardFilterInput;
@@ -1453,7 +1455,7 @@ export type IFetchProjectsLeaderboardQueryVariables = Exact<{
1453
1455
  }>;
1454
1456
 
1455
1457
 
1456
- export type IFetchProjectsLeaderboardQuery = { fetchProjectsLeaderboard: { projects: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price'>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>> } };
1458
+ export type IFetchProjectsLeaderboardQuery = { fetchProjectsLeaderboard: { projects: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price' | 'originalMediaUrl'>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>> } };
1457
1459
 
1458
1460
  export type IFetchProjectsPageQueryVariables = Exact<{
1459
1461
  term?: Maybe<Scalars['String']>;
@@ -1463,7 +1465,7 @@ export type IFetchProjectsPageQueryVariables = Exact<{
1463
1465
  }>;
1464
1466
 
1465
1467
 
1466
- export type IFetchProjectsPageQuery = { fetchProjectsPage: { projects: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price'>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>> } };
1468
+ export type IFetchProjectsPageQuery = { fetchProjectsPage: { projects: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price' | 'originalMediaUrl'>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>> } };
1467
1469
 
1468
1470
  export type IFetchProjectsSlugsQueryVariables = Exact<{ [key: string]: never; }>;
1469
1471
 
@@ -2730,6 +2732,7 @@ export const FetchProjectsByTermDocument = gql`
2730
2732
  ludoRankDayDifference
2731
2733
  ludoRankWeekDifference
2732
2734
  price
2735
+ originalMediaUrl
2733
2736
  }
2734
2737
  }
2735
2738
  `;
@@ -2773,6 +2776,7 @@ export const FetchProjectsLeaderboardDocument = gql`
2773
2776
  ludoRankDayDifference
2774
2777
  ludoRankWeekDifference
2775
2778
  price
2779
+ originalMediaUrl
2776
2780
  }
2777
2781
  nextPage {
2778
2782
  token
@@ -2825,6 +2829,7 @@ export const FetchProjectsPageDocument = gql`
2825
2829
  ludoRankDayDifference
2826
2830
  ludoRankWeekDifference
2827
2831
  price
2832
+ originalMediaUrl
2828
2833
  }
2829
2834
  nextPage {
2830
2835
  token