@ludo.ninja/api 2.8.42 → 2.8.44
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 +86 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +100 -1
- package/build/graphql_tools/__generated__/formsHost/schema.d.ts +1 -0
- package/build/index.d.ts +38 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +120 -0
- package/src/graphql_tools/__generated__/formsHost/schema.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -979,6 +979,28 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
979
979
|
isActive: Scalars['Boolean'];
|
|
980
980
|
}>;
|
|
981
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
|
+
};
|
|
982
1004
|
export type IFetchAdminBrandsQueryVariables = Exact<{
|
|
983
1005
|
[key: string]: never;
|
|
984
1006
|
}>;
|
|
@@ -1323,6 +1345,70 @@ export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.Muta
|
|
|
1323
1345
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
1324
1346
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
1325
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>;
|
|
1326
1412
|
export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
|
|
1327
1413
|
/**
|
|
1328
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 {
|
|
@@ -32,6 +32,7 @@ export type IContactSupportInput = {
|
|
|
32
32
|
category?: Maybe<Scalars['String']>;
|
|
33
33
|
description?: Maybe<Scalars['String']>;
|
|
34
34
|
priority?: Maybe<Scalars['String']>;
|
|
35
|
+
recaptchaToken: Scalars['String'];
|
|
35
36
|
};
|
|
36
37
|
export type IContentReportInput = {
|
|
37
38
|
userId?: Maybe<Scalars['ID']>;
|
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;
|
package/package.json
CHANGED
|
@@ -1177,6 +1177,24 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
1177
1177
|
|
|
1178
1178
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
1179
1179
|
|
|
1180
|
+
export type IFetchContactSupportPageQueryVariables = Exact<{
|
|
1181
|
+
filter: IContactSupportFilterInput;
|
|
1182
|
+
sort: IContactSupportSortInput;
|
|
1183
|
+
page: IAdminPageInput;
|
|
1184
|
+
}>;
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
export type IFetchContactSupportPageQuery = { fetchContactSupportPage: { contactSupports: Array<Pick<IAdminContactSupport, 'userId' | 'id' | 'email' | 'walletAddress' | 'category' | 'description' | 'priority'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1188
|
+
|
|
1189
|
+
export type IFetchContentReportPageQueryVariables = Exact<{
|
|
1190
|
+
filter: IContentReportFilterInput;
|
|
1191
|
+
sort: IContentReportSortInput;
|
|
1192
|
+
page: IAdminPageInput;
|
|
1193
|
+
}>;
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
export type IFetchContentReportPageQuery = { fetchContentReportPage: { contentReports: Array<Pick<IAdminContentReport, 'userId' | 'id' | 'email' | 'description' | 'nameOfSubject' | 'contentType' | 'contentId' | 'reportReason' | 'evidenceFileUrl'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1197
|
+
|
|
1180
1198
|
export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1181
1199
|
|
|
1182
1200
|
|
|
@@ -1546,6 +1564,108 @@ export function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHook
|
|
|
1546
1564
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
1547
1565
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
1548
1566
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
1567
|
+
export const FetchContactSupportPageDocument = gql`
|
|
1568
|
+
query FetchContactSupportPage($filter: ContactSupportFilterInput!, $sort: ContactSupportSortInput!, $page: AdminPageInput!) {
|
|
1569
|
+
fetchContactSupportPage(filter: $filter, sort: $sort, page: $page) {
|
|
1570
|
+
contactSupports {
|
|
1571
|
+
userId
|
|
1572
|
+
id
|
|
1573
|
+
email
|
|
1574
|
+
walletAddress
|
|
1575
|
+
category
|
|
1576
|
+
description
|
|
1577
|
+
priority
|
|
1578
|
+
}
|
|
1579
|
+
nextPage {
|
|
1580
|
+
elements
|
|
1581
|
+
lastNum
|
|
1582
|
+
num
|
|
1583
|
+
size
|
|
1584
|
+
token
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
`;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* __useFetchContactSupportPageQuery__
|
|
1592
|
+
*
|
|
1593
|
+
* To run a query within a React component, call `useFetchContactSupportPageQuery` and pass it any options that fit your needs.
|
|
1594
|
+
* When your component renders, `useFetchContactSupportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1595
|
+
* you can use to render your UI.
|
|
1596
|
+
*
|
|
1597
|
+
* @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;
|
|
1598
|
+
*
|
|
1599
|
+
* @example
|
|
1600
|
+
* const { data, loading, error } = useFetchContactSupportPageQuery({
|
|
1601
|
+
* variables: {
|
|
1602
|
+
* filter: // value for 'filter'
|
|
1603
|
+
* sort: // value for 'sort'
|
|
1604
|
+
* page: // value for 'page'
|
|
1605
|
+
* },
|
|
1606
|
+
* });
|
|
1607
|
+
*/
|
|
1608
|
+
export function useFetchContactSupportPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>) {
|
|
1609
|
+
return Apollo.useQuery<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>(FetchContactSupportPageDocument, baseOptions);
|
|
1610
|
+
}
|
|
1611
|
+
export function useFetchContactSupportPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>) {
|
|
1612
|
+
return Apollo.useLazyQuery<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>(FetchContactSupportPageDocument, baseOptions);
|
|
1613
|
+
}
|
|
1614
|
+
export type FetchContactSupportPageQueryHookResult = ReturnType<typeof useFetchContactSupportPageQuery>;
|
|
1615
|
+
export type FetchContactSupportPageLazyQueryHookResult = ReturnType<typeof useFetchContactSupportPageLazyQuery>;
|
|
1616
|
+
export type FetchContactSupportPageQueryResult = Apollo.QueryResult<IFetchContactSupportPageQuery, IFetchContactSupportPageQueryVariables>;
|
|
1617
|
+
export const FetchContentReportPageDocument = gql`
|
|
1618
|
+
query FetchContentReportPage($filter: ContentReportFilterInput!, $sort: ContentReportSortInput!, $page: AdminPageInput!) {
|
|
1619
|
+
fetchContentReportPage(filter: $filter, sort: $sort, page: $page) {
|
|
1620
|
+
contentReports {
|
|
1621
|
+
userId
|
|
1622
|
+
id
|
|
1623
|
+
email
|
|
1624
|
+
description
|
|
1625
|
+
nameOfSubject
|
|
1626
|
+
contentType
|
|
1627
|
+
contentId
|
|
1628
|
+
reportReason
|
|
1629
|
+
evidenceFileUrl
|
|
1630
|
+
}
|
|
1631
|
+
nextPage {
|
|
1632
|
+
elements
|
|
1633
|
+
lastNum
|
|
1634
|
+
num
|
|
1635
|
+
size
|
|
1636
|
+
token
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
`;
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* __useFetchContentReportPageQuery__
|
|
1644
|
+
*
|
|
1645
|
+
* To run a query within a React component, call `useFetchContentReportPageQuery` and pass it any options that fit your needs.
|
|
1646
|
+
* When your component renders, `useFetchContentReportPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1647
|
+
* you can use to render your UI.
|
|
1648
|
+
*
|
|
1649
|
+
* @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;
|
|
1650
|
+
*
|
|
1651
|
+
* @example
|
|
1652
|
+
* const { data, loading, error } = useFetchContentReportPageQuery({
|
|
1653
|
+
* variables: {
|
|
1654
|
+
* filter: // value for 'filter'
|
|
1655
|
+
* sort: // value for 'sort'
|
|
1656
|
+
* page: // value for 'page'
|
|
1657
|
+
* },
|
|
1658
|
+
* });
|
|
1659
|
+
*/
|
|
1660
|
+
export function useFetchContentReportPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>) {
|
|
1661
|
+
return Apollo.useQuery<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>(FetchContentReportPageDocument, baseOptions);
|
|
1662
|
+
}
|
|
1663
|
+
export function useFetchContentReportPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>) {
|
|
1664
|
+
return Apollo.useLazyQuery<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>(FetchContentReportPageDocument, baseOptions);
|
|
1665
|
+
}
|
|
1666
|
+
export type FetchContentReportPageQueryHookResult = ReturnType<typeof useFetchContentReportPageQuery>;
|
|
1667
|
+
export type FetchContentReportPageLazyQueryHookResult = ReturnType<typeof useFetchContentReportPageLazyQuery>;
|
|
1668
|
+
export type FetchContentReportPageQueryResult = Apollo.QueryResult<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>;
|
|
1549
1669
|
export const FetchAdminBrandsDocument = gql`
|
|
1550
1670
|
query FetchAdminBrands {
|
|
1551
1671
|
fetchAdminBrands {
|