import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const MacrosDocument = gql` query macros($groupId: ID!) { macros(groupId: $groupId) { id active name uxFlowNextUp } } `; export function useMacrosQuery(variables: Types.MacrosQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(MacrosDocument, variables, options); } export function useMacrosLazyQuery(variables?: Types.MacrosQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(MacrosDocument, variables, options); } export type MacrosQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;