@ludo.ninja/api 2.8.23 → 2.8.25

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.
@@ -42,11 +42,13 @@ export type IAdminBrand = {
42
42
  industry?: Maybe<Scalars['String']>;
43
43
  link?: Maybe<Scalars['String']>;
44
44
  media?: Maybe<Scalars['String']>;
45
+ archived?: Maybe<Scalars['Boolean']>;
45
46
  };
46
47
  export type IAdminCategory = {
47
48
  id: Scalars['String'];
48
49
  name: Scalars['String'];
49
50
  matchingWords: Array<Scalars['String']>;
51
+ archived?: Maybe<Scalars['Boolean']>;
50
52
  };
51
53
  export type IAdminInvite = {
52
54
  userId: Scalars['String'];
@@ -960,7 +962,9 @@ export type IMutation = {
960
962
  unfollowProfile: Scalars['Boolean'];
961
963
  unsubscribeGallery: Scalars['Int'];
962
964
  updateBrand: Scalars['Boolean'];
965
+ updateBrandArchivedStatus: Scalars['Boolean'];
963
966
  updateCategory: Scalars['Boolean'];
967
+ updateCategoryArchivedStatus: Scalars['Boolean'];
964
968
  updateOpportunity: Scalars['Boolean'];
965
969
  updateOpportunityPushStatus: Scalars['Boolean'];
966
970
  updateProfile: Scalars['Boolean'];
@@ -1355,10 +1359,18 @@ export type IMutationUpdateBrandArgs = {
1355
1359
  input: IBrandInput;
1356
1360
  file?: Maybe<Scalars['Upload']>;
1357
1361
  };
1362
+ export type IMutationUpdateBrandArchivedStatusArgs = {
1363
+ id: Scalars['ID'];
1364
+ isArchived: Scalars['Boolean'];
1365
+ };
1358
1366
  export type IMutationUpdateCategoryArgs = {
1359
1367
  id: Scalars['ID'];
1360
1368
  input: ICategoryInput;
1361
1369
  };
1370
+ export type IMutationUpdateCategoryArchivedStatusArgs = {
1371
+ id: Scalars['ID'];
1372
+ isArchived: Scalars['Boolean'];
1373
+ };
1362
1374
  export type IMutationUpdateOpportunityArgs = {
1363
1375
  id: Scalars['ID'];
1364
1376
  input: IAdminOpportunityInput;
@@ -1559,6 +1571,10 @@ export type IProfilePage = {
1559
1571
  results?: Maybe<Scalars['Long']>;
1560
1572
  };
1561
1573
  export type IQuery = {
1574
+ fetchAdminBrands: Array<IAdminBrand>;
1575
+ fetchAdminBrandsPage: IBrandsPage;
1576
+ fetchAdminCategories: Array<IAdminCategory>;
1577
+ fetchAdminCategoriesPage: ICategoriesPage;
1562
1578
  fetchAdminInvitesPage: IInvitesPage;
1563
1579
  fetchAdminOpportunitiesPage: IOpportunitiesPage;
1564
1580
  fetchAdminReferralsPage: IReferralsPage;
@@ -1586,10 +1602,6 @@ export type IQuery = {
1586
1602
  fetchBannerAssets: Array<Maybe<IBannerAsset>>;
1587
1603
  fetchBlockchainSelections: Array<Maybe<ISelection>>;
1588
1604
  fetchBlockchains: Array<Scalars['String']>;
1589
- fetchBrands: Array<IAdminBrand>;
1590
- fetchBrandsPage: IBrandsPage;
1591
- fetchCategories: Array<IAdminCategory>;
1592
- fetchCategoriesPage: ICategoriesPage;
1593
1605
  fetchCategorySelections: Array<Maybe<ISelection>>;
1594
1606
  fetchCollection: ICollection;
1595
1607
  fetchCollectionAssets: ICollectionAssetsPage;
@@ -1712,6 +1724,16 @@ export type IQuery = {
1712
1724
  isValidAuthToken: Scalars['Boolean'];
1713
1725
  setMainWallet: Scalars['Boolean'];
1714
1726
  };
1727
+ export type IQueryFetchAdminBrandsPageArgs = {
1728
+ filter: IBrandsFilterInput;
1729
+ sort: IBrandsSortInput;
1730
+ page: IAdminPageInput;
1731
+ };
1732
+ export type IQueryFetchAdminCategoriesPageArgs = {
1733
+ filter: ICategoriesFilterInput;
1734
+ sort: ICategoriesSortInput;
1735
+ page: IAdminPageInput;
1736
+ };
1715
1737
  export type IQueryFetchAdminInvitesPageArgs = {
1716
1738
  filter: IInvitesFilterInput;
1717
1739
  sort: IInvitesSortInput;
@@ -1797,16 +1819,6 @@ export type IQueryFetchAssetsArgs = {
1797
1819
  export type IQueryFetchBannerAssetsArgs = {
1798
1820
  pageSize: Scalars['Int'];
1799
1821
  };
1800
- export type IQueryFetchBrandsPageArgs = {
1801
- filter: IBrandsFilterInput;
1802
- sort: IBrandsSortInput;
1803
- page: IAdminPageInput;
1804
- };
1805
- export type IQueryFetchCategoriesPageArgs = {
1806
- filter: ICategoriesFilterInput;
1807
- sort: ICategoriesSortInput;
1808
- page: IAdminPageInput;
1809
- };
1810
1822
  export type IQueryFetchCollectionArgs = {
1811
1823
  collectionId: Scalars['String'];
1812
1824
  };
@@ -2519,12 +2531,12 @@ export type IResolversTypes = {
2519
2531
  String: ResolverTypeWrapper<Scalars['String']>;
2520
2532
  Address: ResolverTypeWrapper<IAddress>;
2521
2533
  AdminBrand: ResolverTypeWrapper<IAdminBrand>;
2534
+ Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
2522
2535
  AdminCategory: ResolverTypeWrapper<IAdminCategory>;
2523
2536
  AdminInvite: ResolverTypeWrapper<IAdminInvite>;
2524
2537
  Int: ResolverTypeWrapper<Scalars['Int']>;
2525
2538
  AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
2526
2539
  ID: ResolverTypeWrapper<Scalars['ID']>;
2527
- Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
2528
2540
  Float: ResolverTypeWrapper<Scalars['Float']>;
2529
2541
  AdminOpportunityInput: IAdminOpportunityInput;
2530
2542
  AdminPage: ResolverTypeWrapper<IAdminPage>;
@@ -2689,12 +2701,12 @@ export type IResolversParentTypes = {
2689
2701
  String: Scalars['String'];
2690
2702
  Address: IAddress;
2691
2703
  AdminBrand: IAdminBrand;
2704
+ Boolean: Scalars['Boolean'];
2692
2705
  AdminCategory: IAdminCategory;
2693
2706
  AdminInvite: IAdminInvite;
2694
2707
  Int: Scalars['Int'];
2695
2708
  AdminOpportunity: IAdminOpportunity;
2696
2709
  ID: Scalars['ID'];
2697
- Boolean: Scalars['Boolean'];
2698
2710
  Float: Scalars['Float'];
2699
2711
  AdminOpportunityInput: IAdminOpportunityInput;
2700
2712
  AdminPage: IAdminPage;
@@ -2890,12 +2902,14 @@ export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolver
2890
2902
  industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2891
2903
  link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2892
2904
  media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2905
+ archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
2893
2906
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2894
2907
  };
2895
2908
  export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminCategory'] = IResolversParentTypes['AdminCategory']> = {
2896
2909
  id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
2897
2910
  name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
2898
2911
  matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
2912
+ archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
2899
2913
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2900
2914
  };
2901
2915
  export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
@@ -3704,7 +3718,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
3704
3718
  unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
3705
3719
  unsubscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationUnsubscribeGalleryArgs, 'galleryId'>>;
3706
3720
  updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
3721
+ updateBrandArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArchivedStatusArgs, 'id' | 'isArchived'>>;
3707
3722
  updateCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArgs, 'id' | 'input'>>;
3723
+ updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
3708
3724
  updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
3709
3725
  updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
3710
3726
  updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
@@ -3837,6 +3853,10 @@ export type IProfilePageResolvers<ContextType = any, ParentType extends IResolve
3837
3853
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
3838
3854
  };
3839
3855
  export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
3856
+ fetchAdminBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
3857
+ fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
3858
+ fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
3859
+ fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
3840
3860
  fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
3841
3861
  fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
3842
3862
  fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
@@ -3862,10 +3882,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
3862
3882
  fetchBannerAssets?: Resolver<Array<Maybe<IResolversTypes['BannerAsset']>>, ParentType, ContextType, RequireFields<IQueryFetchBannerAssetsArgs, 'pageSize'>>;
3863
3883
  fetchBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
3864
3884
  fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
3865
- fetchBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
3866
- fetchBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
3867
- fetchCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
3868
- fetchCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
3869
3885
  fetchCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
3870
3886
  fetchCollection?: Resolver<IResolversTypes['Collection'], ParentType, ContextType, RequireFields<IQueryFetchCollectionArgs, 'collectionId'>>;
3871
3887
  fetchCollectionAssets?: Resolver<IResolversTypes['CollectionAssetsPage'], ParentType, ContextType, RequireFields<IQueryFetchCollectionAssetsArgs, 'collectionId' | 'pageSize'>>;
@@ -4399,6 +4415,17 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
4399
4415
  isActive: Scalars['Boolean'];
4400
4416
  }>;
4401
4417
  export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
4418
+ export type IFetchAdminBrandsPageQueryVariables = Exact<{
4419
+ filter: IBrandsFilterInput;
4420
+ sort: IBrandsSortInput;
4421
+ page: IAdminPageInput;
4422
+ }>;
4423
+ export type IFetchAdminBrandsPageQuery = {
4424
+ fetchAdminBrandsPage: {
4425
+ brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name' | 'archived'>>;
4426
+ nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
4427
+ };
4428
+ };
4402
4429
  export type IFetchAdminInvitesPageQueryVariables = Exact<{
4403
4430
  filter: IInvitesFilterInput;
4404
4431
  sort: IInvitesSortInput;
@@ -4468,37 +4495,26 @@ export type IFetchBlockchainsQueryVariables = Exact<{
4468
4495
  [key: string]: never;
4469
4496
  }>;
4470
4497
  export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
4471
- export type IFetchBrandsQueryVariables = Exact<{
4498
+ export type IFetchAdminBrandsQueryVariables = Exact<{
4472
4499
  [key: string]: never;
4473
4500
  }>;
4474
- export type IFetchBrandsQuery = {
4475
- fetchBrands: Array<Pick<IAdminBrand, 'id' | 'name'>>;
4501
+ export type IFetchAdminBrandsQuery = {
4502
+ fetchAdminBrands: Array<Pick<IAdminBrand, 'id' | 'name'>>;
4476
4503
  };
4477
- export type IFetchBrandsPageQueryVariables = Exact<{
4478
- filter: IBrandsFilterInput;
4479
- sort: IBrandsSortInput;
4480
- page: IAdminPageInput;
4481
- }>;
4482
- export type IFetchBrandsPageQuery = {
4483
- fetchBrandsPage: {
4484
- brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name'>>;
4485
- nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
4486
- };
4487
- };
4488
- export type IFetchCategoriesQueryVariables = Exact<{
4504
+ export type IFetchAdminCategoriesQueryVariables = Exact<{
4489
4505
  [key: string]: never;
4490
4506
  }>;
4491
- export type IFetchCategoriesQuery = {
4492
- fetchCategories: Array<Pick<IAdminCategory, 'id' | 'name'>>;
4507
+ export type IFetchAdminCategoriesQuery = {
4508
+ fetchAdminCategories: Array<Pick<IAdminCategory, 'id' | 'name'>>;
4493
4509
  };
4494
- export type IFetchCategoriesPageQueryVariables = Exact<{
4510
+ export type IFetchAdminCategoriesPageQueryVariables = Exact<{
4495
4511
  filter: ICategoriesFilterInput;
4496
4512
  sort: ICategoriesSortInput;
4497
4513
  page: IAdminPageInput;
4498
4514
  }>;
4499
- export type IFetchCategoriesPageQuery = {
4500
- fetchCategoriesPage: {
4501
- categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords'>>;
4515
+ export type IFetchAdminCategoriesPageQuery = {
4516
+ fetchAdminCategoriesPage: {
4517
+ categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords' | 'archived'>>;
4502
4518
  nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
4503
4519
  };
4504
4520
  };
@@ -5564,6 +5580,38 @@ export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.Muta
5564
5580
  export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
5565
5581
  export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
5566
5582
  export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
5583
+ export declare const FetchAdminBrandsPageDocument: Apollo.DocumentNode;
5584
+ /**
5585
+ * __useFetchAdminBrandsPageQuery__
5586
+ *
5587
+ * To run a query within a React component, call `useFetchAdminBrandsPageQuery` and pass it any options that fit your needs.
5588
+ * When your component renders, `useFetchAdminBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
5589
+ * you can use to render your UI.
5590
+ *
5591
+ * @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;
5592
+ *
5593
+ * @example
5594
+ * const { data, loading, error } = useFetchAdminBrandsPageQuery({
5595
+ * variables: {
5596
+ * filter: // value for 'filter'
5597
+ * sort: // value for 'sort'
5598
+ * page: // value for 'page'
5599
+ * },
5600
+ * });
5601
+ */
5602
+ export declare function useFetchAdminBrandsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>): Apollo.QueryResult<IFetchAdminBrandsPageQuery, Exact<{
5603
+ filter: IBrandsFilterInput;
5604
+ sort: IBrandsSortInput;
5605
+ page: IAdminPageInput;
5606
+ }>>;
5607
+ export declare function useFetchAdminBrandsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminBrandsPageQuery, Exact<{
5608
+ filter: IBrandsFilterInput;
5609
+ sort: IBrandsSortInput;
5610
+ page: IAdminPageInput;
5611
+ }>>;
5612
+ export type FetchAdminBrandsPageQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageQuery>;
5613
+ export type FetchAdminBrandsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageLazyQuery>;
5614
+ export type FetchAdminBrandsPageQueryResult = Apollo.QueryResult<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>;
5567
5615
  export declare const FetchAdminInvitesPageDocument: Apollo.DocumentNode;
5568
5616
  /**
5569
5617
  * __useFetchAdminInvitesPageQuery__
@@ -5749,100 +5797,68 @@ export declare function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQu
5749
5797
  export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
5750
5798
  export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
5751
5799
  export type FetchBlockchainsQueryResult = Apollo.QueryResult<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>;
5752
- export declare const FetchBrandsDocument: Apollo.DocumentNode;
5800
+ export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
5753
5801
  /**
5754
- * __useFetchBrandsQuery__
5802
+ * __useFetchAdminBrandsQuery__
5755
5803
  *
5756
- * To run a query within a React component, call `useFetchBrandsQuery` and pass it any options that fit your needs.
5757
- * When your component renders, `useFetchBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5804
+ * To run a query within a React component, call `useFetchAdminBrandsQuery` and pass it any options that fit your needs.
5805
+ * When your component renders, `useFetchAdminBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5758
5806
  * you can use to render your UI.
5759
5807
  *
5760
5808
  * @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;
5761
5809
  *
5762
5810
  * @example
5763
- * const { data, loading, error } = useFetchBrandsQuery({
5811
+ * const { data, loading, error } = useFetchAdminBrandsQuery({
5764
5812
  * variables: {
5765
5813
  * },
5766
5814
  * });
5767
5815
  */
5768
- export declare function useFetchBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchBrandsQuery, IFetchBrandsQueryVariables>): Apollo.QueryResult<IFetchBrandsQuery, Exact<{
5816
+ export declare function useFetchAdminBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>): Apollo.QueryResult<IFetchAdminBrandsQuery, Exact<{
5769
5817
  [key: string]: never;
5770
5818
  }>>;
5771
- export declare function useFetchBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchBrandsQuery, IFetchBrandsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchBrandsQuery, Exact<{
5819
+ export declare function useFetchAdminBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminBrandsQuery, Exact<{
5772
5820
  [key: string]: never;
5773
5821
  }>>;
5774
- export type FetchBrandsQueryHookResult = ReturnType<typeof useFetchBrandsQuery>;
5775
- export type FetchBrandsLazyQueryHookResult = ReturnType<typeof useFetchBrandsLazyQuery>;
5776
- export type FetchBrandsQueryResult = Apollo.QueryResult<IFetchBrandsQuery, IFetchBrandsQueryVariables>;
5777
- export declare const FetchBrandsPageDocument: Apollo.DocumentNode;
5778
- /**
5779
- * __useFetchBrandsPageQuery__
5780
- *
5781
- * To run a query within a React component, call `useFetchBrandsPageQuery` and pass it any options that fit your needs.
5782
- * When your component renders, `useFetchBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
5783
- * you can use to render your UI.
5784
- *
5785
- * @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;
5786
- *
5787
- * @example
5788
- * const { data, loading, error } = useFetchBrandsPageQuery({
5789
- * variables: {
5790
- * filter: // value for 'filter'
5791
- * sort: // value for 'sort'
5792
- * page: // value for 'page'
5793
- * },
5794
- * });
5795
- */
5796
- export declare function useFetchBrandsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchBrandsPageQuery, IFetchBrandsPageQueryVariables>): Apollo.QueryResult<IFetchBrandsPageQuery, Exact<{
5797
- filter: IBrandsFilterInput;
5798
- sort: IBrandsSortInput;
5799
- page: IAdminPageInput;
5800
- }>>;
5801
- export declare function useFetchBrandsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchBrandsPageQuery, IFetchBrandsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchBrandsPageQuery, Exact<{
5802
- filter: IBrandsFilterInput;
5803
- sort: IBrandsSortInput;
5804
- page: IAdminPageInput;
5805
- }>>;
5806
- export type FetchBrandsPageQueryHookResult = ReturnType<typeof useFetchBrandsPageQuery>;
5807
- export type FetchBrandsPageLazyQueryHookResult = ReturnType<typeof useFetchBrandsPageLazyQuery>;
5808
- export type FetchBrandsPageQueryResult = Apollo.QueryResult<IFetchBrandsPageQuery, IFetchBrandsPageQueryVariables>;
5809
- export declare const FetchCategoriesDocument: Apollo.DocumentNode;
5822
+ export type FetchAdminBrandsQueryHookResult = ReturnType<typeof useFetchAdminBrandsQuery>;
5823
+ export type FetchAdminBrandsLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsLazyQuery>;
5824
+ export type FetchAdminBrandsQueryResult = Apollo.QueryResult<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>;
5825
+ export declare const FetchAdminCategoriesDocument: Apollo.DocumentNode;
5810
5826
  /**
5811
- * __useFetchCategoriesQuery__
5827
+ * __useFetchAdminCategoriesQuery__
5812
5828
  *
5813
- * To run a query within a React component, call `useFetchCategoriesQuery` and pass it any options that fit your needs.
5814
- * When your component renders, `useFetchCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5829
+ * To run a query within a React component, call `useFetchAdminCategoriesQuery` and pass it any options that fit your needs.
5830
+ * When your component renders, `useFetchAdminCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5815
5831
  * you can use to render your UI.
5816
5832
  *
5817
5833
  * @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;
5818
5834
  *
5819
5835
  * @example
5820
- * const { data, loading, error } = useFetchCategoriesQuery({
5836
+ * const { data, loading, error } = useFetchAdminCategoriesQuery({
5821
5837
  * variables: {
5822
5838
  * },
5823
5839
  * });
5824
5840
  */
5825
- export declare function useFetchCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchCategoriesQuery, IFetchCategoriesQueryVariables>): Apollo.QueryResult<IFetchCategoriesQuery, Exact<{
5841
+ export declare function useFetchAdminCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>): Apollo.QueryResult<IFetchAdminCategoriesQuery, Exact<{
5826
5842
  [key: string]: never;
5827
5843
  }>>;
5828
- export declare function useFetchCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCategoriesQuery, IFetchCategoriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchCategoriesQuery, Exact<{
5844
+ export declare function useFetchAdminCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminCategoriesQuery, Exact<{
5829
5845
  [key: string]: never;
5830
5846
  }>>;
5831
- export type FetchCategoriesQueryHookResult = ReturnType<typeof useFetchCategoriesQuery>;
5832
- export type FetchCategoriesLazyQueryHookResult = ReturnType<typeof useFetchCategoriesLazyQuery>;
5833
- export type FetchCategoriesQueryResult = Apollo.QueryResult<IFetchCategoriesQuery, IFetchCategoriesQueryVariables>;
5834
- export declare const FetchCategoriesPageDocument: Apollo.DocumentNode;
5847
+ export type FetchAdminCategoriesQueryHookResult = ReturnType<typeof useFetchAdminCategoriesQuery>;
5848
+ export type FetchAdminCategoriesLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesLazyQuery>;
5849
+ export type FetchAdminCategoriesQueryResult = Apollo.QueryResult<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>;
5850
+ export declare const FetchAdminCategoriesPageDocument: Apollo.DocumentNode;
5835
5851
  /**
5836
- * __useFetchCategoriesPageQuery__
5852
+ * __useFetchAdminCategoriesPageQuery__
5837
5853
  *
5838
- * To run a query within a React component, call `useFetchCategoriesPageQuery` and pass it any options that fit your needs.
5839
- * When your component renders, `useFetchCategoriesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
5854
+ * To run a query within a React component, call `useFetchAdminCategoriesPageQuery` and pass it any options that fit your needs.
5855
+ * When your component renders, `useFetchAdminCategoriesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
5840
5856
  * you can use to render your UI.
5841
5857
  *
5842
5858
  * @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;
5843
5859
  *
5844
5860
  * @example
5845
- * const { data, loading, error } = useFetchCategoriesPageQuery({
5861
+ * const { data, loading, error } = useFetchAdminCategoriesPageQuery({
5846
5862
  * variables: {
5847
5863
  * filter: // value for 'filter'
5848
5864
  * sort: // value for 'sort'
@@ -5850,19 +5866,19 @@ export declare const FetchCategoriesPageDocument: Apollo.DocumentNode;
5850
5866
  * },
5851
5867
  * });
5852
5868
  */
5853
- export declare function useFetchCategoriesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchCategoriesPageQuery, IFetchCategoriesPageQueryVariables>): Apollo.QueryResult<IFetchCategoriesPageQuery, Exact<{
5869
+ export declare function useFetchAdminCategoriesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>): Apollo.QueryResult<IFetchAdminCategoriesPageQuery, Exact<{
5854
5870
  filter: ICategoriesFilterInput;
5855
5871
  sort: ICategoriesSortInput;
5856
5872
  page: IAdminPageInput;
5857
5873
  }>>;
5858
- export declare function useFetchCategoriesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCategoriesPageQuery, IFetchCategoriesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchCategoriesPageQuery, Exact<{
5874
+ export declare function useFetchAdminCategoriesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminCategoriesPageQuery, Exact<{
5859
5875
  filter: ICategoriesFilterInput;
5860
5876
  sort: ICategoriesSortInput;
5861
5877
  page: IAdminPageInput;
5862
5878
  }>>;
5863
- export type FetchCategoriesPageQueryHookResult = ReturnType<typeof useFetchCategoriesPageQuery>;
5864
- export type FetchCategoriesPageLazyQueryHookResult = ReturnType<typeof useFetchCategoriesPageLazyQuery>;
5865
- export type FetchCategoriesPageQueryResult = Apollo.QueryResult<IFetchCategoriesPageQuery, IFetchCategoriesPageQueryVariables>;
5879
+ export type FetchAdminCategoriesPageQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageQuery>;
5880
+ export type FetchAdminCategoriesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageLazyQuery>;
5881
+ export type FetchAdminCategoriesPageQueryResult = Apollo.QueryResult<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>;
5866
5882
  export declare const DislikeAssetDocument: Apollo.DocumentNode;
5867
5883
  export type IDislikeAssetMutationFn = Apollo.MutationFunction<IDislikeAssetMutation, IDislikeAssetMutationVariables>;
5868
5884
  /**