12345678910111213141516171819202122 |
- import * as Types from '#shared/graphql/types.ts';
- import gql from 'graphql-tag';
- import { ErrorsFragmentDoc } from '../../../../../../shared/graphql/fragments/errors.api';
- import * as VueApolloComposable from '@vue/apollo-composable';
- import * as VueCompositionApi from 'vue';
- export type ReactiveFunction<TParam> = () => TParam;
- export const UserCurrentDeviceDeleteDocument = gql`
- mutation userCurrentDeviceDelete($deviceId: ID!) {
- userCurrentDeviceDelete(deviceId: $deviceId) {
- success
- errors {
- ...errors
- }
- }
- }
- ${ErrorsFragmentDoc}`;
- export function useUserCurrentDeviceDeleteMutation(options: VueApolloComposable.UseMutationOptions<Types.UserCurrentDeviceDeleteMutation, Types.UserCurrentDeviceDeleteMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.UserCurrentDeviceDeleteMutation, Types.UserCurrentDeviceDeleteMutationVariables>> = {}) {
- return VueApolloComposable.useMutation<Types.UserCurrentDeviceDeleteMutation, Types.UserCurrentDeviceDeleteMutationVariables>(UserCurrentDeviceDeleteDocument, options);
- }
- export type UserCurrentDeviceDeleteMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.UserCurrentDeviceDeleteMutation, Types.UserCurrentDeviceDeleteMutationVariables>;
|