| 1 | // This must remain here so that the `mangleErrors.cjs` build script
|
|---|
| 2 | // does not have to import this into each source file it rewrites.
|
|---|
| 3 | import { formatProdErrorMessage } from '@reduxjs/toolkit'
|
|---|
| 4 |
|
|---|
| 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'
|
|---|
| 14 | export type { Api, ApiContext, Module } from './apiTypes'
|
|---|
| 15 |
|
|---|
| 16 | export type {
|
|---|
| 17 | BaseQueryApi,
|
|---|
| 18 | BaseQueryArg,
|
|---|
| 19 | BaseQueryEnhancer,
|
|---|
| 20 | BaseQueryError,
|
|---|
| 21 | BaseQueryExtraOptions,
|
|---|
| 22 | BaseQueryFn,
|
|---|
| 23 | BaseQueryMeta,
|
|---|
| 24 | BaseQueryResult,
|
|---|
| 25 | QueryReturnValue,
|
|---|
| 26 | } from './baseQueryTypes'
|
|---|
| 27 | export type {
|
|---|
| 28 | BaseEndpointDefinition,
|
|---|
| 29 | EndpointDefinitions,
|
|---|
| 30 | EndpointDefinition,
|
|---|
| 31 | EndpointBuilder,
|
|---|
| 32 | QueryDefinition,
|
|---|
| 33 | MutationDefinition,
|
|---|
| 34 | MutationExtraOptions,
|
|---|
| 35 | InfiniteQueryArgFrom,
|
|---|
| 36 | InfiniteQueryDefinition,
|
|---|
| 37 | InfiniteQueryExtraOptions,
|
|---|
| 38 | PageParamFrom,
|
|---|
| 39 | TagDescription,
|
|---|
| 40 | QueryArgFrom,
|
|---|
| 41 | QueryExtraOptions,
|
|---|
| 42 | ResultTypeFrom,
|
|---|
| 43 | DefinitionType,
|
|---|
| 44 | DefinitionsFromApi,
|
|---|
| 45 | OverrideResultType,
|
|---|
| 46 | ResultDescription,
|
|---|
| 47 | TagTypesFromApi,
|
|---|
| 48 | UpdateDefinitions,
|
|---|
| 49 | SchemaFailureHandler,
|
|---|
| 50 | SchemaFailureConverter,
|
|---|
| 51 | SchemaFailureInfo,
|
|---|
| 52 | SchemaType,
|
|---|
| 53 | } from './endpointDefinitions'
|
|---|
| 54 | export { fetchBaseQuery } from './fetchBaseQuery'
|
|---|
| 55 | export type {
|
|---|
| 56 | FetchBaseQueryArgs,
|
|---|
| 57 | FetchBaseQueryError,
|
|---|
| 58 | FetchBaseQueryMeta,
|
|---|
| 59 | FetchArgs,
|
|---|
| 60 | } from './fetchBaseQuery'
|
|---|
| 61 | export { retry } from './retry'
|
|---|
| 62 | export type { RetryOptions } from './retry'
|
|---|
| 63 | export { setupListeners } from './core/setupListeners'
|
|---|
| 64 | export { skipToken } from './core/buildSelectors'
|
|---|
| 65 | export type {
|
|---|
| 66 | QueryResultSelectorResult,
|
|---|
| 67 | MutationResultSelectorResult,
|
|---|
| 68 | SkipToken,
|
|---|
| 69 | } from './core/buildSelectors'
|
|---|
| 70 | export type {
|
|---|
| 71 | QueryActionCreatorResult,
|
|---|
| 72 | MutationActionCreatorResult,
|
|---|
| 73 | StartQueryActionCreatorOptions,
|
|---|
| 74 | } from './core/buildInitiate'
|
|---|
| 75 | export type { CreateApi, CreateApiOptions } from './createApi'
|
|---|
| 76 | export { buildCreateApi } from './createApi'
|
|---|
| 77 | export { _NEVER, fakeBaseQuery } from './fakeBaseQuery'
|
|---|
| 78 | export { copyWithStructuralSharing } from './utils/copyWithStructuralSharing'
|
|---|
| 79 | export { createApi, coreModule, coreModuleName } from './core/index'
|
|---|
| 80 | export type {
|
|---|
| 81 | InfiniteData,
|
|---|
| 82 | InfiniteQueryActionCreatorResult,
|
|---|
| 83 | InfiniteQueryConfigOptions,
|
|---|
| 84 | InfiniteQueryResultSelectorResult,
|
|---|
| 85 | InfiniteQuerySubState,
|
|---|
| 86 | TypedMutationOnQueryStarted,
|
|---|
| 87 | TypedQueryOnQueryStarted,
|
|---|
| 88 | } from './core/index'
|
|---|
| 89 | export type {
|
|---|
| 90 | ApiEndpointMutation,
|
|---|
| 91 | ApiEndpointQuery,
|
|---|
| 92 | ApiEndpointInfiniteQuery,
|
|---|
| 93 | ApiModules,
|
|---|
| 94 | CoreModule,
|
|---|
| 95 | PrefetchOptions,
|
|---|
| 96 | } from './core/module'
|
|---|
| 97 | export { defaultSerializeQueryArgs } from './defaultSerializeQueryArgs'
|
|---|
| 98 | export type { SerializeQueryArgs } from './defaultSerializeQueryArgs'
|
|---|
| 99 |
|
|---|
| 100 | export type {
|
|---|
| 101 | Id as TSHelpersId,
|
|---|
| 102 | NoInfer as TSHelpersNoInfer,
|
|---|
| 103 | Override as TSHelpersOverride,
|
|---|
| 104 | } from './tsHelpers'
|
|---|
| 105 |
|
|---|
| 106 | export { NamedSchemaError } from './standardSchema'
|
|---|