UNPKG

4.2 kBTypeScriptView Raw
1export * from 'redux';
2export { produce as createNextState, current, freeze, original, isDraft, } from 'immer';
3export type { Draft } from 'immer';
4export { createSelector, createSelectorCreator, lruMemoize, weakMapMemoize, } from 'reselect';
5export type { Selector, OutputSelector } from 'reselect';
6export { createDraftSafeSelector, createDraftSafeSelectorCreator, } from './createDraftSafeSelector';
7export type { ThunkAction, ThunkDispatch, ThunkMiddleware } from 'redux-thunk';
8export { configureStore, } from './configureStore';
9export type { ConfigureStoreOptions, EnhancedStore, } from './configureStore';
10export type { DevToolsEnhancerOptions } from './devtoolsExtension';
11export { createAction, isActionCreator, isFSA as isFluxStandardAction, } from './createAction';
12export type { PayloadAction, PayloadActionCreator, ActionCreatorWithNonInferrablePayload, ActionCreatorWithOptionalPayload, ActionCreatorWithPayload, ActionCreatorWithoutPayload, ActionCreatorWithPreparedPayload, PrepareAction, } from './createAction';
13export { createReducer, } from './createReducer';
14export type { Actions, CaseReducer, CaseReducers, } from './createReducer';
15export { createSlice, buildCreateSlice, asyncThunkCreator, ReducerType, } from './createSlice';
16export type { CreateSliceOptions, Slice, CaseReducerActions, SliceCaseReducers, ValidateSliceCaseReducers, CaseReducerWithPrepare, ReducerCreators, SliceSelectors, } from './createSlice';
17export type { ActionCreatorInvariantMiddlewareOptions } from './actionCreatorInvariantMiddleware';
18export { createActionCreatorInvariantMiddleware } from './actionCreatorInvariantMiddleware';
19export { createImmutableStateInvariantMiddleware, isImmutableDefault, } from './immutableStateInvariantMiddleware';
20export type { ImmutableStateInvariantMiddlewareOptions, } from './immutableStateInvariantMiddleware';
21export { createSerializableStateInvariantMiddleware, findNonSerializableValue, isPlain, } from './serializableStateInvariantMiddleware';
22export type { SerializableStateInvariantMiddlewareOptions, } from './serializableStateInvariantMiddleware';
23export type { ActionReducerMapBuilder, } from './mapBuilders';
24export { Tuple } from './utils';
25export { createEntityAdapter } from './entities/create_adapter';
26export type { EntityState, EntityAdapter, EntitySelectors, EntityStateAdapter, EntityId, Update, IdSelector, Comparer, } from './entities/models';
27export { createAsyncThunk, unwrapResult, miniSerializeError, } from './createAsyncThunk';
28export type { AsyncThunk, AsyncThunkOptions, AsyncThunkAction, AsyncThunkPayloadCreatorReturnValue, AsyncThunkPayloadCreator, SerializedError, } from './createAsyncThunk';
29export { isAllOf, isAnyOf, isPending, isRejected, isFulfilled, isAsyncThunkAction, isRejectedWithValue, } from './matchers';
30export type { ActionMatchingAllOf, ActionMatchingAnyOf, } from './matchers';
31export { nanoid } from './nanoid';
32export type { ListenerEffect, ListenerMiddleware, ListenerEffectAPI, ListenerMiddlewareInstance, CreateListenerMiddlewareOptions, ListenerErrorHandler, TypedStartListening, TypedAddListener, TypedStopListening, TypedRemoveListener, UnsubscribeListener, UnsubscribeListenerOptions, ForkedTaskExecutor, ForkedTask, ForkedTaskAPI, AsyncTaskExecutor, SyncTaskExecutor, TaskCancelled, TaskRejected, TaskResolved, TaskResult, } from './listenerMiddleware/index';
33export type { AnyListenerPredicate } from './listenerMiddleware/types';
34export { createListenerMiddleware, addListener, removeListener, clearAllListeners, TaskAbortError, } from './listenerMiddleware/index';
35export type { DynamicMiddlewareInstance, GetDispatch, GetState, MiddlewareApiConfig, } from './dynamicMiddleware/types';
36export { createDynamicMiddleware } from './dynamicMiddleware/index';
37export { SHOULD_AUTOBATCH, prepareAutoBatched, autoBatchEnhancer, } from './autoBatchEnhancer';
38export type { AutoBatchOptions } from './autoBatchEnhancer';
39export { combineSlices } from './combineSlices';
40export type { WithSlice } from './combineSlices';
41export type { ExtractDispatchExtensions as TSHelpersExtractDispatchExtensions, SafePromise, } from './tsHelpers';
42export { formatProdErrorMessage } from './formatProdErrorMessage';