Skip to content

Commit 2f02f7c

Browse files
committed
Fix bad rebase of exports
1 parent 0a32a5c commit 2f02f7c

File tree

1 file changed

+27
-51
lines changed

1 file changed

+27
-51
lines changed
Lines changed: 27 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
// This must remain here so that the `mangleErrors.cjs` build script
22
// does not have to import this into each source file it rewrites.
3+
import { formatProdErrorMessage } from '@reduxjs/toolkit'
34

5+
export type {
6+
CombinedState,
7+
QueryCacheKey,
8+
QueryKeys,
9+
QuerySubState,
10+
RootState,
11+
SubscriptionOptions,
12+
} from './core/apiState'
13+
export { QueryStatus } from './core/apiState'
414
export type { Api, ApiContext, Module } from './apiTypes'
15+
516
export type {
617
BaseQueryApi,
718
BaseQueryArg,
@@ -13,73 +24,35 @@ export type {
1324
BaseQueryResult,
1425
QueryReturnValue,
1526
} from './baseQueryTypes'
16-
export {
17-
QueryStatus,
18-
coreModule,
19-
coreModuleName,
20-
createApi,
21-
setupListeners,
22-
skipToken,
23-
} from './core/index'
24-
export type {
25-
ApiEndpointInfiniteQuery,
26-
ApiEndpointMutation,
27-
ApiEndpointQuery,
28-
CombinedState,
29-
CoreModule,
30-
InfiniteData,
31-
InfiniteQueryActionCreatorResult,
32-
InfiniteQueryConfigOptions,
33-
InfiniteQueryResultSelectorResult,
34-
InfiniteQuerySubState,
35-
MutationActionCreatorResult,
36-
MutationResultSelectorResult,
37-
PrefetchOptions,
38-
QueryActionCreatorResult,
39-
QueryCacheKey,
40-
QueryKeys,
41-
QueryResultSelectorResult,
42-
QuerySubState,
43-
RootState,
44-
SkipToken,
45-
StartQueryActionCreatorOptions,
46-
SubscriptionOptions,
47-
} from './core/index'
48-
export type { ApiModules } from './core/module'
49-
export { buildCreateApi } from './createApi'
50-
export type { CreateApi, CreateApiOptions } from './createApi'
51-
export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs'
52-
export type { SerializeQueryArgs } from './defaultSerializeQueryArgs'
5327
export type {
5428
BaseEndpointDefinition,
55-
DefinitionType,
56-
DefinitionsFromApi,
57-
EndpointBuilder,
58-
EndpointDefinition,
5929
EndpointDefinitions,
30+
EndpointDefinition,
31+
EndpointBuilder,
32+
QueryDefinition,
33+
MutationDefinition,
34+
MutationExtraOptions,
6035
InfiniteQueryArgFrom,
6136
InfiniteQueryDefinition,
6237
InfiniteQueryExtraOptions,
63-
MutationDefinition,
64-
MutationExtraOptions,
65-
OverrideResultType,
6638
PageParamFrom,
39+
TagDescription,
6740
QueryArgFrom,
68-
QueryDefinition,
6941
QueryExtraOptions,
70-
ResultDescription,
7142
ResultTypeFrom,
72-
TagDescription,
43+
DefinitionType,
44+
DefinitionsFromApi,
45+
OverrideResultType,
46+
ResultDescription,
7347
TagTypesFromApi,
7448
UpdateDefinitions,
7549
} from './endpointDefinitions'
76-
export { _NEVER, fakeBaseQuery } from './fakeBaseQuery'
7750
export { fetchBaseQuery } from './fetchBaseQuery'
7851
export type {
79-
FetchArgs,
8052
FetchBaseQueryArgs,
8153
FetchBaseQueryError,
8254
FetchBaseQueryMeta,
55+
FetchArgs,
8356
} from './fetchBaseQuery'
8457
export { retry } from './retry'
8558
export type { RetryOptions } from './retry'
@@ -91,7 +64,6 @@ export type {
9164
SkipToken,
9265
} from './core/buildSelectors'
9366
export type {
94-
InfiniteQueryActionCreatorResult,
9567
QueryActionCreatorResult,
9668
MutationActionCreatorResult,
9769
StartQueryActionCreatorOptions,
@@ -102,6 +74,11 @@ export { _NEVER, fakeBaseQuery } from './fakeBaseQuery'
10274
export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'
10375
export { createApi, coreModule, coreModuleName } from './core/index'
10476
export type {
77+
InfiniteData,
78+
InfiniteQueryActionCreatorResult,
79+
InfiniteQueryConfigOptions,
80+
InfiniteQueryResultSelectorResult,
81+
InfiniteQuerySubState,
10582
TypedMutationOnQueryStarted,
10683
TypedQueryOnQueryStarted,
10784
} from './core/index'
@@ -121,4 +98,3 @@ export type {
12198
NoInfer as TSHelpersNoInfer,
12299
Override as TSHelpersOverride,
123100
} from './tsHelpers'
124-
export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'

0 commit comments

Comments
 (0)