File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
packages/toolkit/src/query/core Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ import type {
1919 SubscriptionState ,
2020} from '../apiState'
2121import type {
22+ InfiniteQueryThunk ,
2223 MutationThunk ,
2324 QueryThunk ,
2425 QueryThunkArg ,
25- ThunkResult ,
26+ ThunkResult
2627} from '../buildThunks'
2728
2829export type QueryStateMeta < T > = Record < string , undefined | T >
@@ -47,6 +48,7 @@ export interface BuildMiddlewareInput<
4748 context : ApiContext < Definitions >
4849 queryThunk : QueryThunk
4950 mutationThunk : MutationThunk
51+ infiniteQueryThunk : InfiniteQueryThunk
5052 api : Api < any , Definitions , ReducerPath , TagTypes >
5153 assertTagType : AssertTagTypes
5254}
@@ -106,7 +108,7 @@ export type ApiMiddlewareInternalHandler<Return = void> = (
106108) => Return
107109
108110export type InternalHandlerBuilder < ReturnType = void > = (
109- input : BuildSubMiddlewareInput | BuildInfMiddlewareInput ,
111+ input : BuildSubMiddlewareInput ,
110112) => ApiMiddlewareInternalHandler < ReturnType >
111113
112114export interface PromiseConstructorWithKnownReason {
Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ import type {
1515 ThunkDispatch ,
1616 UnknownAction ,
1717} from '@reduxjs/toolkit'
18- import {
18+ import type {
1919 EndpointDefinitions ,
2020 QueryArgFrom ,
2121 QueryDefinition ,
2222 MutationDefinition ,
2323 AssertTagTypes ,
24- TagDescription , isInfiniteQueryDefinition , InfiniteQueryDefinition
24+ TagDescription ,
25+ InfiniteQueryDefinition
2526} from '../endpointDefinitions'
26- import { isQueryDefinition , isMutationDefinition } from '../endpointDefinitions'
27+ import { isQueryDefinition , isMutationDefinition , isInfiniteQueryDefinition } from '../endpointDefinitions'
2728import type {
2829 CombinedState ,
2930 QueryKeys ,
You can’t perform that action at this time.
0 commit comments