1234567891011121314151617181920212223 |
- 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 SystemSetupLockDocument = gql`
- mutation systemSetupLock($ttl: Int) {
- systemSetupLock(ttl: $ttl) {
- resource
- value
- errors {
- ...errors
- }
- }
- }
- ${ErrorsFragmentDoc}`;
- export function useSystemSetupLockMutation(options: VueApolloComposable.UseMutationOptions<Types.SystemSetupLockMutation, Types.SystemSetupLockMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.SystemSetupLockMutation, Types.SystemSetupLockMutationVariables>> = {}) {
- return VueApolloComposable.useMutation<Types.SystemSetupLockMutation, Types.SystemSetupLockMutationVariables>(SystemSetupLockDocument, options);
- }
- export type SystemSetupLockMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.SystemSetupLockMutation, Types.SystemSetupLockMutationVariables>;
|