import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { PublicLinkAttributesFragmentDoc } from '../../../../graphql/fragments/publicLinkAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const PublicLinksDocument = gql` query publicLinks($screen: EnumPublicLinksScreen!) { publicLinks(screen: $screen) { ...publicLinkAttributes } } ${PublicLinkAttributesFragmentDoc}`; export function usePublicLinksQuery(variables: Types.PublicLinksQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(PublicLinksDocument, variables, options); } export function usePublicLinksLazyQuery(variables?: Types.PublicLinksQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(PublicLinksDocument, variables, options); } export type PublicLinksQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;