import type { DefaultError, QueryKey } from '@tanstack/react-query'; import type { OptimisticConfig } from '../../core/types/Normalizer'; import type { RefetchInterval } from './refetch-interval'; export interface QueryDataAdditionalOptions { refetchInterval?: RefetchInterval; /** * @deprecated The use of the enabled option is deprecated. * It is recommended to use idle as query parameters to control query state. */ enabled?: boolean; /** Normalization configuration (enable/disable) */ normalize?: boolean; /** Optimistic data update configuration */ optimistic?: boolean | OptimisticConfig; /** Invalidate data configuration */ invalidate?: boolean; }