@ludo.ninja/api 2.8.41 → 2.8.43
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__/adminHost/schema.d.ts +212 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +100 -1
- package/build/index.d.ts +38 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +262 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -49,6 +49,26 @@ export type IAdminCategory = {
|
|
|
49
49
|
archived?: Maybe<Scalars['Boolean']>;
|
|
50
50
|
addedBy?: Maybe<Scalars['String']>;
|
|
51
51
|
};
|
|
52
|
+
export type IAdminContactSupport = {
|
|
53
|
+
id: Scalars['String'];
|
|
54
|
+
userId?: Maybe<Scalars['String']>;
|
|
55
|
+
email?: Maybe<Scalars['String']>;
|
|
56
|
+
walletAddress?: Maybe<Scalars['String']>;
|
|
57
|
+
category?: Maybe<Scalars['String']>;
|
|
58
|
+
description?: Maybe<Scalars['String']>;
|
|
59
|
+
priority?: Maybe<Scalars['String']>;
|
|
60
|
+
};
|
|
61
|
+
export type IAdminContentReport = {
|
|
62
|
+
id: Scalars['String'];
|
|
63
|
+
userId?: Maybe<Scalars['String']>;
|
|
64
|
+
email?: Maybe<Scalars['String']>;
|
|
65
|
+
nameOfSubject?: Maybe<Scalars['String']>;
|
|
66
|
+
contentType?: Maybe<Scalars['String']>;
|
|
67
|
+
contentId?: Maybe<Scalars['String']>;
|
|
68
|
+
reportReason?: Maybe<Scalars['String']>;
|
|
69
|
+
description?: Maybe<Scalars['String']>;
|
|
70
|
+
evidenceFileUrl?: Maybe<Scalars['String']>;
|
|
71
|
+
};
|
|
52
72
|
export type IAdminInvite = {
|
|
53
73
|
userId: Scalars['String'];
|
|
54
74
|
username?: Maybe<Scalars['String']>;
|
|
@@ -188,6 +208,46 @@ export type ICategoryInput = {
|
|
|
188
208
|
name: Scalars['String'];
|
|
189
209
|
matchingWords: Array<Scalars['String']>;
|
|
190
210
|
};
|
|
211
|
+
export type IContactSupportFilterInput = {
|
|
212
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
213
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
214
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
215
|
+
walletAddressTerm?: Maybe<Scalars['String']>;
|
|
216
|
+
categoryTerm?: Maybe<Scalars['String']>;
|
|
217
|
+
descriptionTerm?: Maybe<Scalars['String']>;
|
|
218
|
+
priorityTerm?: Maybe<Scalars['String']>;
|
|
219
|
+
};
|
|
220
|
+
export type IContactSupportPage = {
|
|
221
|
+
contactSupports: Array<IAdminContactSupport>;
|
|
222
|
+
nextPage?: Maybe<IAdminPage>;
|
|
223
|
+
};
|
|
224
|
+
export type IContactSupportSortInput = {
|
|
225
|
+
sortByEmail?: Maybe<ISort>;
|
|
226
|
+
sortByWallet?: Maybe<ISort>;
|
|
227
|
+
sortByCategory?: Maybe<ISort>;
|
|
228
|
+
sortByPriority?: Maybe<ISort>;
|
|
229
|
+
};
|
|
230
|
+
export type IContentReportFilterInput = {
|
|
231
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
232
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
233
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
234
|
+
nameOfSubjectTerm?: Maybe<Scalars['String']>;
|
|
235
|
+
contentTypeTerm?: Maybe<Scalars['String']>;
|
|
236
|
+
contentIdTerm?: Maybe<Scalars['String']>;
|
|
237
|
+
reportReasonTerm?: Maybe<Scalars['String']>;
|
|
238
|
+
};
|
|
239
|
+
export type IContentReportPage = {
|
|
240
|
+
contentReports: Array<IAdminContentReport>;
|
|
241
|
+
nextPage?: Maybe<IAdminPage>;
|
|
242
|
+
};
|
|
243
|
+
export type IContentReportSortInput = {
|
|
244
|
+
sortByUserId?: Maybe<ISort>;
|
|
245
|
+
sortByEmail?: Maybe<ISort>;
|
|
246
|
+
sortByNameOfSubject?: Maybe<ISort>;
|
|
247
|
+
sortByContentType?: Maybe<ISort>;
|
|
248
|
+
sortByContentId?: Maybe<ISort>;
|
|
249
|
+
sortByReportReason?: Maybe<ISort>;
|
|
250
|
+
};
|
|
191
251
|
export type IInvitesFilterInput = {
|
|
192
252
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
193
253
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -322,6 +382,8 @@ export type IOpportunitiesSortInput = {
|
|
|
322
382
|
};
|
|
323
383
|
export type IQuery = {
|
|
324
384
|
getDummy: Scalars['String'];
|
|
385
|
+
fetchContactSupportPage: IContactSupportPage;
|
|
386
|
+
fetchContentReportPage: IContentReportPage;
|
|
325
387
|
fetchAdminInvitesPage: IInvitesPage;
|
|
326
388
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
327
389
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -333,6 +395,16 @@ export type IQuery = {
|
|
|
333
395
|
fetchAdminUsersPage: IUsersPage;
|
|
334
396
|
fetchAdminXpPage: IXpPage;
|
|
335
397
|
};
|
|
398
|
+
export type IQueryFetchContactSupportPageArgs = {
|
|
399
|
+
filter: IContactSupportFilterInput;
|
|
400
|
+
sort: IContactSupportSortInput;
|
|
401
|
+
page: IAdminPageInput;
|
|
402
|
+
};
|
|
403
|
+
export type IQueryFetchContentReportPageArgs = {
|
|
404
|
+
filter: IContentReportFilterInput;
|
|
405
|
+
sort: IContentReportSortInput;
|
|
406
|
+
page: IAdminPageInput;
|
|
407
|
+
};
|
|
336
408
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
337
409
|
filter: IInvitesFilterInput;
|
|
338
410
|
sort: IInvitesSortInput;
|
|
@@ -488,6 +560,8 @@ export type IResolversTypes = {
|
|
|
488
560
|
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
489
561
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
490
562
|
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
563
|
+
AdminContactSupport: ResolverTypeWrapper<IAdminContactSupport>;
|
|
564
|
+
AdminContentReport: ResolverTypeWrapper<IAdminContentReport>;
|
|
491
565
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
492
566
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
493
567
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
@@ -507,6 +581,12 @@ export type IResolversTypes = {
|
|
|
507
581
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
508
582
|
CategoriesSortInput: ICategoriesSortInput;
|
|
509
583
|
CategoryInput: ICategoryInput;
|
|
584
|
+
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
585
|
+
ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
|
|
586
|
+
ContactSupportSortInput: IContactSupportSortInput;
|
|
587
|
+
ContentReportFilterInput: IContentReportFilterInput;
|
|
588
|
+
ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
|
|
589
|
+
ContentReportSortInput: IContentReportSortInput;
|
|
510
590
|
InvitesFilterInput: IInvitesFilterInput;
|
|
511
591
|
InvitesPage: ResolverTypeWrapper<IInvitesPage>;
|
|
512
592
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -538,6 +618,8 @@ export type IResolversParentTypes = {
|
|
|
538
618
|
AdminBrand: IAdminBrand;
|
|
539
619
|
Boolean: Scalars['Boolean'];
|
|
540
620
|
AdminCategory: IAdminCategory;
|
|
621
|
+
AdminContactSupport: IAdminContactSupport;
|
|
622
|
+
AdminContentReport: IAdminContentReport;
|
|
541
623
|
AdminInvite: IAdminInvite;
|
|
542
624
|
Int: Scalars['Int'];
|
|
543
625
|
AdminOpportunity: IAdminOpportunity;
|
|
@@ -557,6 +639,12 @@ export type IResolversParentTypes = {
|
|
|
557
639
|
CategoriesPage: ICategoriesPage;
|
|
558
640
|
CategoriesSortInput: ICategoriesSortInput;
|
|
559
641
|
CategoryInput: ICategoryInput;
|
|
642
|
+
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
643
|
+
ContactSupportPage: IContactSupportPage;
|
|
644
|
+
ContactSupportSortInput: IContactSupportSortInput;
|
|
645
|
+
ContentReportFilterInput: IContentReportFilterInput;
|
|
646
|
+
ContentReportPage: IContentReportPage;
|
|
647
|
+
ContentReportSortInput: IContentReportSortInput;
|
|
560
648
|
InvitesFilterInput: IInvitesFilterInput;
|
|
561
649
|
InvitesPage: IInvitesPage;
|
|
562
650
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -618,6 +706,28 @@ export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResol
|
|
|
618
706
|
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
619
707
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
620
708
|
};
|
|
709
|
+
export type IAdminContactSupportResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminContactSupport'] = IResolversParentTypes['AdminContactSupport']> = {
|
|
710
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
711
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
712
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
713
|
+
walletAddress?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
714
|
+
category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
715
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
716
|
+
priority?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
717
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
718
|
+
};
|
|
719
|
+
export type IAdminContentReportResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminContentReport'] = IResolversParentTypes['AdminContentReport']> = {
|
|
720
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
721
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
722
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
723
|
+
nameOfSubject?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
724
|
+
contentType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
725
|
+
contentId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
726
|
+
reportReason?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
727
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
728
|
+
evidenceFileUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
729
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
730
|
+
};
|
|
621
731
|
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
622
732
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
623
733
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -705,6 +815,16 @@ export type ICategoriesPageResolvers<ContextType = any, ParentType extends IReso
|
|
|
705
815
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
706
816
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
707
817
|
};
|
|
818
|
+
export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
|
|
819
|
+
contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
|
|
820
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
821
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
822
|
+
};
|
|
823
|
+
export type IContentReportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContentReportPage'] = IResolversParentTypes['ContentReportPage']> = {
|
|
824
|
+
contentReports?: Resolver<Array<IResolversTypes['AdminContentReport']>, ParentType, ContextType>;
|
|
825
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
826
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
827
|
+
};
|
|
708
828
|
export type IInvitesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvitesPage'] = IResolversParentTypes['InvitesPage']> = {
|
|
709
829
|
invites?: Resolver<Array<IResolversTypes['AdminInvite']>, ParentType, ContextType>;
|
|
710
830
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -738,6 +858,8 @@ export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IR
|
|
|
738
858
|
};
|
|
739
859
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
740
860
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
861
|
+
fetchContactSupportPage?: Resolver<IResolversTypes['ContactSupportPage'], ParentType, ContextType, RequireFields<IQueryFetchContactSupportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
862
|
+
fetchContentReportPage?: Resolver<IResolversTypes['ContentReportPage'], ParentType, ContextType, RequireFields<IQueryFetchContentReportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
741
863
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
742
864
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
743
865
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -784,6 +906,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
784
906
|
ActiveInvite?: IActiveInviteResolvers<ContextType>;
|
|
785
907
|
AdminBrand?: IAdminBrandResolvers<ContextType>;
|
|
786
908
|
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
909
|
+
AdminContactSupport?: IAdminContactSupportResolvers<ContextType>;
|
|
910
|
+
AdminContentReport?: IAdminContentReportResolvers<ContextType>;
|
|
787
911
|
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
788
912
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
789
913
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
@@ -792,6 +916,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
792
916
|
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
793
917
|
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
794
918
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
919
|
+
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
920
|
+
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
795
921
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
796
922
|
Long?: GraphQLScalarType;
|
|
797
923
|
Mutation?: IMutationResolvers<ContextType>;
|
|
@@ -853,6 +979,28 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
853
979
|
isActive: Scalars['Boolean'];
|
|
854
980
|
}>;
|
|
855
981
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
982
|
+
export type IFetchContactSupportPageQueryVariables = Exact<{
|
|
983
|
+
filter: IContactSupportFilterInput;
|
|
984
|
+
sort: IContactSupportSortInput;
|
|
985
|
+
page: IAdminPageInput;
|
|
986
|
+
}>;
|
|
987
|
+
export type IFetchContactSupportPageQuery = {
|
|
988
|
+
fetchContactSupportPage: {
|
|
989
|
+
contactSupports: Array<Pick<IAdminContactSupport, 'userId' | 'id' | 'email' | 'walletAddress' | 'category' | 'description' | 'priority'>>;
|
|
990
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
export type IFetchContentReportPageQueryVariables = Exact<{
|
|
994
|
+
filter: IContentReportFilterInput;
|
|
995
|
+
sort: IContentReportSortInput;
|
|
996
|
+
page: IAdminPageInput;
|
|
997
|
+
}>;
|
|
998
|
+
export type IFetchContentReportPageQuery = {
|
|
999
|
+
fetchContentReportPage: {
|
|
1000
|
+
contentReports: Array<Pick<IAdminContentReport, 'userId' | 'id' | 'email' | 'description' | 'nameOfSubject' | 'contentType' | 'contentId' | 'reportReason' | 'evidenceFileUrl'>>;
|
|
1001
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
856
1004
|
export type IFetchAdminBrandsQueryVariables = Exact<{
|
|
857
1005
|
[key: string]: never;
|
|
858
1006
|
}>;
|
|
@@ -1197,6 +1345,70 @@ export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.Muta
|
|
|
1197
1345
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
1198
1346
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
1199
1347
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
1348
|
+
export declare const FetchContactSupportPageDocument: Apollo.DocumentNode;
|
|
1349
|
+
/**
|
|
1350
|
+
* __useFetchContactSupportPageQuery__
|
|
1351
|
+
*
|
|
1352
|
+
* To run a query within a React component, call `useFetchContactSupportPageQuery` and pass it any options that fit your needs.
|
|
1353
|
+
* When your component renders, `useFetchContactSupportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1354
|
+
* you can use to render your UI.
|
|
1355
|
+
*
|
|
1356
|
+
* @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;
|
|
1357
|
+
*
|
|
1358
|
+
* @example
|
|
1359
|
+
* const { data, loading, error } = useFetchContactSupportPageQuery({
|
|
1360
|
+
* variables: {
|
|
1361
|
+
* filter: // value for 'filter'
|
|
1362
|
+
* sort: // value for 'sort'
|
|
1363
|
+
* page: // value for 'page'
|
|
1364
|
+
* },
|
|
1365
|
+
* });
|
|
1366
|
+
*/
|
|
1367
|
+
export declare function useFetchContactSupportPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>): Apollo.QueryResult<IFetchContactSupportPageQuery, Exact<{
|
|
1368
|
+
filter: IContactSupportFilterInput;
|
|
1369
|
+
sort: IContactSupportSortInput;
|
|
1370
|
+
page: IAdminPageInput;
|
|
1371
|
+
}>>;
|
|
1372
|
+
export declare function useFetchContactSupportPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchContactSupportPageQuery, Exact<{
|
|
1373
|
+
filter: IContactSupportFilterInput;
|
|
1374
|
+
sort: IContactSupportSortInput;
|
|
1375
|
+
page: IAdminPageInput;
|
|
1376
|
+
}>>;
|
|
1377
|
+
export type FetchContactSupportPageQueryHookResult = ReturnType<typeof useFetchContactSupportPageQuery>;
|
|
1378
|
+
export type FetchContactSupportPageLazyQueryHookResult = ReturnType<typeof useFetchContactSupportPageLazyQuery>;
|
|
1379
|
+
export type FetchContactSupportPageQueryResult = Apollo.QueryResult<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>;
|
|
1380
|
+
export declare const FetchContentReportPageDocument: Apollo.DocumentNode;
|
|
1381
|
+
/**
|
|
1382
|
+
* __useFetchContentReportPageQuery__
|
|
1383
|
+
*
|
|
1384
|
+
* To run a query within a React component, call `useFetchContentReportPageQuery` and pass it any options that fit your needs.
|
|
1385
|
+
* When your component renders, `useFetchContentReportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1386
|
+
* you can use to render your UI.
|
|
1387
|
+
*
|
|
1388
|
+
* @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;
|
|
1389
|
+
*
|
|
1390
|
+
* @example
|
|
1391
|
+
* const { data, loading, error } = useFetchContentReportPageQuery({
|
|
1392
|
+
* variables: {
|
|
1393
|
+
* filter: // value for 'filter'
|
|
1394
|
+
* sort: // value for 'sort'
|
|
1395
|
+
* page: // value for 'page'
|
|
1396
|
+
* },
|
|
1397
|
+
* });
|
|
1398
|
+
*/
|
|
1399
|
+
export declare function useFetchContentReportPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>): Apollo.QueryResult<IFetchContentReportPageQuery, Exact<{
|
|
1400
|
+
filter: IContentReportFilterInput;
|
|
1401
|
+
sort: IContentReportSortInput;
|
|
1402
|
+
page: IAdminPageInput;
|
|
1403
|
+
}>>;
|
|
1404
|
+
export declare function useFetchContentReportPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchContentReportPageQuery, Exact<{
|
|
1405
|
+
filter: IContentReportFilterInput;
|
|
1406
|
+
sort: IContentReportSortInput;
|
|
1407
|
+
page: IAdminPageInput;
|
|
1408
|
+
}>>;
|
|
1409
|
+
export type FetchContentReportPageQueryHookResult = ReturnType<typeof useFetchContentReportPageQuery>;
|
|
1410
|
+
export type FetchContentReportPageLazyQueryHookResult = ReturnType<typeof useFetchContentReportPageLazyQuery>;
|
|
1411
|
+
export type FetchContentReportPageQueryResult = Apollo.QueryResult<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>;
|
|
1200
1412
|
export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
|
|
1201
1413
|
/**
|
|
1202
1414
|
* __useFetchAdminBrandsQuery__
|
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
|
|
27
|
+
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = void 0;
|
|
27
28
|
const client_1 = require("@apollo/client");
|
|
28
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
30
|
/** front-end asked for lower case values */
|
|
@@ -274,6 +275,104 @@ function useUpdateProfileStatusMutation(baseOptions) {
|
|
|
274
275
|
return Apollo.useMutation(exports.UpdateProfileStatusDocument, baseOptions);
|
|
275
276
|
}
|
|
276
277
|
exports.useUpdateProfileStatusMutation = useUpdateProfileStatusMutation;
|
|
278
|
+
exports.FetchContactSupportPageDocument = (0, client_1.gql) `
|
|
279
|
+
query FetchContactSupportPage($filter: ContactSupportFilterInput!, $sort: ContactSupportSortInput!, $page: AdminPageInput!) {
|
|
280
|
+
fetchContactSupportPage(filter: $filter, sort: $sort, page: $page) {
|
|
281
|
+
contactSupports {
|
|
282
|
+
userId
|
|
283
|
+
id
|
|
284
|
+
email
|
|
285
|
+
walletAddress
|
|
286
|
+
category
|
|
287
|
+
description
|
|
288
|
+
priority
|
|
289
|
+
}
|
|
290
|
+
nextPage {
|
|
291
|
+
elements
|
|
292
|
+
lastNum
|
|
293
|
+
num
|
|
294
|
+
size
|
|
295
|
+
token
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
`;
|
|
300
|
+
/**
|
|
301
|
+
* __useFetchContactSupportPageQuery__
|
|
302
|
+
*
|
|
303
|
+
* To run a query within a React component, call `useFetchContactSupportPageQuery` and pass it any options that fit your needs.
|
|
304
|
+
* When your component renders, `useFetchContactSupportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
305
|
+
* you can use to render your UI.
|
|
306
|
+
*
|
|
307
|
+
* @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;
|
|
308
|
+
*
|
|
309
|
+
* @example
|
|
310
|
+
* const { data, loading, error } = useFetchContactSupportPageQuery({
|
|
311
|
+
* variables: {
|
|
312
|
+
* filter: // value for 'filter'
|
|
313
|
+
* sort: // value for 'sort'
|
|
314
|
+
* page: // value for 'page'
|
|
315
|
+
* },
|
|
316
|
+
* });
|
|
317
|
+
*/
|
|
318
|
+
function useFetchContactSupportPageQuery(baseOptions) {
|
|
319
|
+
return Apollo.useQuery(exports.FetchContactSupportPageDocument, baseOptions);
|
|
320
|
+
}
|
|
321
|
+
exports.useFetchContactSupportPageQuery = useFetchContactSupportPageQuery;
|
|
322
|
+
function useFetchContactSupportPageLazyQuery(baseOptions) {
|
|
323
|
+
return Apollo.useLazyQuery(exports.FetchContactSupportPageDocument, baseOptions);
|
|
324
|
+
}
|
|
325
|
+
exports.useFetchContactSupportPageLazyQuery = useFetchContactSupportPageLazyQuery;
|
|
326
|
+
exports.FetchContentReportPageDocument = (0, client_1.gql) `
|
|
327
|
+
query FetchContentReportPage($filter: ContentReportFilterInput!, $sort: ContentReportSortInput!, $page: AdminPageInput!) {
|
|
328
|
+
fetchContentReportPage(filter: $filter, sort: $sort, page: $page) {
|
|
329
|
+
contentReports {
|
|
330
|
+
userId
|
|
331
|
+
id
|
|
332
|
+
email
|
|
333
|
+
description
|
|
334
|
+
nameOfSubject
|
|
335
|
+
contentType
|
|
336
|
+
contentId
|
|
337
|
+
reportReason
|
|
338
|
+
evidenceFileUrl
|
|
339
|
+
}
|
|
340
|
+
nextPage {
|
|
341
|
+
elements
|
|
342
|
+
lastNum
|
|
343
|
+
num
|
|
344
|
+
size
|
|
345
|
+
token
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
`;
|
|
350
|
+
/**
|
|
351
|
+
* __useFetchContentReportPageQuery__
|
|
352
|
+
*
|
|
353
|
+
* To run a query within a React component, call `useFetchContentReportPageQuery` and pass it any options that fit your needs.
|
|
354
|
+
* When your component renders, `useFetchContentReportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
355
|
+
* you can use to render your UI.
|
|
356
|
+
*
|
|
357
|
+
* @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;
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
* const { data, loading, error } = useFetchContentReportPageQuery({
|
|
361
|
+
* variables: {
|
|
362
|
+
* filter: // value for 'filter'
|
|
363
|
+
* sort: // value for 'sort'
|
|
364
|
+
* page: // value for 'page'
|
|
365
|
+
* },
|
|
366
|
+
* });
|
|
367
|
+
*/
|
|
368
|
+
function useFetchContentReportPageQuery(baseOptions) {
|
|
369
|
+
return Apollo.useQuery(exports.FetchContentReportPageDocument, baseOptions);
|
|
370
|
+
}
|
|
371
|
+
exports.useFetchContentReportPageQuery = useFetchContentReportPageQuery;
|
|
372
|
+
function useFetchContentReportPageLazyQuery(baseOptions) {
|
|
373
|
+
return Apollo.useLazyQuery(exports.FetchContentReportPageDocument, baseOptions);
|
|
374
|
+
}
|
|
375
|
+
exports.useFetchContentReportPageLazyQuery = useFetchContentReportPageLazyQuery;
|
|
277
376
|
exports.FetchAdminBrandsDocument = (0, client_1.gql) `
|
|
278
377
|
query FetchAdminBrands {
|
|
279
378
|
fetchAdminBrands {
|
package/build/index.d.ts
CHANGED
|
@@ -1111,6 +1111,42 @@ declare const schema: {
|
|
|
1111
1111
|
userId: string;
|
|
1112
1112
|
isActive: boolean;
|
|
1113
1113
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1114
|
+
useFetchContactSupportPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchContactSupportPageQuery, adminSchema.Exact<{
|
|
1115
|
+
filter: adminSchema.IContactSupportFilterInput;
|
|
1116
|
+
sort: adminSchema.IContactSupportSortInput;
|
|
1117
|
+
page: adminSchema.IAdminPageInput;
|
|
1118
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchContactSupportPageQuery, adminSchema.Exact<{
|
|
1119
|
+
filter: adminSchema.IContactSupportFilterInput;
|
|
1120
|
+
sort: adminSchema.IContactSupportSortInput;
|
|
1121
|
+
page: adminSchema.IAdminPageInput;
|
|
1122
|
+
}>>;
|
|
1123
|
+
useFetchContactSupportPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchContactSupportPageQuery, adminSchema.Exact<{
|
|
1124
|
+
filter: adminSchema.IContactSupportFilterInput;
|
|
1125
|
+
sort: adminSchema.IContactSupportSortInput;
|
|
1126
|
+
page: adminSchema.IAdminPageInput;
|
|
1127
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchContactSupportPageQuery, adminSchema.Exact<{
|
|
1128
|
+
filter: adminSchema.IContactSupportFilterInput;
|
|
1129
|
+
sort: adminSchema.IContactSupportSortInput;
|
|
1130
|
+
page: adminSchema.IAdminPageInput;
|
|
1131
|
+
}>>;
|
|
1132
|
+
useFetchContentReportPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchContentReportPageQuery, adminSchema.Exact<{
|
|
1133
|
+
filter: adminSchema.IContentReportFilterInput;
|
|
1134
|
+
sort: adminSchema.IContentReportSortInput;
|
|
1135
|
+
page: adminSchema.IAdminPageInput;
|
|
1136
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchContentReportPageQuery, adminSchema.Exact<{
|
|
1137
|
+
filter: adminSchema.IContentReportFilterInput;
|
|
1138
|
+
sort: adminSchema.IContentReportSortInput;
|
|
1139
|
+
page: adminSchema.IAdminPageInput;
|
|
1140
|
+
}>>;
|
|
1141
|
+
useFetchContentReportPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchContentReportPageQuery, adminSchema.Exact<{
|
|
1142
|
+
filter: adminSchema.IContentReportFilterInput;
|
|
1143
|
+
sort: adminSchema.IContentReportSortInput;
|
|
1144
|
+
page: adminSchema.IAdminPageInput;
|
|
1145
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchContentReportPageQuery, adminSchema.Exact<{
|
|
1146
|
+
filter: adminSchema.IContentReportFilterInput;
|
|
1147
|
+
sort: adminSchema.IContentReportSortInput;
|
|
1148
|
+
page: adminSchema.IAdminPageInput;
|
|
1149
|
+
}>>;
|
|
1114
1150
|
useFetchAdminBrandsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
1115
1151
|
[key: string]: never;
|
|
1116
1152
|
}>> | undefined): import("@apollo/client").QueryResult<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
@@ -1277,6 +1313,8 @@ declare const schema: {
|
|
|
1277
1313
|
UpdateBrandArchivedStatusDocument: import("graphql").DocumentNode;
|
|
1278
1314
|
UpdateCategoryArchivedStatusDocument: import("graphql").DocumentNode;
|
|
1279
1315
|
UpdateProfileStatusDocument: import("graphql").DocumentNode;
|
|
1316
|
+
FetchContactSupportPageDocument: import("graphql").DocumentNode;
|
|
1317
|
+
FetchContentReportPageDocument: import("graphql").DocumentNode;
|
|
1280
1318
|
FetchAdminBrandsDocument: import("graphql").DocumentNode;
|
|
1281
1319
|
FetchAdminBrandsPageDocument: import("graphql").DocumentNode;
|
|
1282
1320
|
FetchAdminCategoriesDocument: import("graphql").DocumentNode;
|