@ludo.ninja/api 2.4.3 → 2.4.4
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.
|
@@ -2159,6 +2159,20 @@ export type IXpSortInput = {
|
|
|
2159
2159
|
sortByConnectedWalletsNum: ISort;
|
|
2160
2160
|
sortBySuggestedOpportunities: ISort;
|
|
2161
2161
|
};
|
|
2162
|
+
export type IChangeXpPointsMutationVariables = Exact<{
|
|
2163
|
+
userId: Scalars['ID'];
|
|
2164
|
+
pointsDiff: Scalars['Int'];
|
|
2165
|
+
}>;
|
|
2166
|
+
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
2167
|
+
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2168
|
+
userId: Scalars['String'];
|
|
2169
|
+
codesNum: Scalars['Int'];
|
|
2170
|
+
}>;
|
|
2171
|
+
export type IAddInviteCodesMutation = Pick<IMutation, 'addInviteCodes'>;
|
|
2172
|
+
export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
2173
|
+
inviteCode: Scalars['String'];
|
|
2174
|
+
}>;
|
|
2175
|
+
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2162
2176
|
export type IFetchAdminXpPageQueryVariables = Exact<{
|
|
2163
2177
|
filter: IXpFilterInput;
|
|
2164
2178
|
sort: IXpSortInput;
|
|
@@ -3004,6 +3018,85 @@ export type IFindUserShowcaseItemsQuery = {
|
|
|
3004
3018
|
showcaseItems: Array<Maybe<Pick<IShowcaseItem, 'itemType' | 'itemId' | 'blockchain' | 'name' | 'media' | 'mediaPreview' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'likes' | 'visible' | 'blurred' | 'creatorsAddresses'>>>;
|
|
3005
3019
|
});
|
|
3006
3020
|
};
|
|
3021
|
+
export declare const ChangeXpPointsDocument: Apollo.DocumentNode;
|
|
3022
|
+
export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3023
|
+
/**
|
|
3024
|
+
* __useChangeXpPointsMutation__
|
|
3025
|
+
*
|
|
3026
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
3027
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
3028
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3029
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3030
|
+
*
|
|
3031
|
+
* @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;
|
|
3032
|
+
*
|
|
3033
|
+
* @example
|
|
3034
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
3035
|
+
* variables: {
|
|
3036
|
+
* userId: // value for 'userId'
|
|
3037
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
3038
|
+
* },
|
|
3039
|
+
* });
|
|
3040
|
+
*/
|
|
3041
|
+
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
3042
|
+
userId: string;
|
|
3043
|
+
pointsDiff: number;
|
|
3044
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3045
|
+
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
3046
|
+
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
3047
|
+
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3048
|
+
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
3049
|
+
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3050
|
+
/**
|
|
3051
|
+
* __useAddInviteCodesMutation__
|
|
3052
|
+
*
|
|
3053
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
3054
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
3055
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3056
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3057
|
+
*
|
|
3058
|
+
* @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;
|
|
3059
|
+
*
|
|
3060
|
+
* @example
|
|
3061
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
3062
|
+
* variables: {
|
|
3063
|
+
* userId: // value for 'userId'
|
|
3064
|
+
* codesNum: // value for 'codesNum'
|
|
3065
|
+
* },
|
|
3066
|
+
* });
|
|
3067
|
+
*/
|
|
3068
|
+
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
3069
|
+
userId: string;
|
|
3070
|
+
codesNum: number;
|
|
3071
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3072
|
+
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
3073
|
+
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
3074
|
+
export type AddInviteCodesMutationOptions = Apollo.BaseMutationOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3075
|
+
export declare const RemoveInviteCodeDocument: Apollo.DocumentNode;
|
|
3076
|
+
export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3077
|
+
/**
|
|
3078
|
+
* __useRemoveInviteCodeMutation__
|
|
3079
|
+
*
|
|
3080
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
3081
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
3082
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3083
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3084
|
+
*
|
|
3085
|
+
* @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;
|
|
3086
|
+
*
|
|
3087
|
+
* @example
|
|
3088
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
3089
|
+
* variables: {
|
|
3090
|
+
* inviteCode: // value for 'inviteCode'
|
|
3091
|
+
* },
|
|
3092
|
+
* });
|
|
3093
|
+
*/
|
|
3094
|
+
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
3095
|
+
inviteCode: string;
|
|
3096
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3097
|
+
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
3098
|
+
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
3099
|
+
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3007
3100
|
export declare const FetchAdminXpPageDocument: Apollo.DocumentNode;
|
|
3008
3101
|
/**
|
|
3009
3102
|
* __useFetchAdminXpPageQuery__
|
|
@@ -23,12 +23,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery =
|
|
26
|
+
exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
|
|
27
|
+
exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = void 0;
|
|
28
|
+
exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = void 0;
|
|
29
|
+
exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = void 0;
|
|
30
|
+
exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = void 0;
|
|
31
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = void 0;
|
|
32
32
|
/* eslint-disable */
|
|
33
33
|
const client_1 = require("@apollo/client");
|
|
34
34
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -37,6 +37,86 @@ var ISortDirection;
|
|
|
37
37
|
ISortDirection["Asc"] = "ASC";
|
|
38
38
|
ISortDirection["Desc"] = "DESC";
|
|
39
39
|
})(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
|
|
40
|
+
exports.ChangeXpPointsDocument = (0, client_1.gql) `
|
|
41
|
+
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
42
|
+
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
/**
|
|
46
|
+
* __useChangeXpPointsMutation__
|
|
47
|
+
*
|
|
48
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
49
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
50
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
51
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
52
|
+
*
|
|
53
|
+
* @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;
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
57
|
+
* variables: {
|
|
58
|
+
* userId: // value for 'userId'
|
|
59
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
*/
|
|
63
|
+
function useChangeXpPointsMutation(baseOptions) {
|
|
64
|
+
return Apollo.useMutation(exports.ChangeXpPointsDocument, baseOptions);
|
|
65
|
+
}
|
|
66
|
+
exports.useChangeXpPointsMutation = useChangeXpPointsMutation;
|
|
67
|
+
exports.AddInviteCodesDocument = (0, client_1.gql) `
|
|
68
|
+
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
69
|
+
addInviteCodes(userId: $userId, codesNum: $codesNum)
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
/**
|
|
73
|
+
* __useAddInviteCodesMutation__
|
|
74
|
+
*
|
|
75
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
76
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
77
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
78
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
79
|
+
*
|
|
80
|
+
* @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;
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
84
|
+
* variables: {
|
|
85
|
+
* userId: // value for 'userId'
|
|
86
|
+
* codesNum: // value for 'codesNum'
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
*/
|
|
90
|
+
function useAddInviteCodesMutation(baseOptions) {
|
|
91
|
+
return Apollo.useMutation(exports.AddInviteCodesDocument, baseOptions);
|
|
92
|
+
}
|
|
93
|
+
exports.useAddInviteCodesMutation = useAddInviteCodesMutation;
|
|
94
|
+
exports.RemoveInviteCodeDocument = (0, client_1.gql) `
|
|
95
|
+
mutation RemoveInviteCode($inviteCode: String!) {
|
|
96
|
+
removeInviteCode(inviteCode: $inviteCode)
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
/**
|
|
100
|
+
* __useRemoveInviteCodeMutation__
|
|
101
|
+
*
|
|
102
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
103
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
104
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
105
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
106
|
+
*
|
|
107
|
+
* @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;
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
111
|
+
* variables: {
|
|
112
|
+
* inviteCode: // value for 'inviteCode'
|
|
113
|
+
* },
|
|
114
|
+
* });
|
|
115
|
+
*/
|
|
116
|
+
function useRemoveInviteCodeMutation(baseOptions) {
|
|
117
|
+
return Apollo.useMutation(exports.RemoveInviteCodeDocument, baseOptions);
|
|
118
|
+
}
|
|
119
|
+
exports.useRemoveInviteCodeMutation = useRemoveInviteCodeMutation;
|
|
40
120
|
exports.FetchAdminXpPageDocument = (0, client_1.gql) `
|
|
41
121
|
query FetchAdminXpPage($filter: XpFilterInput!, $sort: XpSortInput!, $page: AdminPageInput!) {
|
|
42
122
|
fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -1103,117 +1183,6 @@ function useOnMyExperienceUpdatedSubscription(baseOptions) {
|
|
|
1103
1183
|
return Apollo.useSubscription(exports.OnMyExperienceUpdatedDocument, baseOptions);
|
|
1104
1184
|
}
|
|
1105
1185
|
exports.useOnMyExperienceUpdatedSubscription = useOnMyExperienceUpdatedSubscription;
|
|
1106
|
-
exports.HideOpportunityV2Document = (0, client_1.gql) `
|
|
1107
|
-
mutation HideOpportunityV2($opportunityId: ID!) {
|
|
1108
|
-
hideOpportunityV2(opportunityId: $opportunityId)
|
|
1109
|
-
}
|
|
1110
|
-
`;
|
|
1111
|
-
/**
|
|
1112
|
-
* __useHideOpportunityV2Mutation__
|
|
1113
|
-
*
|
|
1114
|
-
* To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1115
|
-
* When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
|
|
1116
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1117
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1118
|
-
*
|
|
1119
|
-
* @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;
|
|
1120
|
-
*
|
|
1121
|
-
* @example
|
|
1122
|
-
* const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
|
|
1123
|
-
* variables: {
|
|
1124
|
-
* opportunityId: // value for 'opportunityId'
|
|
1125
|
-
* },
|
|
1126
|
-
* });
|
|
1127
|
-
*/
|
|
1128
|
-
function useHideOpportunityV2Mutation(baseOptions) {
|
|
1129
|
-
return Apollo.useMutation(exports.HideOpportunityV2Document, baseOptions);
|
|
1130
|
-
}
|
|
1131
|
-
exports.useHideOpportunityV2Mutation = useHideOpportunityV2Mutation;
|
|
1132
|
-
exports.OpenOpportunityV2Document = (0, client_1.gql) `
|
|
1133
|
-
mutation OpenOpportunityV2($opportunityId: ID!) {
|
|
1134
|
-
openOpportunityV2(opportunityId: $opportunityId)
|
|
1135
|
-
}
|
|
1136
|
-
`;
|
|
1137
|
-
/**
|
|
1138
|
-
* __useOpenOpportunityV2Mutation__
|
|
1139
|
-
*
|
|
1140
|
-
* To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1141
|
-
* When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
|
|
1142
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1143
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1144
|
-
*
|
|
1145
|
-
* @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;
|
|
1146
|
-
*
|
|
1147
|
-
* @example
|
|
1148
|
-
* const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
|
|
1149
|
-
* variables: {
|
|
1150
|
-
* opportunityId: // value for 'opportunityId'
|
|
1151
|
-
* },
|
|
1152
|
-
* });
|
|
1153
|
-
*/
|
|
1154
|
-
function useOpenOpportunityV2Mutation(baseOptions) {
|
|
1155
|
-
return Apollo.useMutation(exports.OpenOpportunityV2Document, baseOptions);
|
|
1156
|
-
}
|
|
1157
|
-
exports.useOpenOpportunityV2Mutation = useOpenOpportunityV2Mutation;
|
|
1158
|
-
exports.VisitPageV2Document = (0, client_1.gql) `
|
|
1159
|
-
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $category: String) {
|
|
1160
|
-
visitPageV2(
|
|
1161
|
-
domain: $domain
|
|
1162
|
-
title: $title
|
|
1163
|
-
description: $description
|
|
1164
|
-
tags: $tags
|
|
1165
|
-
brandId: $brandId
|
|
1166
|
-
category: $category
|
|
1167
|
-
) {
|
|
1168
|
-
opportunityId
|
|
1169
|
-
brandId
|
|
1170
|
-
categoryId
|
|
1171
|
-
opportunityStatus
|
|
1172
|
-
opportunityType
|
|
1173
|
-
notificationType
|
|
1174
|
-
name
|
|
1175
|
-
brandName
|
|
1176
|
-
brandDescription
|
|
1177
|
-
brandMedia
|
|
1178
|
-
brandUrl
|
|
1179
|
-
brandIndustry
|
|
1180
|
-
categoryName
|
|
1181
|
-
ludoUrl
|
|
1182
|
-
projectUrl
|
|
1183
|
-
activeFrom
|
|
1184
|
-
activeUntil
|
|
1185
|
-
media
|
|
1186
|
-
reportLink
|
|
1187
|
-
shareLink
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
`;
|
|
1191
|
-
/**
|
|
1192
|
-
* __useVisitPageV2Mutation__
|
|
1193
|
-
*
|
|
1194
|
-
* To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1195
|
-
* When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
|
|
1196
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1197
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1198
|
-
*
|
|
1199
|
-
* @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;
|
|
1200
|
-
*
|
|
1201
|
-
* @example
|
|
1202
|
-
* const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
|
|
1203
|
-
* variables: {
|
|
1204
|
-
* domain: // value for 'domain'
|
|
1205
|
-
* title: // value for 'title'
|
|
1206
|
-
* description: // value for 'description'
|
|
1207
|
-
* tags: // value for 'tags'
|
|
1208
|
-
* brandId: // value for 'brandId'
|
|
1209
|
-
* category: // value for 'category'
|
|
1210
|
-
* },
|
|
1211
|
-
* });
|
|
1212
|
-
*/
|
|
1213
|
-
function useVisitPageV2Mutation(baseOptions) {
|
|
1214
|
-
return Apollo.useMutation(exports.VisitPageV2Document, baseOptions);
|
|
1215
|
-
}
|
|
1216
|
-
exports.useVisitPageV2Mutation = useVisitPageV2Mutation;
|
|
1217
1186
|
exports.FetchCollectionRanksDocument = (0, client_1.gql) `
|
|
1218
1187
|
query FetchCollectionRanks($collectionKeys: [CollectionKey!]!) {
|
|
1219
1188
|
fetchCollectionRanks(collectionKeys: $collectionKeys) {
|
|
@@ -1250,130 +1219,6 @@ function useFetchCollectionRanksLazyQuery(baseOptions) {
|
|
|
1250
1219
|
return Apollo.useLazyQuery(exports.FetchCollectionRanksDocument, baseOptions);
|
|
1251
1220
|
}
|
|
1252
1221
|
exports.useFetchCollectionRanksLazyQuery = useFetchCollectionRanksLazyQuery;
|
|
1253
|
-
exports.FetchExtensionBrandsDocument = (0, client_1.gql) `
|
|
1254
|
-
query FetchExtensionBrands {
|
|
1255
|
-
fetchExtensionBrands {
|
|
1256
|
-
brandId
|
|
1257
|
-
name
|
|
1258
|
-
matchingWords
|
|
1259
|
-
description
|
|
1260
|
-
industry
|
|
1261
|
-
link
|
|
1262
|
-
media
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
`;
|
|
1266
|
-
/**
|
|
1267
|
-
* __useFetchExtensionBrandsQuery__
|
|
1268
|
-
*
|
|
1269
|
-
* To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
|
|
1270
|
-
* When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1271
|
-
* you can use to render your UI.
|
|
1272
|
-
*
|
|
1273
|
-
* @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;
|
|
1274
|
-
*
|
|
1275
|
-
* @example
|
|
1276
|
-
* const { data, loading, error } = useFetchExtensionBrandsQuery({
|
|
1277
|
-
* variables: {
|
|
1278
|
-
* },
|
|
1279
|
-
* });
|
|
1280
|
-
*/
|
|
1281
|
-
function useFetchExtensionBrandsQuery(baseOptions) {
|
|
1282
|
-
return Apollo.useQuery(exports.FetchExtensionBrandsDocument, baseOptions);
|
|
1283
|
-
}
|
|
1284
|
-
exports.useFetchExtensionBrandsQuery = useFetchExtensionBrandsQuery;
|
|
1285
|
-
function useFetchExtensionBrandsLazyQuery(baseOptions) {
|
|
1286
|
-
return Apollo.useLazyQuery(exports.FetchExtensionBrandsDocument, baseOptions);
|
|
1287
|
-
}
|
|
1288
|
-
exports.useFetchExtensionBrandsLazyQuery = useFetchExtensionBrandsLazyQuery;
|
|
1289
|
-
exports.FetchExtensionCategoriesDocument = (0, client_1.gql) `
|
|
1290
|
-
query FetchExtensionCategories {
|
|
1291
|
-
fetchExtensionCategories {
|
|
1292
|
-
categoryId
|
|
1293
|
-
name
|
|
1294
|
-
matchingWords
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
`;
|
|
1298
|
-
/**
|
|
1299
|
-
* __useFetchExtensionCategoriesQuery__
|
|
1300
|
-
*
|
|
1301
|
-
* To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
|
|
1302
|
-
* When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1303
|
-
* you can use to render your UI.
|
|
1304
|
-
*
|
|
1305
|
-
* @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;
|
|
1306
|
-
*
|
|
1307
|
-
* @example
|
|
1308
|
-
* const { data, loading, error } = useFetchExtensionCategoriesQuery({
|
|
1309
|
-
* variables: {
|
|
1310
|
-
* },
|
|
1311
|
-
* });
|
|
1312
|
-
*/
|
|
1313
|
-
function useFetchExtensionCategoriesQuery(baseOptions) {
|
|
1314
|
-
return Apollo.useQuery(exports.FetchExtensionCategoriesDocument, baseOptions);
|
|
1315
|
-
}
|
|
1316
|
-
exports.useFetchExtensionCategoriesQuery = useFetchExtensionCategoriesQuery;
|
|
1317
|
-
function useFetchExtensionCategoriesLazyQuery(baseOptions) {
|
|
1318
|
-
return Apollo.useLazyQuery(exports.FetchExtensionCategoriesDocument, baseOptions);
|
|
1319
|
-
}
|
|
1320
|
-
exports.useFetchExtensionCategoriesLazyQuery = useFetchExtensionCategoriesLazyQuery;
|
|
1321
|
-
exports.FetchExtensionOpportunitiesDocument = (0, client_1.gql) `
|
|
1322
|
-
query FetchExtensionOpportunities($userId: String, $brandId: String, $category: String) {
|
|
1323
|
-
fetchExtensionOpportunities(
|
|
1324
|
-
userId: $userId
|
|
1325
|
-
brandId: $brandId
|
|
1326
|
-
category: $category
|
|
1327
|
-
) {
|
|
1328
|
-
opportunityId
|
|
1329
|
-
brandId
|
|
1330
|
-
categoryId
|
|
1331
|
-
opportunityStatus
|
|
1332
|
-
opportunityType
|
|
1333
|
-
notificationType
|
|
1334
|
-
name
|
|
1335
|
-
brandName
|
|
1336
|
-
brandDescription
|
|
1337
|
-
brandMedia
|
|
1338
|
-
brandUrl
|
|
1339
|
-
brandIndustry
|
|
1340
|
-
categoryName
|
|
1341
|
-
ludoUrl
|
|
1342
|
-
projectUrl
|
|
1343
|
-
activeFrom
|
|
1344
|
-
activeUntil
|
|
1345
|
-
media
|
|
1346
|
-
reportLink
|
|
1347
|
-
shareLink
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
`;
|
|
1351
|
-
/**
|
|
1352
|
-
* __useFetchExtensionOpportunitiesQuery__
|
|
1353
|
-
*
|
|
1354
|
-
* To run a query within a React component, call `useFetchExtensionOpportunitiesQuery` and pass it any options that fit your needs.
|
|
1355
|
-
* When your component renders, `useFetchExtensionOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1356
|
-
* you can use to render your UI.
|
|
1357
|
-
*
|
|
1358
|
-
* @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;
|
|
1359
|
-
*
|
|
1360
|
-
* @example
|
|
1361
|
-
* const { data, loading, error } = useFetchExtensionOpportunitiesQuery({
|
|
1362
|
-
* variables: {
|
|
1363
|
-
* userId: // value for 'userId'
|
|
1364
|
-
* brandId: // value for 'brandId'
|
|
1365
|
-
* category: // value for 'category'
|
|
1366
|
-
* },
|
|
1367
|
-
* });
|
|
1368
|
-
*/
|
|
1369
|
-
function useFetchExtensionOpportunitiesQuery(baseOptions) {
|
|
1370
|
-
return Apollo.useQuery(exports.FetchExtensionOpportunitiesDocument, baseOptions);
|
|
1371
|
-
}
|
|
1372
|
-
exports.useFetchExtensionOpportunitiesQuery = useFetchExtensionOpportunitiesQuery;
|
|
1373
|
-
function useFetchExtensionOpportunitiesLazyQuery(baseOptions) {
|
|
1374
|
-
return Apollo.useLazyQuery(exports.FetchExtensionOpportunitiesDocument, baseOptions);
|
|
1375
|
-
}
|
|
1376
|
-
exports.useFetchExtensionOpportunitiesLazyQuery = useFetchExtensionOpportunitiesLazyQuery;
|
|
1377
1222
|
exports.FetchNftDataDocument = (0, client_1.gql) `
|
|
1378
1223
|
query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
|
|
1379
1224
|
fetchNFTData(
|
package/package.json
CHANGED
|
@@ -2675,6 +2675,29 @@ export type IXpSortInput = {
|
|
|
2675
2675
|
sortBySuggestedOpportunities: ISort;
|
|
2676
2676
|
};
|
|
2677
2677
|
|
|
2678
|
+
export type IChangeXpPointsMutationVariables = Exact<{
|
|
2679
|
+
userId: Scalars['ID'];
|
|
2680
|
+
pointsDiff: Scalars['Int'];
|
|
2681
|
+
}>;
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
2685
|
+
|
|
2686
|
+
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2687
|
+
userId: Scalars['String'];
|
|
2688
|
+
codesNum: Scalars['Int'];
|
|
2689
|
+
}>;
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
export type IAddInviteCodesMutation = Pick<IMutation, 'addInviteCodes'>;
|
|
2693
|
+
|
|
2694
|
+
export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
2695
|
+
inviteCode: Scalars['String'];
|
|
2696
|
+
}>;
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2700
|
+
|
|
2678
2701
|
export type IFetchAdminXpPageQueryVariables = Exact<{
|
|
2679
2702
|
filter: IXpFilterInput;
|
|
2680
2703
|
sort: IXpSortInput;
|
|
@@ -3652,6 +3675,98 @@ export type IFindUserShowcaseItemsQuery = { findUserShowcaseItems: (
|
|
|
3652
3675
|
) };
|
|
3653
3676
|
|
|
3654
3677
|
|
|
3678
|
+
export const ChangeXpPointsDocument = gql`
|
|
3679
|
+
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
3680
|
+
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
3681
|
+
}
|
|
3682
|
+
`;
|
|
3683
|
+
export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* __useChangeXpPointsMutation__
|
|
3687
|
+
*
|
|
3688
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
3689
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
3690
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3691
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3692
|
+
*
|
|
3693
|
+
* @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;
|
|
3694
|
+
*
|
|
3695
|
+
* @example
|
|
3696
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
3697
|
+
* variables: {
|
|
3698
|
+
* userId: // value for 'userId'
|
|
3699
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
3700
|
+
* },
|
|
3701
|
+
* });
|
|
3702
|
+
*/
|
|
3703
|
+
export function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>) {
|
|
3704
|
+
return Apollo.useMutation<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>(ChangeXpPointsDocument, baseOptions);
|
|
3705
|
+
}
|
|
3706
|
+
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
3707
|
+
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
3708
|
+
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3709
|
+
export const AddInviteCodesDocument = gql`
|
|
3710
|
+
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
3711
|
+
addInviteCodes(userId: $userId, codesNum: $codesNum)
|
|
3712
|
+
}
|
|
3713
|
+
`;
|
|
3714
|
+
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* __useAddInviteCodesMutation__
|
|
3718
|
+
*
|
|
3719
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
3720
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
3721
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3722
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3723
|
+
*
|
|
3724
|
+
* @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;
|
|
3725
|
+
*
|
|
3726
|
+
* @example
|
|
3727
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
3728
|
+
* variables: {
|
|
3729
|
+
* userId: // value for 'userId'
|
|
3730
|
+
* codesNum: // value for 'codesNum'
|
|
3731
|
+
* },
|
|
3732
|
+
* });
|
|
3733
|
+
*/
|
|
3734
|
+
export function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>) {
|
|
3735
|
+
return Apollo.useMutation<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>(AddInviteCodesDocument, baseOptions);
|
|
3736
|
+
}
|
|
3737
|
+
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
3738
|
+
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
3739
|
+
export type AddInviteCodesMutationOptions = Apollo.BaseMutationOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3740
|
+
export const RemoveInviteCodeDocument = gql`
|
|
3741
|
+
mutation RemoveInviteCode($inviteCode: String!) {
|
|
3742
|
+
removeInviteCode(inviteCode: $inviteCode)
|
|
3743
|
+
}
|
|
3744
|
+
`;
|
|
3745
|
+
export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* __useRemoveInviteCodeMutation__
|
|
3749
|
+
*
|
|
3750
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
3751
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
3752
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3753
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3754
|
+
*
|
|
3755
|
+
* @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;
|
|
3756
|
+
*
|
|
3757
|
+
* @example
|
|
3758
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
3759
|
+
* variables: {
|
|
3760
|
+
* inviteCode: // value for 'inviteCode'
|
|
3761
|
+
* },
|
|
3762
|
+
* });
|
|
3763
|
+
*/
|
|
3764
|
+
export function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>) {
|
|
3765
|
+
return Apollo.useMutation<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>(RemoveInviteCodeDocument, baseOptions);
|
|
3766
|
+
}
|
|
3767
|
+
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
3768
|
+
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
3769
|
+
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3655
3770
|
export const FetchAdminXpPageDocument = gql`
|
|
3656
3771
|
query FetchAdminXpPage($filter: XpFilterInput!, $sort: XpSortInput!, $page: AdminPageInput!) {
|
|
3657
3772
|
fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
|