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