/* eslint-disable */
//@ts-nocheck
import type * as _Types from '../types';

import type { DocumentNode } from 'graphql';
import * as Apollo from '@apollo/client';
const defaultOptions = {} as const;
export type GetFileInfoVariables = _Types.Exact<{
  fileInfoId: _Types.Scalars['UUID']['input'];
}>;


export type GetFileInfo = { fileInfo: { id: any, fileName: string } | null };


export const GetFileInfoDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFileInfo"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fileInfoId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fileInfo"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fileInfoId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fileInfoId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FileInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FileInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FileInfoType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fileName"}}]}}]} as unknown as DocumentNode;

/**
 * __useGetFileInfo__
 *
 * To run a query within a React component, call `useGetFileInfo` and pass it any options that fit your needs.
 * When your component renders, `useGetFileInfo` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useGetFileInfo({
 *   variables: {
 *      fileInfoId: // value for 'fileInfoId'
 *   },
 * });
 */
export function useGetFileInfo(baseOptions: Apollo.QueryHookOptions<GetFileInfo, GetFileInfoVariables> & ({ variables: GetFileInfoVariables; skip?: boolean; } | { skip: boolean; }) ) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useQuery<GetFileInfo, GetFileInfoVariables>(GetFileInfoDocument, options);
      }
export function useGetFileInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetFileInfo, GetFileInfoVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useLazyQuery<GetFileInfo, GetFileInfoVariables>(GetFileInfoDocument, options);
        }
export function useGetFileInfoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetFileInfo, GetFileInfoVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useSuspenseQuery<GetFileInfo, GetFileInfoVariables>(GetFileInfoDocument, options);
        }
export type GetFileInfoHookResult = ReturnType<typeof useGetFileInfo>;
export type GetFileInfoLazyQueryHookResult = ReturnType<typeof useGetFileInfoLazyQuery>;
export type GetFileInfoSuspenseQueryHookResult = ReturnType<typeof useGetFileInfoSuspenseQuery>;
export type GetFileInfoQueryResult = Apollo.QueryResult<GetFileInfo, GetFileInfoVariables>;