@ludo.ninja/api 3.0.55 → 3.0.57
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__/extensionHost/schema.d.ts +6 -2
- package/build/graphql_tools/__generated__/extensionHost/schema.js +4 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +10 -8
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +7 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +9 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +18 -9
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -178,6 +178,8 @@ export type IOpportunityV2 = {
|
|
|
178
178
|
media?: Maybe<Scalars['String']>;
|
|
179
179
|
reportLink?: Maybe<Scalars['String']>;
|
|
180
180
|
shareLink?: Maybe<Scalars['String']>;
|
|
181
|
+
participantsLimit?: Maybe<Scalars['Int']>;
|
|
182
|
+
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
181
183
|
};
|
|
182
184
|
export type IQuery = {
|
|
183
185
|
getDummy: Scalars['String'];
|
|
@@ -443,6 +445,8 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
443
445
|
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
444
446
|
reportLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
445
447
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
448
|
+
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
449
|
+
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
446
450
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
447
451
|
};
|
|
448
452
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
@@ -533,8 +537,8 @@ export type IFetchExtensionOpportunitiesV2QueryVariables = Exact<{
|
|
|
533
537
|
}>;
|
|
534
538
|
export type IFetchExtensionOpportunitiesV2Query = {
|
|
535
539
|
fetchExtensionOpportunitiesV2: {
|
|
536
|
-
currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
|
|
537
|
-
similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
|
|
540
|
+
currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
|
|
541
|
+
similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>;
|
|
538
542
|
};
|
|
539
543
|
};
|
|
540
544
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
@@ -272,6 +272,8 @@ exports.FetchExtensionOpportunitiesV2Document = (0, client_1.gql) `
|
|
|
272
272
|
media
|
|
273
273
|
reportLink
|
|
274
274
|
shareLink
|
|
275
|
+
participantsLimit
|
|
276
|
+
availablePlacesForAirdrop
|
|
275
277
|
}
|
|
276
278
|
similarOpportunities {
|
|
277
279
|
opportunityId
|
|
@@ -295,6 +297,8 @@ exports.FetchExtensionOpportunitiesV2Document = (0, client_1.gql) `
|
|
|
295
297
|
media
|
|
296
298
|
reportLink
|
|
297
299
|
shareLink
|
|
300
|
+
participantsLimit
|
|
301
|
+
availablePlacesForAirdrop
|
|
298
302
|
}
|
|
299
303
|
}
|
|
300
304
|
}
|
|
@@ -190,6 +190,7 @@ export type IOpportunityV2 = {
|
|
|
190
190
|
brandDescription?: Maybe<Scalars['String']>;
|
|
191
191
|
brandMedia?: Maybe<Scalars['String']>;
|
|
192
192
|
brandUrl?: Maybe<Scalars['String']>;
|
|
193
|
+
brandLudoUrl?: Maybe<Scalars['String']>;
|
|
193
194
|
brandIndustry?: Maybe<Scalars['String']>;
|
|
194
195
|
categoryName?: Maybe<Scalars['String']>;
|
|
195
196
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
@@ -233,7 +234,7 @@ export type IQuery = {
|
|
|
233
234
|
fetchOpportunitiesV2?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
234
235
|
fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
|
|
235
236
|
fetchProfileOpportunities: IProfileOpportunities;
|
|
236
|
-
fetchOpportunity
|
|
237
|
+
fetchOpportunity: IOpportunityV2;
|
|
237
238
|
fetchOpportunitiesByIds: Array<IOpportunityV2>;
|
|
238
239
|
fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
239
240
|
fetchAirdropRegistrationsCsv: Scalars['String'];
|
|
@@ -424,6 +425,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
424
425
|
brandDescription?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
425
426
|
brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
426
427
|
brandUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
428
|
+
brandLudoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
427
429
|
brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
428
430
|
categoryName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
429
431
|
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -469,7 +471,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
469
471
|
fetchOpportunitiesV2?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
470
472
|
fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
|
|
471
473
|
fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
|
|
472
|
-
fetchOpportunity?: Resolver<
|
|
474
|
+
fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
|
|
473
475
|
fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
|
|
474
476
|
fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
|
|
475
477
|
fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
|
|
@@ -522,20 +524,20 @@ export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
|
|
|
522
524
|
opportunityIds: Array<Scalars['ID']>;
|
|
523
525
|
}>;
|
|
524
526
|
export type IFetchOpportunitiesByIdsQuery = {
|
|
525
|
-
fetchOpportunitiesByIds: Array<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'>>;
|
|
527
|
+
fetchOpportunitiesByIds: Array<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'>>;
|
|
526
528
|
};
|
|
527
529
|
export type IFetchOpportunitiesForProfileQueryVariables = Exact<{
|
|
528
530
|
[key: string]: never;
|
|
529
531
|
}>;
|
|
530
532
|
export type IFetchOpportunitiesForProfileQuery = {
|
|
531
|
-
fetchOpportunitiesForProfile: 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'>>>;
|
|
533
|
+
fetchOpportunitiesForProfile: 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'>>>;
|
|
532
534
|
};
|
|
533
535
|
export type IFetchBrandBySlugQueryVariables = Exact<{
|
|
534
536
|
slug: Scalars['String'];
|
|
535
537
|
}>;
|
|
536
538
|
export type IFetchBrandBySlugQuery = {
|
|
537
539
|
fetchBrandBySlug: (Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'> & {
|
|
538
|
-
activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>;
|
|
540
|
+
activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>;
|
|
539
541
|
otherOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
|
|
540
542
|
});
|
|
541
543
|
};
|
|
@@ -552,16 +554,16 @@ export type IFetchOpportunityQueryVariables = Exact<{
|
|
|
552
554
|
opportunityId: Scalars['ID'];
|
|
553
555
|
}>;
|
|
554
556
|
export type IFetchOpportunityQuery = {
|
|
555
|
-
fetchOpportunity
|
|
557
|
+
fetchOpportunity: (Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'subscribed' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'> & {
|
|
556
558
|
brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>;
|
|
557
|
-
})
|
|
559
|
+
});
|
|
558
560
|
};
|
|
559
561
|
export type IFetchProfileOpportunitiesQueryVariables = Exact<{
|
|
560
562
|
[key: string]: never;
|
|
561
563
|
}>;
|
|
562
564
|
export type IFetchProfileOpportunitiesQuery = {
|
|
563
565
|
fetchProfileOpportunities: {
|
|
564
|
-
newOpportunities?: 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'>>>>;
|
|
566
|
+
newOpportunities?: 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'>>>>;
|
|
565
567
|
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'>>>>;
|
|
566
568
|
};
|
|
567
569
|
};
|
|
@@ -261,6 +261,7 @@ exports.FetchOpportunitiesByIdsDocument = (0, client_1.gql) `
|
|
|
261
261
|
liked
|
|
262
262
|
participantsLimit
|
|
263
263
|
availablePlacesForAirdrop
|
|
264
|
+
brandLudoUrl
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
267
|
`;
|
|
@@ -326,6 +327,7 @@ exports.FetchOpportunitiesForProfileDocument = (0, client_1.gql) `
|
|
|
326
327
|
liked
|
|
327
328
|
participantsLimit
|
|
328
329
|
availablePlacesForAirdrop
|
|
330
|
+
brandLudoUrl
|
|
329
331
|
}
|
|
330
332
|
}
|
|
331
333
|
`;
|
|
@@ -392,6 +394,9 @@ exports.FetchBrandBySlugDocument = (0, client_1.gql) `
|
|
|
392
394
|
media
|
|
393
395
|
reportLink
|
|
394
396
|
shareLink
|
|
397
|
+
participantsLimit
|
|
398
|
+
availablePlacesForAirdrop
|
|
399
|
+
brandLudoUrl
|
|
395
400
|
}
|
|
396
401
|
otherOpportunities {
|
|
397
402
|
opportunityId
|
|
@@ -552,6 +557,7 @@ exports.FetchOpportunityDocument = (0, client_1.gql) `
|
|
|
552
557
|
geolocations
|
|
553
558
|
participantsLimit
|
|
554
559
|
availablePlacesForAirdrop
|
|
560
|
+
brandLudoUrl
|
|
555
561
|
brand {
|
|
556
562
|
brandId
|
|
557
563
|
name
|
|
@@ -635,6 +641,7 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
|
|
|
635
641
|
liked
|
|
636
642
|
participantsLimit
|
|
637
643
|
availablePlacesForAirdrop
|
|
644
|
+
brandLudoUrl
|
|
638
645
|
}
|
|
639
646
|
recentOpportunities {
|
|
640
647
|
opportunityId
|
package/package.json
CHANGED
|
@@ -193,6 +193,8 @@ export type IOpportunityV2 = {
|
|
|
193
193
|
media?: Maybe<Scalars['String']>;
|
|
194
194
|
reportLink?: Maybe<Scalars['String']>;
|
|
195
195
|
shareLink?: Maybe<Scalars['String']>;
|
|
196
|
+
participantsLimit?: Maybe<Scalars['Int']>;
|
|
197
|
+
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
196
198
|
};
|
|
197
199
|
|
|
198
200
|
export type IQuery = {
|
|
@@ -533,6 +535,8 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
533
535
|
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
534
536
|
reportLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
535
537
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
538
|
+
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
539
|
+
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
536
540
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
537
541
|
};
|
|
538
542
|
|
|
@@ -635,7 +639,7 @@ export type IFetchExtensionOpportunitiesV2QueryVariables = Exact<{
|
|
|
635
639
|
}>;
|
|
636
640
|
|
|
637
641
|
|
|
638
|
-
export type IFetchExtensionOpportunitiesV2Query = { fetchExtensionOpportunitiesV2: { currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>, similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>> } };
|
|
642
|
+
export type IFetchExtensionOpportunitiesV2Query = { fetchExtensionOpportunitiesV2: { currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>>, similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop'>>>> } };
|
|
639
643
|
|
|
640
644
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
641
645
|
blockchain: Scalars['String'];
|
|
@@ -936,6 +940,8 @@ export const FetchExtensionOpportunitiesV2Document = gql`
|
|
|
936
940
|
media
|
|
937
941
|
reportLink
|
|
938
942
|
shareLink
|
|
943
|
+
participantsLimit
|
|
944
|
+
availablePlacesForAirdrop
|
|
939
945
|
}
|
|
940
946
|
similarOpportunities {
|
|
941
947
|
opportunityId
|
|
@@ -959,6 +965,8 @@ export const FetchExtensionOpportunitiesV2Document = gql`
|
|
|
959
965
|
media
|
|
960
966
|
reportLink
|
|
961
967
|
shareLink
|
|
968
|
+
participantsLimit
|
|
969
|
+
availablePlacesForAirdrop
|
|
962
970
|
}
|
|
963
971
|
}
|
|
964
972
|
}
|
|
@@ -218,6 +218,7 @@ export type IOpportunityV2 = {
|
|
|
218
218
|
brandDescription?: Maybe<Scalars['String']>;
|
|
219
219
|
brandMedia?: Maybe<Scalars['String']>;
|
|
220
220
|
brandUrl?: Maybe<Scalars['String']>;
|
|
221
|
+
brandLudoUrl?: Maybe<Scalars['String']>;
|
|
221
222
|
brandIndustry?: Maybe<Scalars['String']>;
|
|
222
223
|
categoryName?: Maybe<Scalars['String']>;
|
|
223
224
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
@@ -263,7 +264,7 @@ export type IQuery = {
|
|
|
263
264
|
fetchOpportunitiesV2?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
264
265
|
fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
|
|
265
266
|
fetchProfileOpportunities: IProfileOpportunities;
|
|
266
|
-
fetchOpportunity
|
|
267
|
+
fetchOpportunity: IOpportunityV2;
|
|
267
268
|
fetchOpportunitiesByIds: Array<IOpportunityV2>;
|
|
268
269
|
fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
269
270
|
fetchAirdropRegistrationsCsv: Scalars['String'];
|
|
@@ -522,6 +523,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
522
523
|
brandDescription?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
523
524
|
brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
524
525
|
brandUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
526
|
+
brandLudoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
525
527
|
brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
526
528
|
categoryName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
527
529
|
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -569,7 +571,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
569
571
|
fetchOpportunitiesV2?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
570
572
|
fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
|
|
571
573
|
fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
|
|
572
|
-
fetchOpportunity?: Resolver<
|
|
574
|
+
fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
|
|
573
575
|
fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
|
|
574
576
|
fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
|
|
575
577
|
fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
|
|
@@ -647,12 +649,12 @@ export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
|
|
|
647
649
|
}>;
|
|
648
650
|
|
|
649
651
|
|
|
650
|
-
export type IFetchOpportunitiesByIdsQuery = { fetchOpportunitiesByIds: Array<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'>> };
|
|
652
|
+
export type IFetchOpportunitiesByIdsQuery = { fetchOpportunitiesByIds: Array<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'>> };
|
|
651
653
|
|
|
652
654
|
export type IFetchOpportunitiesForProfileQueryVariables = Exact<{ [key: string]: never; }>;
|
|
653
655
|
|
|
654
656
|
|
|
655
|
-
export type IFetchOpportunitiesForProfileQuery = { fetchOpportunitiesForProfile: 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'>>> };
|
|
657
|
+
export type IFetchOpportunitiesForProfileQuery = { fetchOpportunitiesForProfile: 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'>>> };
|
|
656
658
|
|
|
657
659
|
export type IFetchBrandBySlugQueryVariables = Exact<{
|
|
658
660
|
slug: Scalars['String'];
|
|
@@ -661,7 +663,7 @@ export type IFetchBrandBySlugQueryVariables = Exact<{
|
|
|
661
663
|
|
|
662
664
|
export type IFetchBrandBySlugQuery = { fetchBrandBySlug: (
|
|
663
665
|
Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>
|
|
664
|
-
& { activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>, otherOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>> }
|
|
666
|
+
& { activeAirdrop?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>>, otherOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>> }
|
|
665
667
|
) };
|
|
666
668
|
|
|
667
669
|
export type IFetchOpportunitiesQueryVariables = Exact<{
|
|
@@ -676,15 +678,15 @@ export type IFetchOpportunityQueryVariables = Exact<{
|
|
|
676
678
|
}>;
|
|
677
679
|
|
|
678
680
|
|
|
679
|
-
export type IFetchOpportunityQuery = { fetchOpportunity
|
|
680
|
-
Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'subscribed' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'participantsLimit' | 'availablePlacesForAirdrop'>
|
|
681
|
+
export type IFetchOpportunityQuery = { fetchOpportunity: (
|
|
682
|
+
Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'subscribed' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'brandLudoUrl'>
|
|
681
683
|
& { brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'> }
|
|
682
|
-
)
|
|
684
|
+
) };
|
|
683
685
|
|
|
684
686
|
export type IFetchProfileOpportunitiesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
685
687
|
|
|
686
688
|
|
|
687
|
-
export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { newOpportunities?: 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'>>>>, 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'>>>> } };
|
|
689
|
+
export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { newOpportunities?: 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'>>>>, 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'>>>> } };
|
|
688
690
|
|
|
689
691
|
|
|
690
692
|
export const DislikeOpportunityDocument = gql`
|
|
@@ -942,6 +944,7 @@ export const FetchOpportunitiesByIdsDocument = gql`
|
|
|
942
944
|
liked
|
|
943
945
|
participantsLimit
|
|
944
946
|
availablePlacesForAirdrop
|
|
947
|
+
brandLudoUrl
|
|
945
948
|
}
|
|
946
949
|
}
|
|
947
950
|
`;
|
|
@@ -1009,6 +1012,7 @@ export const FetchOpportunitiesForProfileDocument = gql`
|
|
|
1009
1012
|
liked
|
|
1010
1013
|
participantsLimit
|
|
1011
1014
|
availablePlacesForAirdrop
|
|
1015
|
+
brandLudoUrl
|
|
1012
1016
|
}
|
|
1013
1017
|
}
|
|
1014
1018
|
`;
|
|
@@ -1077,6 +1081,9 @@ export const FetchBrandBySlugDocument = gql`
|
|
|
1077
1081
|
media
|
|
1078
1082
|
reportLink
|
|
1079
1083
|
shareLink
|
|
1084
|
+
participantsLimit
|
|
1085
|
+
availablePlacesForAirdrop
|
|
1086
|
+
brandLudoUrl
|
|
1080
1087
|
}
|
|
1081
1088
|
otherOpportunities {
|
|
1082
1089
|
opportunityId
|
|
@@ -1241,6 +1248,7 @@ export const FetchOpportunityDocument = gql`
|
|
|
1241
1248
|
geolocations
|
|
1242
1249
|
participantsLimit
|
|
1243
1250
|
availablePlacesForAirdrop
|
|
1251
|
+
brandLudoUrl
|
|
1244
1252
|
brand {
|
|
1245
1253
|
brandId
|
|
1246
1254
|
name
|
|
@@ -1326,6 +1334,7 @@ export const FetchProfileOpportunitiesDocument = gql`
|
|
|
1326
1334
|
liked
|
|
1327
1335
|
participantsLimit
|
|
1328
1336
|
availablePlacesForAirdrop
|
|
1337
|
+
brandLudoUrl
|
|
1329
1338
|
}
|
|
1330
1339
|
recentOpportunities {
|
|
1331
1340
|
opportunityId
|