Skip to content

Commit 11c1b37

Browse files
committed
Fix exports in src/query/core/buildMiddleware/index.ts
1 parent 83a4313 commit 11c1b37

File tree

1 file changed

+15
-3
lines changed
  • packages/toolkit/src/query/core/buildMiddleware

1 file changed

+15
-3
lines changed

packages/toolkit/src/query/core/buildMiddleware/index.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ import type {
44
ThunkDispatch,
55
UnknownAction,
66
} from '@reduxjs/toolkit'
7-
import { createAction, isAction } from '../rtkImports'
8-
9-
import type { AnyNonNullishValue } from '@reduxjs/toolkit/dist/tsHelpers'
7+
import type { AnyNonNullishValue } from '../../../tsHelpers'
108
import type {
119
EndpointDefinitions,
1210
FullTagDescription,
1311
} from '../../endpointDefinitions'
1412
import type { QueryStatus, QuerySubState, RootState } from '../apiState'
1513
import type { QueryThunkArg } from '../buildThunks'
14+
import { createAction, isAction } from '../rtkImports'
1615
import { buildBatchedActionsHandler } from './batchActions'
1716
import { buildCacheCollectionHandler } from './cacheCollection'
1817
import { buildCacheLifecycleHandler } from './cacheLifecycle'
@@ -27,6 +26,19 @@ import type {
2726
} from './types'
2827
import { buildWindowEventHandler } from './windowEventHandling'
2928

29+
export type { ReferenceCacheCollection } from './cacheCollection'
30+
export type {
31+
MutationCacheLifecycleApi,
32+
QueryCacheLifecycleApi,
33+
ReferenceCacheLifecycle,
34+
} from './cacheLifecycle'
35+
export type {
36+
MutationLifecycleApi,
37+
QueryLifecycleApi,
38+
ReferenceQueryLifecycle,
39+
} from './queryLifecycle'
40+
export type { SubscriptionSelectors } from './types'
41+
3042
export function buildMiddleware<
3143
Definitions extends EndpointDefinitions,
3244
ReducerPath extends string,

0 commit comments

Comments
 (0)