@ludo.ninja/api 2.8.71 → 2.8.72
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 +175 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +133 -2
- package/build/index.d.ts +44 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +220 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -404,6 +404,7 @@ export type IMutation = {
|
|
|
404
404
|
updateOpportunity: Scalars['Boolean'];
|
|
405
405
|
triggerOpportunityNotification: Scalars['Boolean'];
|
|
406
406
|
updateTier: Scalars['Boolean'];
|
|
407
|
+
createTier: Scalars['Boolean'];
|
|
407
408
|
updateProfileStatus: Scalars['Boolean'];
|
|
408
409
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
409
410
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -495,6 +496,11 @@ export type IMutationUpdateTierArgs = {
|
|
|
495
496
|
};
|
|
496
497
|
|
|
497
498
|
|
|
499
|
+
export type IMutationCreateTierArgs = {
|
|
500
|
+
input: ITierInput;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
|
|
498
504
|
export type IMutationUpdateProfileStatusArgs = {
|
|
499
505
|
userId: Scalars['ID'];
|
|
500
506
|
isActive: Scalars['Boolean'];
|
|
@@ -597,6 +603,7 @@ export type IQuery = {
|
|
|
597
603
|
fetchBlockchains: Array<Scalars['String']>;
|
|
598
604
|
fetchAdminReferralsPage: IReferralsPage;
|
|
599
605
|
fetchTiers: Array<ITier>;
|
|
606
|
+
fetchTiersPage: ITiersPage;
|
|
600
607
|
fetchAdminUsersPage: IUsersPage;
|
|
601
608
|
fetchAdminXpPage: IXpPage;
|
|
602
609
|
};
|
|
@@ -691,6 +698,13 @@ export type IQueryFetchAdminReferralsPageArgs = {
|
|
|
691
698
|
};
|
|
692
699
|
|
|
693
700
|
|
|
701
|
+
export type IQueryFetchTiersPageArgs = {
|
|
702
|
+
filter: ITiersFilterInput;
|
|
703
|
+
sort: ITiersSortInput;
|
|
704
|
+
page: IAdminPageInput;
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
|
|
694
708
|
export type IQueryFetchAdminUsersPageArgs = {
|
|
695
709
|
filter: IUsersFilterInput;
|
|
696
710
|
sort: IUsersSortInput;
|
|
@@ -767,11 +781,29 @@ export type ITier = {
|
|
|
767
781
|
id: Scalars['String'];
|
|
768
782
|
name: Scalars['String'];
|
|
769
783
|
description?: Maybe<Scalars['String']>;
|
|
784
|
+
fee?: Maybe<Scalars['Float']>;
|
|
770
785
|
};
|
|
771
786
|
|
|
772
787
|
export type ITierInput = {
|
|
773
788
|
name: Scalars['String'];
|
|
774
789
|
description?: Maybe<Scalars['String']>;
|
|
790
|
+
fee?: Maybe<Scalars['Float']>;
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
export type ITiersFilterInput = {
|
|
794
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
795
|
+
descriptionTerm?: Maybe<Scalars['String']>;
|
|
796
|
+
feeTerm?: Maybe<Scalars['String']>;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export type ITiersPage = {
|
|
800
|
+
tiers: Array<ITier>;
|
|
801
|
+
nextPage?: Maybe<IAdminPage>;
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
export type ITiersSortInput = {
|
|
805
|
+
sortByName?: Maybe<ISort>;
|
|
806
|
+
sortByFee?: Maybe<ISort>;
|
|
775
807
|
};
|
|
776
808
|
|
|
777
809
|
|
|
@@ -1006,6 +1038,9 @@ export type IResolversTypes = {
|
|
|
1006
1038
|
SortDirection: ISortDirection;
|
|
1007
1039
|
Tier: ResolverTypeWrapper<ITier>;
|
|
1008
1040
|
TierInput: ITierInput;
|
|
1041
|
+
TiersFilterInput: ITiersFilterInput;
|
|
1042
|
+
TiersPage: ResolverTypeWrapper<ITiersPage>;
|
|
1043
|
+
TiersSortInput: ITiersSortInput;
|
|
1009
1044
|
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
1010
1045
|
UserFeedback: ResolverTypeWrapper<IUserFeedback>;
|
|
1011
1046
|
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
@@ -1087,6 +1122,9 @@ export type IResolversParentTypes = {
|
|
|
1087
1122
|
Sort: ISort;
|
|
1088
1123
|
Tier: ITier;
|
|
1089
1124
|
TierInput: ITierInput;
|
|
1125
|
+
TiersFilterInput: ITiersFilterInput;
|
|
1126
|
+
TiersPage: ITiersPage;
|
|
1127
|
+
TiersSortInput: ITiersSortInput;
|
|
1090
1128
|
Upload: Scalars['Upload'];
|
|
1091
1129
|
UserFeedback: IUserFeedback;
|
|
1092
1130
|
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
@@ -1370,6 +1408,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1370
1408
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1371
1409
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1372
1410
|
updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
|
|
1411
|
+
createTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateTierArgs, 'input'>>;
|
|
1373
1412
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1374
1413
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1375
1414
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1407,6 +1446,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1407
1446
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1408
1447
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1409
1448
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1449
|
+
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1410
1450
|
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1411
1451
|
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1412
1452
|
};
|
|
@@ -1442,6 +1482,13 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
|
|
|
1442
1482
|
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1443
1483
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1444
1484
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1485
|
+
fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1486
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
export type ITiersPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['TiersPage'] = IResolversParentTypes['TiersPage']> = {
|
|
1490
|
+
tiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1491
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1445
1492
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1446
1493
|
};
|
|
1447
1494
|
|
|
@@ -1521,6 +1568,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1521
1568
|
RegistrationInvite?: IRegistrationInviteResolvers<ContextType>;
|
|
1522
1569
|
RegistrationInvitePage?: IRegistrationInvitePageResolvers<ContextType>;
|
|
1523
1570
|
Tier?: ITierResolvers<ContextType>;
|
|
1571
|
+
TiersPage?: ITiersPageResolvers<ContextType>;
|
|
1524
1572
|
Upload?: GraphQLScalarType;
|
|
1525
1573
|
UserFeedback?: IUserFeedbackResolvers<ContextType>;
|
|
1526
1574
|
UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
|
|
@@ -1535,6 +1583,13 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
1535
1583
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
1536
1584
|
};
|
|
1537
1585
|
|
|
1586
|
+
export type ICreateTierMutationVariables = Exact<{
|
|
1587
|
+
input: ITierInput;
|
|
1588
|
+
}>;
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
export type ICreateTierMutation = Pick<IMutation, 'createTier'>;
|
|
1592
|
+
|
|
1538
1593
|
export type ITriggerOpportunityNotificationMutationVariables = Exact<{
|
|
1539
1594
|
opportunityId: Scalars['ID'];
|
|
1540
1595
|
}>;
|
|
@@ -1558,6 +1613,14 @@ export type IUpdateOpportunityPushStatusMutationVariables = Exact<{
|
|
|
1558
1613
|
|
|
1559
1614
|
export type IUpdateOpportunityPushStatusMutation = Pick<IMutation, 'updateOpportunityPushStatus'>;
|
|
1560
1615
|
|
|
1616
|
+
export type IUpdateTierMutationVariables = Exact<{
|
|
1617
|
+
id: Scalars['ID'];
|
|
1618
|
+
input: ITierInput;
|
|
1619
|
+
}>;
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
export type IUpdateTierMutation = Pick<IMutation, 'updateTier'>;
|
|
1623
|
+
|
|
1561
1624
|
export type IChangeXpPointsMutationVariables = Exact<{
|
|
1562
1625
|
userId: Scalars['ID'];
|
|
1563
1626
|
pointsDiff: Scalars['Int'];
|
|
@@ -1716,6 +1779,20 @@ export type IFetchRegistrationInvitePageQueryVariables = Exact<{
|
|
|
1716
1779
|
|
|
1717
1780
|
export type IFetchRegistrationInvitePageQuery = { fetchRegistrationInvitePage: { registrationInvites: Array<Pick<IRegistrationInvite, 'userId' | 'id' | 'ludoIdOrAddress' | 'reason'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1718
1781
|
|
|
1782
|
+
export type IFetchTiersQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
export type IFetchTiersQuery = { fetchTiers: Array<Pick<ITier, 'id' | 'name' | 'description' | 'fee'>> };
|
|
1786
|
+
|
|
1787
|
+
export type IFetchTiersPageQueryVariables = Exact<{
|
|
1788
|
+
filter: ITiersFilterInput;
|
|
1789
|
+
sort: ITiersSortInput;
|
|
1790
|
+
page: IAdminPageInput;
|
|
1791
|
+
}>;
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
export type IFetchTiersPageQuery = { fetchTiersPage: { tiers: Array<Pick<ITier, 'id' | 'name' | 'description' | 'fee'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1795
|
+
|
|
1719
1796
|
export type IFetchUserFeedbackPageQueryVariables = Exact<{
|
|
1720
1797
|
filter: IUserFeedbackFilterInput;
|
|
1721
1798
|
sort: IUserFeedbackSortInput;
|
|
@@ -1816,6 +1893,36 @@ export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1816
1893
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
1817
1894
|
|
|
1818
1895
|
|
|
1896
|
+
export const CreateTierDocument = gql`
|
|
1897
|
+
mutation CreateTier($input: TierInput!) {
|
|
1898
|
+
createTier(input: $input)
|
|
1899
|
+
}
|
|
1900
|
+
`;
|
|
1901
|
+
export type ICreateTierMutationFn = Apollo.MutationFunction<ICreateTierMutation, ICreateTierMutationVariables>;
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* __useCreateTierMutation__
|
|
1905
|
+
*
|
|
1906
|
+
* To run a mutation, you first call `useCreateTierMutation` within a React component and pass it any options that fit your needs.
|
|
1907
|
+
* When your component renders, `useCreateTierMutation` returns a tuple that includes:
|
|
1908
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1909
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1910
|
+
*
|
|
1911
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1912
|
+
*
|
|
1913
|
+
* @example
|
|
1914
|
+
* const [createTierMutation, { data, loading, error }] = useCreateTierMutation({
|
|
1915
|
+
* variables: {
|
|
1916
|
+
* input: // value for 'input'
|
|
1917
|
+
* },
|
|
1918
|
+
* });
|
|
1919
|
+
*/
|
|
1920
|
+
export function useCreateTierMutation(baseOptions?: Apollo.MutationHookOptions<ICreateTierMutation, ICreateTierMutationVariables>) {
|
|
1921
|
+
return Apollo.useMutation<ICreateTierMutation, ICreateTierMutationVariables>(CreateTierDocument, baseOptions);
|
|
1922
|
+
}
|
|
1923
|
+
export type CreateTierMutationHookResult = ReturnType<typeof useCreateTierMutation>;
|
|
1924
|
+
export type CreateTierMutationResult = Apollo.MutationResult<ICreateTierMutation>;
|
|
1925
|
+
export type CreateTierMutationOptions = Apollo.BaseMutationOptions<ICreateTierMutation, ICreateTierMutationVariables>;
|
|
1819
1926
|
export const TriggerOpportunityNotificationDocument = gql`
|
|
1820
1927
|
mutation TriggerOpportunityNotification($opportunityId: ID!) {
|
|
1821
1928
|
triggerOpportunityNotification(opportunityId: $opportunityId)
|
|
@@ -1908,6 +2015,37 @@ export function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.Muta
|
|
|
1908
2015
|
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1909
2016
|
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
1910
2017
|
export type UpdateOpportunityPushStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>;
|
|
2018
|
+
export const UpdateTierDocument = gql`
|
|
2019
|
+
mutation UpdateTier($id: ID!, $input: TierInput!) {
|
|
2020
|
+
updateTier(id: $id, input: $input)
|
|
2021
|
+
}
|
|
2022
|
+
`;
|
|
2023
|
+
export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation, IUpdateTierMutationVariables>;
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* __useUpdateTierMutation__
|
|
2027
|
+
*
|
|
2028
|
+
* To run a mutation, you first call `useUpdateTierMutation` within a React component and pass it any options that fit your needs.
|
|
2029
|
+
* When your component renders, `useUpdateTierMutation` returns a tuple that includes:
|
|
2030
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2031
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2032
|
+
*
|
|
2033
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2034
|
+
*
|
|
2035
|
+
* @example
|
|
2036
|
+
* const [updateTierMutation, { data, loading, error }] = useUpdateTierMutation({
|
|
2037
|
+
* variables: {
|
|
2038
|
+
* id: // value for 'id'
|
|
2039
|
+
* input: // value for 'input'
|
|
2040
|
+
* },
|
|
2041
|
+
* });
|
|
2042
|
+
*/
|
|
2043
|
+
export function useUpdateTierMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierMutation, IUpdateTierMutationVariables>) {
|
|
2044
|
+
return Apollo.useMutation<IUpdateTierMutation, IUpdateTierMutationVariables>(UpdateTierDocument, baseOptions);
|
|
2045
|
+
}
|
|
2046
|
+
export type UpdateTierMutationHookResult = ReturnType<typeof useUpdateTierMutation>;
|
|
2047
|
+
export type UpdateTierMutationResult = Apollo.MutationResult<IUpdateTierMutation>;
|
|
2048
|
+
export type UpdateTierMutationOptions = Apollo.BaseMutationOptions<IUpdateTierMutation, IUpdateTierMutationVariables>;
|
|
1911
2049
|
export const ChangeXpPointsDocument = gql`
|
|
1912
2050
|
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
1913
2051
|
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
@@ -2623,6 +2761,88 @@ export function useFetchRegistrationInvitePageLazyQuery(baseOptions?: Apollo.Laz
|
|
|
2623
2761
|
export type FetchRegistrationInvitePageQueryHookResult = ReturnType<typeof useFetchRegistrationInvitePageQuery>;
|
|
2624
2762
|
export type FetchRegistrationInvitePageLazyQueryHookResult = ReturnType<typeof useFetchRegistrationInvitePageLazyQuery>;
|
|
2625
2763
|
export type FetchRegistrationInvitePageQueryResult = Apollo.QueryResult<IFetchRegistrationInvitePageQuery, IFetchRegistrationInvitePageQueryVariables>;
|
|
2764
|
+
export const FetchTiersDocument = gql`
|
|
2765
|
+
query FetchTiers {
|
|
2766
|
+
fetchTiers {
|
|
2767
|
+
id
|
|
2768
|
+
name
|
|
2769
|
+
description
|
|
2770
|
+
fee
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
`;
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* __useFetchTiersQuery__
|
|
2777
|
+
*
|
|
2778
|
+
* To run a query within a React component, call `useFetchTiersQuery` and pass it any options that fit your needs.
|
|
2779
|
+
* When your component renders, `useFetchTiersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2780
|
+
* you can use to render your UI.
|
|
2781
|
+
*
|
|
2782
|
+
* @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;
|
|
2783
|
+
*
|
|
2784
|
+
* @example
|
|
2785
|
+
* const { data, loading, error } = useFetchTiersQuery({
|
|
2786
|
+
* variables: {
|
|
2787
|
+
* },
|
|
2788
|
+
* });
|
|
2789
|
+
*/
|
|
2790
|
+
export function useFetchTiersQuery(baseOptions?: Apollo.QueryHookOptions<IFetchTiersQuery, IFetchTiersQueryVariables>) {
|
|
2791
|
+
return Apollo.useQuery<IFetchTiersQuery, IFetchTiersQueryVariables>(FetchTiersDocument, baseOptions);
|
|
2792
|
+
}
|
|
2793
|
+
export function useFetchTiersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchTiersQuery, IFetchTiersQueryVariables>) {
|
|
2794
|
+
return Apollo.useLazyQuery<IFetchTiersQuery, IFetchTiersQueryVariables>(FetchTiersDocument, baseOptions);
|
|
2795
|
+
}
|
|
2796
|
+
export type FetchTiersQueryHookResult = ReturnType<typeof useFetchTiersQuery>;
|
|
2797
|
+
export type FetchTiersLazyQueryHookResult = ReturnType<typeof useFetchTiersLazyQuery>;
|
|
2798
|
+
export type FetchTiersQueryResult = Apollo.QueryResult<IFetchTiersQuery, IFetchTiersQueryVariables>;
|
|
2799
|
+
export const FetchTiersPageDocument = gql`
|
|
2800
|
+
query FetchTiersPage($filter: TiersFilterInput!, $sort: TiersSortInput!, $page: AdminPageInput!) {
|
|
2801
|
+
fetchTiersPage(filter: $filter, sort: $sort, page: $page) {
|
|
2802
|
+
tiers {
|
|
2803
|
+
id
|
|
2804
|
+
name
|
|
2805
|
+
description
|
|
2806
|
+
fee
|
|
2807
|
+
}
|
|
2808
|
+
nextPage {
|
|
2809
|
+
elements
|
|
2810
|
+
lastNum
|
|
2811
|
+
num
|
|
2812
|
+
size
|
|
2813
|
+
token
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
`;
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* __useFetchTiersPageQuery__
|
|
2821
|
+
*
|
|
2822
|
+
* To run a query within a React component, call `useFetchTiersPageQuery` and pass it any options that fit your needs.
|
|
2823
|
+
* When your component renders, `useFetchTiersPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2824
|
+
* you can use to render your UI.
|
|
2825
|
+
*
|
|
2826
|
+
* @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;
|
|
2827
|
+
*
|
|
2828
|
+
* @example
|
|
2829
|
+
* const { data, loading, error } = useFetchTiersPageQuery({
|
|
2830
|
+
* variables: {
|
|
2831
|
+
* filter: // value for 'filter'
|
|
2832
|
+
* sort: // value for 'sort'
|
|
2833
|
+
* page: // value for 'page'
|
|
2834
|
+
* },
|
|
2835
|
+
* });
|
|
2836
|
+
*/
|
|
2837
|
+
export function useFetchTiersPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchTiersPageQuery, IFetchTiersPageQueryVariables>) {
|
|
2838
|
+
return Apollo.useQuery<IFetchTiersPageQuery, IFetchTiersPageQueryVariables>(FetchTiersPageDocument, baseOptions);
|
|
2839
|
+
}
|
|
2840
|
+
export function useFetchTiersPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchTiersPageQuery, IFetchTiersPageQueryVariables>) {
|
|
2841
|
+
return Apollo.useLazyQuery<IFetchTiersPageQuery, IFetchTiersPageQueryVariables>(FetchTiersPageDocument, baseOptions);
|
|
2842
|
+
}
|
|
2843
|
+
export type FetchTiersPageQueryHookResult = ReturnType<typeof useFetchTiersPageQuery>;
|
|
2844
|
+
export type FetchTiersPageLazyQueryHookResult = ReturnType<typeof useFetchTiersPageLazyQuery>;
|
|
2845
|
+
export type FetchTiersPageQueryResult = Apollo.QueryResult<IFetchTiersPageQuery, IFetchTiersPageQueryVariables>;
|
|
2626
2846
|
export const FetchUserFeedbackPageDocument = gql`
|
|
2627
2847
|
query FetchUserFeedbackPage($filter: UserFeedbackFilterInput!, $sort: UserFeedbackSortInput!, $page: AdminPageInput!) {
|
|
2628
2848
|
fetchUserFeedbackPage(filter: $filter, sort: $sort, page: $page) {
|