@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.
|
@@ -41,12 +41,14 @@ export type IAdminBrand = {
|
|
|
41
41
|
industry?: Maybe<Scalars['String']>;
|
|
42
42
|
link?: Maybe<Scalars['String']>;
|
|
43
43
|
media?: Maybe<Scalars['String']>;
|
|
44
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
44
45
|
};
|
|
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
|
|
|
52
54
|
export type IAdminInvite = {
|
|
@@ -1050,7 +1052,9 @@ export type IMutation = {
|
|
|
1050
1052
|
unfollowProfile: Scalars['Boolean'];
|
|
1051
1053
|
unsubscribeGallery: Scalars['Int'];
|
|
1052
1054
|
updateBrand: Scalars['Boolean'];
|
|
1055
|
+
updateBrandArchivedStatus: Scalars['Boolean'];
|
|
1053
1056
|
updateCategory: Scalars['Boolean'];
|
|
1057
|
+
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
1054
1058
|
updateOpportunity: Scalars['Boolean'];
|
|
1055
1059
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
1056
1060
|
updateProfile: Scalars['Boolean'];
|
|
@@ -1643,12 +1647,24 @@ export type IMutationUpdateBrandArgs = {
|
|
|
1643
1647
|
};
|
|
1644
1648
|
|
|
1645
1649
|
|
|
1650
|
+
export type IMutationUpdateBrandArchivedStatusArgs = {
|
|
1651
|
+
id: Scalars['ID'];
|
|
1652
|
+
isArchived: Scalars['Boolean'];
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
|
|
1646
1656
|
export type IMutationUpdateCategoryArgs = {
|
|
1647
1657
|
id: Scalars['ID'];
|
|
1648
1658
|
input: ICategoryInput;
|
|
1649
1659
|
};
|
|
1650
1660
|
|
|
1651
1661
|
|
|
1662
|
+
export type IMutationUpdateCategoryArchivedStatusArgs = {
|
|
1663
|
+
id: Scalars['ID'];
|
|
1664
|
+
isArchived: Scalars['Boolean'];
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
|
|
1652
1668
|
export type IMutationUpdateOpportunityArgs = {
|
|
1653
1669
|
id: Scalars['ID'];
|
|
1654
1670
|
input: IAdminOpportunityInput;
|
|
@@ -1880,6 +1896,10 @@ export type IProfilePage = {
|
|
|
1880
1896
|
};
|
|
1881
1897
|
|
|
1882
1898
|
export type IQuery = {
|
|
1899
|
+
fetchAdminBrands: Array<IAdminBrand>;
|
|
1900
|
+
fetchAdminBrandsPage: IBrandsPage;
|
|
1901
|
+
fetchAdminCategories: Array<IAdminCategory>;
|
|
1902
|
+
fetchAdminCategoriesPage: ICategoriesPage;
|
|
1883
1903
|
fetchAdminInvitesPage: IInvitesPage;
|
|
1884
1904
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
1885
1905
|
fetchAdminReferralsPage: IReferralsPage;
|
|
@@ -1907,10 +1927,6 @@ export type IQuery = {
|
|
|
1907
1927
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1908
1928
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1909
1929
|
fetchBlockchains: Array<Scalars['String']>;
|
|
1910
|
-
fetchBrands: Array<IAdminBrand>;
|
|
1911
|
-
fetchBrandsPage: IBrandsPage;
|
|
1912
|
-
fetchCategories: Array<IAdminCategory>;
|
|
1913
|
-
fetchCategoriesPage: ICategoriesPage;
|
|
1914
1930
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1915
1931
|
fetchCollection: ICollection;
|
|
1916
1932
|
fetchCollectionAssets: ICollectionAssetsPage;
|
|
@@ -2035,6 +2051,20 @@ export type IQuery = {
|
|
|
2035
2051
|
};
|
|
2036
2052
|
|
|
2037
2053
|
|
|
2054
|
+
export type IQueryFetchAdminBrandsPageArgs = {
|
|
2055
|
+
filter: IBrandsFilterInput;
|
|
2056
|
+
sort: IBrandsSortInput;
|
|
2057
|
+
page: IAdminPageInput;
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
export type IQueryFetchAdminCategoriesPageArgs = {
|
|
2062
|
+
filter: ICategoriesFilterInput;
|
|
2063
|
+
sort: ICategoriesSortInput;
|
|
2064
|
+
page: IAdminPageInput;
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
|
|
2038
2068
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
2039
2069
|
filter: IInvitesFilterInput;
|
|
2040
2070
|
sort: IInvitesSortInput;
|
|
@@ -2162,20 +2192,6 @@ export type IQueryFetchBannerAssetsArgs = {
|
|
|
2162
2192
|
};
|
|
2163
2193
|
|
|
2164
2194
|
|
|
2165
|
-
export type IQueryFetchBrandsPageArgs = {
|
|
2166
|
-
filter: IBrandsFilterInput;
|
|
2167
|
-
sort: IBrandsSortInput;
|
|
2168
|
-
page: IAdminPageInput;
|
|
2169
|
-
};
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
export type IQueryFetchCategoriesPageArgs = {
|
|
2173
|
-
filter: ICategoriesFilterInput;
|
|
2174
|
-
sort: ICategoriesSortInput;
|
|
2175
|
-
page: IAdminPageInput;
|
|
2176
|
-
};
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
2195
|
export type IQueryFetchCollectionArgs = {
|
|
2180
2196
|
collectionId: Scalars['String'];
|
|
2181
2197
|
};
|
|
@@ -3137,12 +3153,12 @@ export type IResolversTypes = {
|
|
|
3137
3153
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
3138
3154
|
Address: ResolverTypeWrapper<IAddress>;
|
|
3139
3155
|
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
3156
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
3140
3157
|
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
3141
3158
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
3142
3159
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
3143
3160
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
3144
3161
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
3145
|
-
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
3146
3162
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
3147
3163
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
3148
3164
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
@@ -3308,12 +3324,12 @@ export type IResolversParentTypes = {
|
|
|
3308
3324
|
String: Scalars['String'];
|
|
3309
3325
|
Address: IAddress;
|
|
3310
3326
|
AdminBrand: IAdminBrand;
|
|
3327
|
+
Boolean: Scalars['Boolean'];
|
|
3311
3328
|
AdminCategory: IAdminCategory;
|
|
3312
3329
|
AdminInvite: IAdminInvite;
|
|
3313
3330
|
Int: Scalars['Int'];
|
|
3314
3331
|
AdminOpportunity: IAdminOpportunity;
|
|
3315
3332
|
ID: Scalars['ID'];
|
|
3316
|
-
Boolean: Scalars['Boolean'];
|
|
3317
3333
|
Float: Scalars['Float'];
|
|
3318
3334
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
3319
3335
|
AdminPage: IAdminPage;
|
|
@@ -3520,6 +3536,7 @@ export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolver
|
|
|
3520
3536
|
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3521
3537
|
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3522
3538
|
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3539
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
3523
3540
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3524
3541
|
};
|
|
3525
3542
|
|
|
@@ -3527,6 +3544,7 @@ export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResol
|
|
|
3527
3544
|
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3528
3545
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3529
3546
|
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3547
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
3530
3548
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3531
3549
|
};
|
|
3532
3550
|
|
|
@@ -4400,7 +4418,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
4400
4418
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
4401
4419
|
unsubscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationUnsubscribeGalleryArgs, 'galleryId'>>;
|
|
4402
4420
|
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
4421
|
+
updateBrandArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
4403
4422
|
updateCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArgs, 'id' | 'input'>>;
|
|
4423
|
+
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
4404
4424
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
4405
4425
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
4406
4426
|
updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
|
|
@@ -4545,6 +4565,10 @@ export type IProfilePageResolvers<ContextType = any, ParentType extends IResolve
|
|
|
4545
4565
|
};
|
|
4546
4566
|
|
|
4547
4567
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
4568
|
+
fetchAdminBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
4569
|
+
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4570
|
+
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
4571
|
+
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4548
4572
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4549
4573
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4550
4574
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -4570,10 +4594,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
4570
4594
|
fetchBannerAssets?: Resolver<Array<Maybe<IResolversTypes['BannerAsset']>>, ParentType, ContextType, RequireFields<IQueryFetchBannerAssetsArgs, 'pageSize'>>;
|
|
4571
4595
|
fetchBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
4572
4596
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
4573
|
-
fetchBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
4574
|
-
fetchBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4575
|
-
fetchCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
4576
|
-
fetchCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4577
4597
|
fetchCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
4578
4598
|
fetchCollection?: Resolver<IResolversTypes['Collection'], ParentType, ContextType, RequireFields<IQueryFetchCollectionArgs, 'collectionId'>>;
|
|
4579
4599
|
fetchCollectionAssets?: Resolver<IResolversTypes['CollectionAssetsPage'], ParentType, ContextType, RequireFields<IQueryFetchCollectionAssetsArgs, 'collectionId' | 'pageSize'>>;
|
|
@@ -5165,6 +5185,15 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
5165
5185
|
|
|
5166
5186
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
5167
5187
|
|
|
5188
|
+
export type IFetchAdminBrandsPageQueryVariables = Exact<{
|
|
5189
|
+
filter: IBrandsFilterInput;
|
|
5190
|
+
sort: IBrandsSortInput;
|
|
5191
|
+
page: IAdminPageInput;
|
|
5192
|
+
}>;
|
|
5193
|
+
|
|
5194
|
+
|
|
5195
|
+
export type IFetchAdminBrandsPageQuery = { fetchAdminBrandsPage: { brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name' | 'archived'>>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>> } };
|
|
5196
|
+
|
|
5168
5197
|
export type IFetchAdminInvitesPageQueryVariables = Exact<{
|
|
5169
5198
|
filter: IInvitesFilterInput;
|
|
5170
5199
|
sort: IInvitesSortInput;
|
|
@@ -5227,33 +5256,24 @@ export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
5227
5256
|
|
|
5228
5257
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
5229
5258
|
|
|
5230
|
-
export type
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
export type IFetchBrandsQuery = { fetchBrands: Array<Pick<IAdminBrand, 'id' | 'name'>> };
|
|
5259
|
+
export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
5234
5260
|
|
|
5235
|
-
export type IFetchBrandsPageQueryVariables = Exact<{
|
|
5236
|
-
filter: IBrandsFilterInput;
|
|
5237
|
-
sort: IBrandsSortInput;
|
|
5238
|
-
page: IAdminPageInput;
|
|
5239
|
-
}>;
|
|
5240
5261
|
|
|
5262
|
+
export type IFetchAdminBrandsQuery = { fetchAdminBrands: Array<Pick<IAdminBrand, 'id' | 'name'>> };
|
|
5241
5263
|
|
|
5242
|
-
export type
|
|
5264
|
+
export type IFetchAdminCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
5243
5265
|
|
|
5244
|
-
export type IFetchCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
5245
5266
|
|
|
5267
|
+
export type IFetchAdminCategoriesQuery = { fetchAdminCategories: Array<Pick<IAdminCategory, 'id' | 'name'>> };
|
|
5246
5268
|
|
|
5247
|
-
export type
|
|
5248
|
-
|
|
5249
|
-
export type IFetchCategoriesPageQueryVariables = Exact<{
|
|
5269
|
+
export type IFetchAdminCategoriesPageQueryVariables = Exact<{
|
|
5250
5270
|
filter: ICategoriesFilterInput;
|
|
5251
5271
|
sort: ICategoriesSortInput;
|
|
5252
5272
|
page: IAdminPageInput;
|
|
5253
5273
|
}>;
|
|
5254
5274
|
|
|
5255
5275
|
|
|
5256
|
-
export type
|
|
5276
|
+
export type IFetchAdminCategoriesPageQuery = { fetchAdminCategoriesPage: { categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords' | 'archived'>>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>> } };
|
|
5257
5277
|
|
|
5258
5278
|
export type IDislikeAssetMutationVariables = Exact<{
|
|
5259
5279
|
assetId: Scalars['String'];
|
|
@@ -6457,6 +6477,56 @@ export function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHook
|
|
|
6457
6477
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
6458
6478
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
6459
6479
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
6480
|
+
export const FetchAdminBrandsPageDocument = gql`
|
|
6481
|
+
query FetchAdminBrandsPage($filter: BrandsFilterInput!, $sort: BrandsSortInput!, $page: AdminPageInput!) {
|
|
6482
|
+
fetchAdminBrandsPage(filter: $filter, sort: $sort, page: $page) {
|
|
6483
|
+
brands {
|
|
6484
|
+
description
|
|
6485
|
+
id
|
|
6486
|
+
industry
|
|
6487
|
+
link
|
|
6488
|
+
matchingWords
|
|
6489
|
+
media
|
|
6490
|
+
name
|
|
6491
|
+
archived
|
|
6492
|
+
}
|
|
6493
|
+
nextPage {
|
|
6494
|
+
num
|
|
6495
|
+
lastNum
|
|
6496
|
+
size
|
|
6497
|
+
elements
|
|
6498
|
+
}
|
|
6499
|
+
}
|
|
6500
|
+
}
|
|
6501
|
+
`;
|
|
6502
|
+
|
|
6503
|
+
/**
|
|
6504
|
+
* __useFetchAdminBrandsPageQuery__
|
|
6505
|
+
*
|
|
6506
|
+
* To run a query within a React component, call `useFetchAdminBrandsPageQuery` and pass it any options that fit your needs.
|
|
6507
|
+
* When your component renders, `useFetchAdminBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6508
|
+
* you can use to render your UI.
|
|
6509
|
+
*
|
|
6510
|
+
* @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;
|
|
6511
|
+
*
|
|
6512
|
+
* @example
|
|
6513
|
+
* const { data, loading, error } = useFetchAdminBrandsPageQuery({
|
|
6514
|
+
* variables: {
|
|
6515
|
+
* filter: // value for 'filter'
|
|
6516
|
+
* sort: // value for 'sort'
|
|
6517
|
+
* page: // value for 'page'
|
|
6518
|
+
* },
|
|
6519
|
+
* });
|
|
6520
|
+
*/
|
|
6521
|
+
export function useFetchAdminBrandsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>) {
|
|
6522
|
+
return Apollo.useQuery<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>(FetchAdminBrandsPageDocument, baseOptions);
|
|
6523
|
+
}
|
|
6524
|
+
export function useFetchAdminBrandsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>) {
|
|
6525
|
+
return Apollo.useLazyQuery<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>(FetchAdminBrandsPageDocument, baseOptions);
|
|
6526
|
+
}
|
|
6527
|
+
export type FetchAdminBrandsPageQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageQuery>;
|
|
6528
|
+
export type FetchAdminBrandsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageLazyQuery>;
|
|
6529
|
+
export type FetchAdminBrandsPageQueryResult = Apollo.QueryResult<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>;
|
|
6460
6530
|
export const FetchAdminInvitesPageDocument = gql`
|
|
6461
6531
|
query fetchAdminInvitesPage($filter: InvitesFilterInput!, $sort: InvitesSortInput!, $page: AdminPageInput!) {
|
|
6462
6532
|
fetchAdminInvitesPage(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -6778,9 +6848,9 @@ export function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
6778
6848
|
export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
|
|
6779
6849
|
export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
|
|
6780
6850
|
export type FetchBlockchainsQueryResult = Apollo.QueryResult<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>;
|
|
6781
|
-
export const
|
|
6782
|
-
query
|
|
6783
|
-
|
|
6851
|
+
export const FetchAdminBrandsDocument = gql`
|
|
6852
|
+
query FetchAdminBrands {
|
|
6853
|
+
fetchAdminBrands {
|
|
6784
6854
|
id
|
|
6785
6855
|
name
|
|
6786
6856
|
}
|
|
@@ -6788,81 +6858,32 @@ export const FetchBrandsDocument = gql`
|
|
|
6788
6858
|
`;
|
|
6789
6859
|
|
|
6790
6860
|
/**
|
|
6791
|
-
*
|
|
6792
|
-
*
|
|
6793
|
-
* To run a query within a React component, call `useFetchBrandsQuery` and pass it any options that fit your needs.
|
|
6794
|
-
* When your component renders, `useFetchBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6795
|
-
* you can use to render your UI.
|
|
6796
|
-
*
|
|
6797
|
-
* @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;
|
|
6798
|
-
*
|
|
6799
|
-
* @example
|
|
6800
|
-
* const { data, loading, error } = useFetchBrandsQuery({
|
|
6801
|
-
* variables: {
|
|
6802
|
-
* },
|
|
6803
|
-
* });
|
|
6804
|
-
*/
|
|
6805
|
-
export function useFetchBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchBrandsQuery, IFetchBrandsQueryVariables>) {
|
|
6806
|
-
return Apollo.useQuery<IFetchBrandsQuery, IFetchBrandsQueryVariables>(FetchBrandsDocument, baseOptions);
|
|
6807
|
-
}
|
|
6808
|
-
export function useFetchBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchBrandsQuery, IFetchBrandsQueryVariables>) {
|
|
6809
|
-
return Apollo.useLazyQuery<IFetchBrandsQuery, IFetchBrandsQueryVariables>(FetchBrandsDocument, baseOptions);
|
|
6810
|
-
}
|
|
6811
|
-
export type FetchBrandsQueryHookResult = ReturnType<typeof useFetchBrandsQuery>;
|
|
6812
|
-
export type FetchBrandsLazyQueryHookResult = ReturnType<typeof useFetchBrandsLazyQuery>;
|
|
6813
|
-
export type FetchBrandsQueryResult = Apollo.QueryResult<IFetchBrandsQuery, IFetchBrandsQueryVariables>;
|
|
6814
|
-
export const FetchBrandsPageDocument = gql`
|
|
6815
|
-
query FetchBrandsPage($filter: BrandsFilterInput!, $sort: BrandsSortInput!, $page: AdminPageInput!) {
|
|
6816
|
-
fetchBrandsPage(filter: $filter, sort: $sort, page: $page) {
|
|
6817
|
-
brands {
|
|
6818
|
-
description
|
|
6819
|
-
id
|
|
6820
|
-
industry
|
|
6821
|
-
link
|
|
6822
|
-
matchingWords
|
|
6823
|
-
media
|
|
6824
|
-
name
|
|
6825
|
-
}
|
|
6826
|
-
nextPage {
|
|
6827
|
-
num
|
|
6828
|
-
lastNum
|
|
6829
|
-
size
|
|
6830
|
-
elements
|
|
6831
|
-
}
|
|
6832
|
-
}
|
|
6833
|
-
}
|
|
6834
|
-
`;
|
|
6835
|
-
|
|
6836
|
-
/**
|
|
6837
|
-
* __useFetchBrandsPageQuery__
|
|
6861
|
+
* __useFetchAdminBrandsQuery__
|
|
6838
6862
|
*
|
|
6839
|
-
* To run a query within a React component, call `
|
|
6840
|
-
* When your component renders, `
|
|
6863
|
+
* To run a query within a React component, call `useFetchAdminBrandsQuery` and pass it any options that fit your needs.
|
|
6864
|
+
* When your component renders, `useFetchAdminBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6841
6865
|
* you can use to render your UI.
|
|
6842
6866
|
*
|
|
6843
6867
|
* @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;
|
|
6844
6868
|
*
|
|
6845
6869
|
* @example
|
|
6846
|
-
* const { data, loading, error } =
|
|
6870
|
+
* const { data, loading, error } = useFetchAdminBrandsQuery({
|
|
6847
6871
|
* variables: {
|
|
6848
|
-
* filter: // value for 'filter'
|
|
6849
|
-
* sort: // value for 'sort'
|
|
6850
|
-
* page: // value for 'page'
|
|
6851
6872
|
* },
|
|
6852
6873
|
* });
|
|
6853
6874
|
*/
|
|
6854
|
-
export function
|
|
6855
|
-
return Apollo.useQuery<
|
|
6875
|
+
export function useFetchAdminBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>) {
|
|
6876
|
+
return Apollo.useQuery<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>(FetchAdminBrandsDocument, baseOptions);
|
|
6856
6877
|
}
|
|
6857
|
-
export function
|
|
6858
|
-
return Apollo.useLazyQuery<
|
|
6878
|
+
export function useFetchAdminBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>) {
|
|
6879
|
+
return Apollo.useLazyQuery<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>(FetchAdminBrandsDocument, baseOptions);
|
|
6859
6880
|
}
|
|
6860
|
-
export type
|
|
6861
|
-
export type
|
|
6862
|
-
export type
|
|
6863
|
-
export const
|
|
6864
|
-
query
|
|
6865
|
-
|
|
6881
|
+
export type FetchAdminBrandsQueryHookResult = ReturnType<typeof useFetchAdminBrandsQuery>;
|
|
6882
|
+
export type FetchAdminBrandsLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsLazyQuery>;
|
|
6883
|
+
export type FetchAdminBrandsQueryResult = Apollo.QueryResult<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>;
|
|
6884
|
+
export const FetchAdminCategoriesDocument = gql`
|
|
6885
|
+
query FetchAdminCategories {
|
|
6886
|
+
fetchAdminCategories {
|
|
6866
6887
|
id
|
|
6867
6888
|
name
|
|
6868
6889
|
}
|
|
@@ -6870,36 +6891,37 @@ export const FetchCategoriesDocument = gql`
|
|
|
6870
6891
|
`;
|
|
6871
6892
|
|
|
6872
6893
|
/**
|
|
6873
|
-
*
|
|
6894
|
+
* __useFetchAdminCategoriesQuery__
|
|
6874
6895
|
*
|
|
6875
|
-
* To run a query within a React component, call `
|
|
6876
|
-
* When your component renders, `
|
|
6896
|
+
* To run a query within a React component, call `useFetchAdminCategoriesQuery` and pass it any options that fit your needs.
|
|
6897
|
+
* When your component renders, `useFetchAdminCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6877
6898
|
* you can use to render your UI.
|
|
6878
6899
|
*
|
|
6879
6900
|
* @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;
|
|
6880
6901
|
*
|
|
6881
6902
|
* @example
|
|
6882
|
-
* const { data, loading, error } =
|
|
6903
|
+
* const { data, loading, error } = useFetchAdminCategoriesQuery({
|
|
6883
6904
|
* variables: {
|
|
6884
6905
|
* },
|
|
6885
6906
|
* });
|
|
6886
6907
|
*/
|
|
6887
|
-
export function
|
|
6888
|
-
return Apollo.useQuery<
|
|
6908
|
+
export function useFetchAdminCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>) {
|
|
6909
|
+
return Apollo.useQuery<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>(FetchAdminCategoriesDocument, baseOptions);
|
|
6889
6910
|
}
|
|
6890
|
-
export function
|
|
6891
|
-
return Apollo.useLazyQuery<
|
|
6911
|
+
export function useFetchAdminCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>) {
|
|
6912
|
+
return Apollo.useLazyQuery<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>(FetchAdminCategoriesDocument, baseOptions);
|
|
6892
6913
|
}
|
|
6893
|
-
export type
|
|
6894
|
-
export type
|
|
6895
|
-
export type
|
|
6896
|
-
export const
|
|
6897
|
-
query
|
|
6898
|
-
|
|
6914
|
+
export type FetchAdminCategoriesQueryHookResult = ReturnType<typeof useFetchAdminCategoriesQuery>;
|
|
6915
|
+
export type FetchAdminCategoriesLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesLazyQuery>;
|
|
6916
|
+
export type FetchAdminCategoriesQueryResult = Apollo.QueryResult<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>;
|
|
6917
|
+
export const FetchAdminCategoriesPageDocument = gql`
|
|
6918
|
+
query FetchAdminCategoriesPage($filter: CategoriesFilterInput!, $sort: CategoriesSortInput!, $page: AdminPageInput!) {
|
|
6919
|
+
fetchAdminCategoriesPage(filter: $filter, sort: $sort, page: $page) {
|
|
6899
6920
|
categories {
|
|
6900
6921
|
id
|
|
6901
6922
|
name
|
|
6902
6923
|
matchingWords
|
|
6924
|
+
archived
|
|
6903
6925
|
}
|
|
6904
6926
|
nextPage {
|
|
6905
6927
|
num
|
|
@@ -6912,16 +6934,16 @@ export const FetchCategoriesPageDocument = gql`
|
|
|
6912
6934
|
`;
|
|
6913
6935
|
|
|
6914
6936
|
/**
|
|
6915
|
-
*
|
|
6937
|
+
* __useFetchAdminCategoriesPageQuery__
|
|
6916
6938
|
*
|
|
6917
|
-
* To run a query within a React component, call `
|
|
6918
|
-
* When your component renders, `
|
|
6939
|
+
* To run a query within a React component, call `useFetchAdminCategoriesPageQuery` and pass it any options that fit your needs.
|
|
6940
|
+
* When your component renders, `useFetchAdminCategoriesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6919
6941
|
* you can use to render your UI.
|
|
6920
6942
|
*
|
|
6921
6943
|
* @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;
|
|
6922
6944
|
*
|
|
6923
6945
|
* @example
|
|
6924
|
-
* const { data, loading, error } =
|
|
6946
|
+
* const { data, loading, error } = useFetchAdminCategoriesPageQuery({
|
|
6925
6947
|
* variables: {
|
|
6926
6948
|
* filter: // value for 'filter'
|
|
6927
6949
|
* sort: // value for 'sort'
|
|
@@ -6929,15 +6951,15 @@ export const FetchCategoriesPageDocument = gql`
|
|
|
6929
6951
|
* },
|
|
6930
6952
|
* });
|
|
6931
6953
|
*/
|
|
6932
|
-
export function
|
|
6933
|
-
return Apollo.useQuery<
|
|
6954
|
+
export function useFetchAdminCategoriesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>) {
|
|
6955
|
+
return Apollo.useQuery<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>(FetchAdminCategoriesPageDocument, baseOptions);
|
|
6934
6956
|
}
|
|
6935
|
-
export function
|
|
6936
|
-
return Apollo.useLazyQuery<
|
|
6957
|
+
export function useFetchAdminCategoriesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>) {
|
|
6958
|
+
return Apollo.useLazyQuery<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>(FetchAdminCategoriesPageDocument, baseOptions);
|
|
6937
6959
|
}
|
|
6938
|
-
export type
|
|
6939
|
-
export type
|
|
6940
|
-
export type
|
|
6960
|
+
export type FetchAdminCategoriesPageQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageQuery>;
|
|
6961
|
+
export type FetchAdminCategoriesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageLazyQuery>;
|
|
6962
|
+
export type FetchAdminCategoriesPageQueryResult = Apollo.QueryResult<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>;
|
|
6941
6963
|
export const DislikeAssetDocument = gql`
|
|
6942
6964
|
mutation DislikeAsset($assetId: String!) {
|
|
6943
6965
|
dislikeAsset(assetId: $assetId)
|