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'
43
5- export type {
6- CombinedState ,
7- InfiniteData ,
8- InfiniteQueryConfigOptions ,
9- QueryCacheKey ,
10- QueryKeys ,
11- QuerySubState ,
12- RootState ,
13- SubscriptionOptions ,
14- } from './core/apiState'
15- export { QueryStatus } from './core/apiState'
164export type { Api , ApiContext , Module } from './apiTypes'
17-
185export type {
196 BaseQueryApi ,
207 BaseQueryArg ,
@@ -26,67 +13,78 @@ export type {
2613 BaseQueryResult ,
2714 QueryReturnValue ,
2815} 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+ MutationActionCreatorResult ,
35+ MutationResultSelectorResult ,
36+ PrefetchOptions ,
37+ QueryActionCreatorResult ,
38+ QueryCacheKey ,
39+ QueryKeys ,
40+ QueryResultSelectorResult ,
41+ QuerySubState ,
42+ RootState ,
43+ SkipToken ,
44+ StartQueryActionCreatorOptions ,
45+ SubscriptionOptions ,
46+ } from './core/index'
47+ export type { ApiModules } from './core/module'
48+ export { buildCreateApi } from './createApi'
49+ export type { CreateApi , CreateApiOptions } from './createApi'
50+ export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs'
51+ export type { SerializeQueryArgs } from './defaultSerializeQueryArgs'
2952export type {
3053 BaseEndpointDefinition ,
31- EndpointDefinitions ,
32- EndpointDefinition ,
54+ DefinitionType ,
55+ DefinitionsFromApi ,
3356 EndpointBuilder ,
34- QueryDefinition ,
57+ EndpointDefinition ,
58+ EndpointDefinitions ,
59+ InfiniteQueryArgFrom ,
3560 InfiniteQueryDefinition ,
3661 InfiniteQueryExtraOptions ,
3762 MutationDefinition ,
3863 MutationExtraOptions ,
39- TagDescription ,
64+ OverrideResultType ,
65+ PageParamFrom ,
4066 QueryArgFrom ,
67+ QueryDefinition ,
4168 QueryExtraOptions ,
42- ResultTypeFrom ,
43- DefinitionType ,
44- DefinitionsFromApi ,
45- OverrideResultType ,
4669 ResultDescription ,
70+ ResultTypeFrom ,
71+ TagDescription ,
4772 TagTypesFromApi ,
4873 UpdateDefinitions ,
4974} from './endpointDefinitions'
75+ export { _NEVER , fakeBaseQuery } from './fakeBaseQuery'
5076export { fetchBaseQuery } from './fetchBaseQuery'
5177export type {
78+ FetchArgs ,
5279 FetchBaseQueryArgs ,
5380 FetchBaseQueryError ,
5481 FetchBaseQueryMeta ,
55- FetchArgs ,
5682} from './fetchBaseQuery'
5783export { retry } from './retry'
5884export type { RetryOptions } from './retry'
59- export { setupListeners } from './core/setupListeners'
60- export { skipToken } from './core/buildSelectors'
61- export type {
62- QueryResultSelectorResult ,
63- MutationResultSelectorResult ,
64- SkipToken ,
65- } from './core/buildSelectors'
66- export type {
67- InfiniteQueryActionCreatorResult ,
68- QueryActionCreatorResult ,
69- MutationActionCreatorResult ,
70- StartQueryActionCreatorOptions ,
71- } from './core/buildInitiate'
72- export type { CreateApi , CreateApiOptions } from './createApi'
73- export { buildCreateApi } from './createApi'
74- export { _NEVER , fakeBaseQuery } from './fakeBaseQuery'
75- export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'
76- export { createApi , coreModule , coreModuleName } from './core'
77- export type {
78- ApiEndpointMutation ,
79- ApiEndpointQuery ,
80- ApiEndpointInfiniteQuery ,
81- ApiModules ,
82- CoreModule ,
83- PrefetchOptions ,
84- } from './core/module'
85- export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs'
86- export type { SerializeQueryArgs } from './defaultSerializeQueryArgs'
87-
8885export type {
8986 Id as TSHelpersId ,
9087 NoInfer as TSHelpersNoInfer ,
9188 Override as TSHelpersOverride ,
9289} from './tsHelpers'
90+ export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'
0 commit comments