/* 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 GetAutoInjectsVariables = _Types.Exact<{
  exerciseId: _Types.Scalars['ID']['input'];
}>;


export type GetAutoInjects = { injects: Array<{ id: string, name: string, time: number, delay: number, organization: string, type: _Types.InjectType } | null> | null };


export const GetAutoInjectsDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAutoInjects"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"exerciseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"injects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"exerciseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"exerciseId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DefinitionInject"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DefinitionInject"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DefinitionInjectType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"time"}},{"kind":"Field","name":{"kind":"Name","value":"delay"}},{"kind":"Field","name":{"kind":"Name","value":"organization"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode;

/**
 * __useGetAutoInjects__
 *
 * To run a query within a React component, call `useGetAutoInjects` and pass it any options that fit your needs.
 * When your component renders, `useGetAutoInjects` 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 } = useGetAutoInjects({
 *   variables: {
 *      exerciseId: // value for 'exerciseId'
 *   },
 * });
 */
export function useGetAutoInjects(baseOptions: Apollo.QueryHookOptions<GetAutoInjects, GetAutoInjectsVariables> & ({ variables: GetAutoInjectsVariables; skip?: boolean; } | { skip: boolean; }) ) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useQuery<GetAutoInjects, GetAutoInjectsVariables>(GetAutoInjectsDocument, options);
      }
export function useGetAutoInjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetAutoInjects, GetAutoInjectsVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useLazyQuery<GetAutoInjects, GetAutoInjectsVariables>(GetAutoInjectsDocument, options);
        }
export function useGetAutoInjectsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetAutoInjects, GetAutoInjectsVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useSuspenseQuery<GetAutoInjects, GetAutoInjectsVariables>(GetAutoInjectsDocument, options);
        }
export type GetAutoInjectsHookResult = ReturnType<typeof useGetAutoInjects>;
export type GetAutoInjectsLazyQueryHookResult = ReturnType<typeof useGetAutoInjectsLazyQuery>;
export type GetAutoInjectsSuspenseQueryHookResult = ReturnType<typeof useGetAutoInjectsSuspenseQuery>;
export type GetAutoInjectsQueryResult = Apollo.QueryResult<GetAutoInjects, GetAutoInjectsVariables>;