linkRemove.api.ts 993 B

12345678910111213141516171819202122
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import * as VueApolloComposable from '@vue/apollo-composable';
  4. import * as VueCompositionApi from 'vue';
  5. export type ReactiveFunction<TParam> = () => TParam;
  6. export const LinkRemoveDocument = gql`
  7. mutation linkRemove($input: LinkInput!) {
  8. linkRemove(input: $input) {
  9. success
  10. errors {
  11. message
  12. field
  13. }
  14. }
  15. }
  16. `;
  17. export function useLinkRemoveMutation(options: VueApolloComposable.UseMutationOptions<Types.LinkRemoveMutation, Types.LinkRemoveMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.LinkRemoveMutation, Types.LinkRemoveMutationVariables>> = {}) {
  18. return VueApolloComposable.useMutation<Types.LinkRemoveMutation, Types.LinkRemoveMutationVariables>(LinkRemoveDocument, options);
  19. }
  20. export type LinkRemoveMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.LinkRemoveMutation, Types.LinkRemoveMutationVariables>;