@ludo.ninja/api 3.0.29 → 3.0.30
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__/opportunitiesHost/schema.d.ts +44 -39
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +92 -84
- package/build/index.d.ts +11 -11
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +114 -102
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -41,6 +41,8 @@ export type IBrand = {
|
|
|
41
41
|
facebook?: Maybe<Scalars['String']>;
|
|
42
42
|
linkedin?: Maybe<Scalars['String']>;
|
|
43
43
|
youtube?: Maybe<Scalars['String']>;
|
|
44
|
+
activeAirdrop?: Maybe<IOpportunityV2>;
|
|
45
|
+
otherOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
44
46
|
};
|
|
45
47
|
export type IBrandInput = {
|
|
46
48
|
name: Scalars['String'];
|
|
@@ -222,6 +224,7 @@ export type IQuery = {
|
|
|
222
224
|
getDummy: Scalars['String'];
|
|
223
225
|
fetchBrands?: Maybe<Array<Maybe<IBrand>>>;
|
|
224
226
|
fetchBrand: IBrand;
|
|
227
|
+
fetchBrandBySlug: IBrand;
|
|
225
228
|
fetchCategories?: Maybe<Array<Maybe<ICategory>>>;
|
|
226
229
|
fetchCategory: ICategory;
|
|
227
230
|
fetchOpportunities: IOpportunitiesPage;
|
|
@@ -229,7 +232,6 @@ export type IQuery = {
|
|
|
229
232
|
fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
|
|
230
233
|
fetchProfileOpportunities: IProfileOpportunities;
|
|
231
234
|
fetchOpportunity: IOpportunityV2;
|
|
232
|
-
fetchOpportunityBySlug: IOpportunityV2;
|
|
233
235
|
fetchOpportunitiesByIds: Array<IOpportunityV2>;
|
|
234
236
|
fetchOpportunitiesForWallet?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
235
237
|
fetchAirdropRegistrationsCsv: Scalars['String'];
|
|
@@ -237,6 +239,9 @@ export type IQuery = {
|
|
|
237
239
|
export type IQueryFetchBrandArgs = {
|
|
238
240
|
brandId: Scalars['ID'];
|
|
239
241
|
};
|
|
242
|
+
export type IQueryFetchBrandBySlugArgs = {
|
|
243
|
+
slug: Scalars['String'];
|
|
244
|
+
};
|
|
240
245
|
export type IQueryFetchCategoryArgs = {
|
|
241
246
|
categoryId: Scalars['ID'];
|
|
242
247
|
};
|
|
@@ -246,9 +251,6 @@ export type IQueryFetchOpportunitiesArgs = {
|
|
|
246
251
|
export type IQueryFetchOpportunityArgs = {
|
|
247
252
|
opportunityId: Scalars['ID'];
|
|
248
253
|
};
|
|
249
|
-
export type IQueryFetchOpportunityBySlugArgs = {
|
|
250
|
-
slug: Scalars['String'];
|
|
251
|
-
};
|
|
252
254
|
export type IQueryFetchOpportunitiesByIdsArgs = {
|
|
253
255
|
opportunityIds: Array<Scalars['ID']>;
|
|
254
256
|
};
|
|
@@ -344,6 +346,8 @@ export type IBrandResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
344
346
|
facebook?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
345
347
|
linkedin?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
346
348
|
youtube?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
349
|
+
activeAirdrop?: Resolver<Maybe<IResolversTypes['OpportunityV2']>, ParentType, ContextType>;
|
|
350
|
+
otherOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
347
351
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
348
352
|
};
|
|
349
353
|
export type ICategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Category'] = IResolversParentTypes['Category']> = {
|
|
@@ -454,6 +458,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
454
458
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
455
459
|
fetchBrands?: Resolver<Maybe<Array<Maybe<IResolversTypes['Brand']>>>, ParentType, ContextType>;
|
|
456
460
|
fetchBrand?: Resolver<IResolversTypes['Brand'], ParentType, ContextType, RequireFields<IQueryFetchBrandArgs, 'brandId'>>;
|
|
461
|
+
fetchBrandBySlug?: Resolver<IResolversTypes['Brand'], ParentType, ContextType, RequireFields<IQueryFetchBrandBySlugArgs, 'slug'>>;
|
|
457
462
|
fetchCategories?: Resolver<Maybe<Array<Maybe<IResolversTypes['Category']>>>, ParentType, ContextType>;
|
|
458
463
|
fetchCategory?: Resolver<IResolversTypes['Category'], ParentType, ContextType, RequireFields<IQueryFetchCategoryArgs, 'categoryId'>>;
|
|
459
464
|
fetchOpportunities?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, Partial<IQueryFetchOpportunitiesArgs>>;
|
|
@@ -461,7 +466,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
461
466
|
fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
|
|
462
467
|
fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
|
|
463
468
|
fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
|
|
464
|
-
fetchOpportunityBySlug?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityBySlugArgs, 'slug'>>;
|
|
465
469
|
fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
|
|
466
470
|
fetchOpportunitiesForWallet?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesForWalletArgs, 'blockchain' | 'wallet'>>;
|
|
467
471
|
fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
|
|
@@ -522,6 +526,15 @@ export type IFetchOpportunitiesForProfileQueryVariables = Exact<{
|
|
|
522
526
|
export type IFetchOpportunitiesForProfileQuery = {
|
|
523
527
|
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'>>>;
|
|
524
528
|
};
|
|
529
|
+
export type IFetchBrandBySlugQueryVariables = Exact<{
|
|
530
|
+
slug: Scalars['String'];
|
|
531
|
+
}>;
|
|
532
|
+
export type IFetchBrandBySlugQuery = {
|
|
533
|
+
fetchBrandBySlug: (Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'> & {
|
|
534
|
+
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'>>;
|
|
535
|
+
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'>>>>;
|
|
536
|
+
});
|
|
537
|
+
};
|
|
525
538
|
export type IFetchOpportunitiesQueryVariables = Exact<{
|
|
526
539
|
domain?: Maybe<Scalars['String']>;
|
|
527
540
|
}>;
|
|
@@ -539,14 +552,6 @@ export type IFetchOpportunityQuery = {
|
|
|
539
552
|
brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>;
|
|
540
553
|
});
|
|
541
554
|
};
|
|
542
|
-
export type IFetchOpportunityBySlugQueryVariables = Exact<{
|
|
543
|
-
slug: Scalars['String'];
|
|
544
|
-
}>;
|
|
545
|
-
export type IFetchOpportunityBySlugQuery = {
|
|
546
|
-
fetchOpportunityBySlug: (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'> & {
|
|
547
|
-
brand: Pick<IBrand, 'brandId' | 'name' | 'description' | 'industry' | 'link' | 'media' | 'archived' | 'addedBy' | 'matchingWords' | 'discord' | 'telegram' | 'twitter' | 'facebook' | 'linkedin' | 'youtube'>;
|
|
548
|
-
});
|
|
549
|
-
};
|
|
550
555
|
export type IFetchProfileOpportunitiesQueryVariables = Exact<{
|
|
551
556
|
[key: string]: never;
|
|
552
557
|
}>;
|
|
@@ -787,6 +792,32 @@ export declare function useFetchOpportunitiesForProfileLazyQuery(baseOptions?: A
|
|
|
787
792
|
export type FetchOpportunitiesForProfileQueryHookResult = ReturnType<typeof useFetchOpportunitiesForProfileQuery>;
|
|
788
793
|
export type FetchOpportunitiesForProfileLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesForProfileLazyQuery>;
|
|
789
794
|
export type FetchOpportunitiesForProfileQueryResult = Apollo.QueryResult<IFetchOpportunitiesForProfileQuery, IFetchOpportunitiesForProfileQueryVariables>;
|
|
795
|
+
export declare const FetchBrandBySlugDocument: Apollo.DocumentNode;
|
|
796
|
+
/**
|
|
797
|
+
* __useFetchBrandBySlugQuery__
|
|
798
|
+
*
|
|
799
|
+
* To run a query within a React component, call `useFetchBrandBySlugQuery` and pass it any options that fit your needs.
|
|
800
|
+
* When your component renders, `useFetchBrandBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
801
|
+
* you can use to render your UI.
|
|
802
|
+
*
|
|
803
|
+
* @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;
|
|
804
|
+
*
|
|
805
|
+
* @example
|
|
806
|
+
* const { data, loading, error } = useFetchBrandBySlugQuery({
|
|
807
|
+
* variables: {
|
|
808
|
+
* slug: // value for 'slug'
|
|
809
|
+
* },
|
|
810
|
+
* });
|
|
811
|
+
*/
|
|
812
|
+
export declare function useFetchBrandBySlugQuery(baseOptions: Apollo.QueryHookOptions<IFetchBrandBySlugQuery, IFetchBrandBySlugQueryVariables>): Apollo.QueryResult<IFetchBrandBySlugQuery, Exact<{
|
|
813
|
+
slug: string;
|
|
814
|
+
}>>;
|
|
815
|
+
export declare function useFetchBrandBySlugLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchBrandBySlugQuery, IFetchBrandBySlugQueryVariables>): Apollo.LazyQueryResultTuple<IFetchBrandBySlugQuery, Exact<{
|
|
816
|
+
slug: string;
|
|
817
|
+
}>>;
|
|
818
|
+
export type FetchBrandBySlugQueryHookResult = ReturnType<typeof useFetchBrandBySlugQuery>;
|
|
819
|
+
export type FetchBrandBySlugLazyQueryHookResult = ReturnType<typeof useFetchBrandBySlugLazyQuery>;
|
|
820
|
+
export type FetchBrandBySlugQueryResult = Apollo.QueryResult<IFetchBrandBySlugQuery, IFetchBrandBySlugQueryVariables>;
|
|
790
821
|
export declare const FetchOpportunitiesDocument: Apollo.DocumentNode;
|
|
791
822
|
/**
|
|
792
823
|
* __useFetchOpportunitiesQuery__
|
|
@@ -839,32 +870,6 @@ export declare function useFetchOpportunityLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
839
870
|
export type FetchOpportunityQueryHookResult = ReturnType<typeof useFetchOpportunityQuery>;
|
|
840
871
|
export type FetchOpportunityLazyQueryHookResult = ReturnType<typeof useFetchOpportunityLazyQuery>;
|
|
841
872
|
export type FetchOpportunityQueryResult = Apollo.QueryResult<IFetchOpportunityQuery, IFetchOpportunityQueryVariables>;
|
|
842
|
-
export declare const FetchOpportunityBySlugDocument: Apollo.DocumentNode;
|
|
843
|
-
/**
|
|
844
|
-
* __useFetchOpportunityBySlugQuery__
|
|
845
|
-
*
|
|
846
|
-
* To run a query within a React component, call `useFetchOpportunityBySlugQuery` and pass it any options that fit your needs.
|
|
847
|
-
* When your component renders, `useFetchOpportunityBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
848
|
-
* you can use to render your UI.
|
|
849
|
-
*
|
|
850
|
-
* @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;
|
|
851
|
-
*
|
|
852
|
-
* @example
|
|
853
|
-
* const { data, loading, error } = useFetchOpportunityBySlugQuery({
|
|
854
|
-
* variables: {
|
|
855
|
-
* slug: // value for 'slug'
|
|
856
|
-
* },
|
|
857
|
-
* });
|
|
858
|
-
*/
|
|
859
|
-
export declare function useFetchOpportunityBySlugQuery(baseOptions: Apollo.QueryHookOptions<IFetchOpportunityBySlugQuery, IFetchOpportunityBySlugQueryVariables>): Apollo.QueryResult<IFetchOpportunityBySlugQuery, Exact<{
|
|
860
|
-
slug: string;
|
|
861
|
-
}>>;
|
|
862
|
-
export declare function useFetchOpportunityBySlugLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchOpportunityBySlugQuery, IFetchOpportunityBySlugQueryVariables>): Apollo.LazyQueryResultTuple<IFetchOpportunityBySlugQuery, Exact<{
|
|
863
|
-
slug: string;
|
|
864
|
-
}>>;
|
|
865
|
-
export type FetchOpportunityBySlugQueryHookResult = ReturnType<typeof useFetchOpportunityBySlugQuery>;
|
|
866
|
-
export type FetchOpportunityBySlugLazyQueryHookResult = ReturnType<typeof useFetchOpportunityBySlugLazyQuery>;
|
|
867
|
-
export type FetchOpportunityBySlugQueryResult = Apollo.QueryResult<IFetchOpportunityBySlugQuery, IFetchOpportunityBySlugQueryVariables>;
|
|
868
873
|
export declare const FetchProfileOpportunitiesDocument: Apollo.DocumentNode;
|
|
869
874
|
/**
|
|
870
875
|
* __useFetchProfileOpportunitiesQuery__
|
|
@@ -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.
|
|
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;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
29
|
var IOpportunityType;
|
|
@@ -348,6 +348,97 @@ function useFetchOpportunitiesForProfileLazyQuery(baseOptions) {
|
|
|
348
348
|
return Apollo.useLazyQuery(exports.FetchOpportunitiesForProfileDocument, baseOptions);
|
|
349
349
|
}
|
|
350
350
|
exports.useFetchOpportunitiesForProfileLazyQuery = useFetchOpportunitiesForProfileLazyQuery;
|
|
351
|
+
exports.FetchBrandBySlugDocument = (0, client_1.gql) `
|
|
352
|
+
query FetchBrandBySlug($slug: String!) {
|
|
353
|
+
fetchBrandBySlug(slug: $slug) {
|
|
354
|
+
brandId
|
|
355
|
+
name
|
|
356
|
+
description
|
|
357
|
+
industry
|
|
358
|
+
link
|
|
359
|
+
media
|
|
360
|
+
archived
|
|
361
|
+
addedBy
|
|
362
|
+
matchingWords
|
|
363
|
+
discord
|
|
364
|
+
telegram
|
|
365
|
+
twitter
|
|
366
|
+
facebook
|
|
367
|
+
linkedin
|
|
368
|
+
youtube
|
|
369
|
+
activeAirdrop {
|
|
370
|
+
opportunityId
|
|
371
|
+
brandId
|
|
372
|
+
categoryId
|
|
373
|
+
opportunityStatus
|
|
374
|
+
opportunityType
|
|
375
|
+
notificationType
|
|
376
|
+
name
|
|
377
|
+
description
|
|
378
|
+
brandName
|
|
379
|
+
brandDescription
|
|
380
|
+
brandMedia
|
|
381
|
+
brandUrl
|
|
382
|
+
brandIndustry
|
|
383
|
+
categoryName
|
|
384
|
+
ludoUrl
|
|
385
|
+
projectUrl
|
|
386
|
+
activeFrom
|
|
387
|
+
activeUntil
|
|
388
|
+
media
|
|
389
|
+
reportLink
|
|
390
|
+
shareLink
|
|
391
|
+
}
|
|
392
|
+
otherOpportunities {
|
|
393
|
+
opportunityId
|
|
394
|
+
brandId
|
|
395
|
+
categoryId
|
|
396
|
+
opportunityStatus
|
|
397
|
+
opportunityType
|
|
398
|
+
notificationType
|
|
399
|
+
name
|
|
400
|
+
description
|
|
401
|
+
brandName
|
|
402
|
+
brandDescription
|
|
403
|
+
brandMedia
|
|
404
|
+
brandUrl
|
|
405
|
+
brandIndustry
|
|
406
|
+
categoryName
|
|
407
|
+
ludoUrl
|
|
408
|
+
projectUrl
|
|
409
|
+
activeFrom
|
|
410
|
+
activeUntil
|
|
411
|
+
media
|
|
412
|
+
reportLink
|
|
413
|
+
shareLink
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
`;
|
|
418
|
+
/**
|
|
419
|
+
* __useFetchBrandBySlugQuery__
|
|
420
|
+
*
|
|
421
|
+
* To run a query within a React component, call `useFetchBrandBySlugQuery` and pass it any options that fit your needs.
|
|
422
|
+
* When your component renders, `useFetchBrandBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
423
|
+
* you can use to render your UI.
|
|
424
|
+
*
|
|
425
|
+
* @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;
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* const { data, loading, error } = useFetchBrandBySlugQuery({
|
|
429
|
+
* variables: {
|
|
430
|
+
* slug: // value for 'slug'
|
|
431
|
+
* },
|
|
432
|
+
* });
|
|
433
|
+
*/
|
|
434
|
+
function useFetchBrandBySlugQuery(baseOptions) {
|
|
435
|
+
return Apollo.useQuery(exports.FetchBrandBySlugDocument, baseOptions);
|
|
436
|
+
}
|
|
437
|
+
exports.useFetchBrandBySlugQuery = useFetchBrandBySlugQuery;
|
|
438
|
+
function useFetchBrandBySlugLazyQuery(baseOptions) {
|
|
439
|
+
return Apollo.useLazyQuery(exports.FetchBrandBySlugDocument, baseOptions);
|
|
440
|
+
}
|
|
441
|
+
exports.useFetchBrandBySlugLazyQuery = useFetchBrandBySlugLazyQuery;
|
|
351
442
|
exports.FetchOpportunitiesDocument = (0, client_1.gql) `
|
|
352
443
|
query FetchOpportunities($domain: String) {
|
|
353
444
|
fetchOpportunities(domain: $domain) {
|
|
@@ -499,89 +590,6 @@ function useFetchOpportunityLazyQuery(baseOptions) {
|
|
|
499
590
|
return Apollo.useLazyQuery(exports.FetchOpportunityDocument, baseOptions);
|
|
500
591
|
}
|
|
501
592
|
exports.useFetchOpportunityLazyQuery = useFetchOpportunityLazyQuery;
|
|
502
|
-
exports.FetchOpportunityBySlugDocument = (0, client_1.gql) `
|
|
503
|
-
query FetchOpportunityBySlug($slug: String!) {
|
|
504
|
-
fetchOpportunityBySlug(slug: $slug) {
|
|
505
|
-
opportunityId
|
|
506
|
-
brandId
|
|
507
|
-
categoryId
|
|
508
|
-
opportunityStatus
|
|
509
|
-
opportunityType
|
|
510
|
-
notificationType
|
|
511
|
-
name
|
|
512
|
-
description
|
|
513
|
-
brandName
|
|
514
|
-
subscribed
|
|
515
|
-
brandDescription
|
|
516
|
-
brandMedia
|
|
517
|
-
brandUrl
|
|
518
|
-
brandIndustry
|
|
519
|
-
categoryName
|
|
520
|
-
ludoUrl
|
|
521
|
-
projectUrl
|
|
522
|
-
activeFrom
|
|
523
|
-
activeUntil
|
|
524
|
-
minXpLevel
|
|
525
|
-
maxXpLevel
|
|
526
|
-
minRank
|
|
527
|
-
maxRank
|
|
528
|
-
media
|
|
529
|
-
reportLink
|
|
530
|
-
clicks
|
|
531
|
-
views
|
|
532
|
-
blockchain
|
|
533
|
-
blockchains
|
|
534
|
-
collection
|
|
535
|
-
createdAt
|
|
536
|
-
minWalletValue
|
|
537
|
-
maxWalletValue
|
|
538
|
-
shareLink
|
|
539
|
-
liked
|
|
540
|
-
geolocations
|
|
541
|
-
brand {
|
|
542
|
-
brandId
|
|
543
|
-
name
|
|
544
|
-
description
|
|
545
|
-
industry
|
|
546
|
-
link
|
|
547
|
-
media
|
|
548
|
-
archived
|
|
549
|
-
addedBy
|
|
550
|
-
matchingWords
|
|
551
|
-
discord
|
|
552
|
-
telegram
|
|
553
|
-
twitter
|
|
554
|
-
facebook
|
|
555
|
-
linkedin
|
|
556
|
-
youtube
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
`;
|
|
561
|
-
/**
|
|
562
|
-
* __useFetchOpportunityBySlugQuery__
|
|
563
|
-
*
|
|
564
|
-
* To run a query within a React component, call `useFetchOpportunityBySlugQuery` and pass it any options that fit your needs.
|
|
565
|
-
* When your component renders, `useFetchOpportunityBySlugQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
566
|
-
* you can use to render your UI.
|
|
567
|
-
*
|
|
568
|
-
* @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;
|
|
569
|
-
*
|
|
570
|
-
* @example
|
|
571
|
-
* const { data, loading, error } = useFetchOpportunityBySlugQuery({
|
|
572
|
-
* variables: {
|
|
573
|
-
* slug: // value for 'slug'
|
|
574
|
-
* },
|
|
575
|
-
* });
|
|
576
|
-
*/
|
|
577
|
-
function useFetchOpportunityBySlugQuery(baseOptions) {
|
|
578
|
-
return Apollo.useQuery(exports.FetchOpportunityBySlugDocument, baseOptions);
|
|
579
|
-
}
|
|
580
|
-
exports.useFetchOpportunityBySlugQuery = useFetchOpportunityBySlugQuery;
|
|
581
|
-
function useFetchOpportunityBySlugLazyQuery(baseOptions) {
|
|
582
|
-
return Apollo.useLazyQuery(exports.FetchOpportunityBySlugDocument, baseOptions);
|
|
583
|
-
}
|
|
584
|
-
exports.useFetchOpportunityBySlugLazyQuery = useFetchOpportunityBySlugLazyQuery;
|
|
585
593
|
exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
|
|
586
594
|
query FetchProfileOpportunities {
|
|
587
595
|
fetchProfileOpportunities {
|
package/build/index.d.ts
CHANGED
|
@@ -624,6 +624,16 @@ declare const schema: {
|
|
|
624
624
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchOpportunitiesForProfileQuery, opportunitiesSchema.Exact<{
|
|
625
625
|
[key: string]: never;
|
|
626
626
|
}>>;
|
|
627
|
+
useFetchBrandBySlugQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchBrandBySlugQuery, opportunitiesSchema.Exact<{
|
|
628
|
+
slug: string;
|
|
629
|
+
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchBrandBySlugQuery, opportunitiesSchema.Exact<{
|
|
630
|
+
slug: string;
|
|
631
|
+
}>>;
|
|
632
|
+
useFetchBrandBySlugLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<opportunitiesSchema.IFetchBrandBySlugQuery, opportunitiesSchema.Exact<{
|
|
633
|
+
slug: string;
|
|
634
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchBrandBySlugQuery, opportunitiesSchema.Exact<{
|
|
635
|
+
slug: string;
|
|
636
|
+
}>>;
|
|
627
637
|
useFetchOpportunitiesQuery(baseOptions?: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchOpportunitiesQuery, opportunitiesSchema.Exact<{
|
|
628
638
|
domain?: opportunitiesSchema.Maybe<string> | undefined;
|
|
629
639
|
}>> | undefined): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchOpportunitiesQuery, opportunitiesSchema.Exact<{
|
|
@@ -644,16 +654,6 @@ declare const schema: {
|
|
|
644
654
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchOpportunityQuery, opportunitiesSchema.Exact<{
|
|
645
655
|
opportunityId: string;
|
|
646
656
|
}>>;
|
|
647
|
-
useFetchOpportunityBySlugQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchOpportunityBySlugQuery, opportunitiesSchema.Exact<{
|
|
648
|
-
slug: string;
|
|
649
|
-
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchOpportunityBySlugQuery, opportunitiesSchema.Exact<{
|
|
650
|
-
slug: string;
|
|
651
|
-
}>>;
|
|
652
|
-
useFetchOpportunityBySlugLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<opportunitiesSchema.IFetchOpportunityBySlugQuery, opportunitiesSchema.Exact<{
|
|
653
|
-
slug: string;
|
|
654
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchOpportunityBySlugQuery, opportunitiesSchema.Exact<{
|
|
655
|
-
slug: string;
|
|
656
|
-
}>>;
|
|
657
657
|
useFetchProfileOpportunitiesQuery(baseOptions?: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchProfileOpportunitiesQuery, opportunitiesSchema.Exact<{
|
|
658
658
|
[key: string]: never;
|
|
659
659
|
}>> | undefined): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchProfileOpportunitiesQuery, opportunitiesSchema.Exact<{
|
|
@@ -674,9 +674,9 @@ declare const schema: {
|
|
|
674
674
|
FetchAirdropRegistrationsCsvDocument: import("graphql").DocumentNode;
|
|
675
675
|
FetchOpportunitiesByIdsDocument: import("graphql").DocumentNode;
|
|
676
676
|
FetchOpportunitiesForProfileDocument: import("graphql").DocumentNode;
|
|
677
|
+
FetchBrandBySlugDocument: import("graphql").DocumentNode;
|
|
677
678
|
FetchOpportunitiesDocument: import("graphql").DocumentNode;
|
|
678
679
|
FetchOpportunityDocument: import("graphql").DocumentNode;
|
|
679
|
-
FetchOpportunityBySlugDocument: import("graphql").DocumentNode;
|
|
680
680
|
FetchProfileOpportunitiesDocument: import("graphql").DocumentNode;
|
|
681
681
|
useDeleteGalleryBannerMutation(baseOptions?: import("@apollo/client").MutationHookOptions<mediasSchema.IDeleteGalleryBannerMutation, mediasSchema.Exact<{
|
|
682
682
|
galleryId: string;
|