@reduxjs/toolkit
Version:
The official, opinionated, batteries-included toolset for efficient Redux development
31 lines (30 loc) • 2.69 kB
TypeScript
export * from 'redux';
export { default as createNextState, current, freeze, original, isDraft, } from 'immer';
export type { Draft } from 'immer';
export { createSelector } from 'reselect';
export type { Selector, OutputParametricSelector, OutputSelector, ParametricSelector, } from 'reselect';
export { createDraftSafeSelector } from './createDraftSafeSelector';
export type { ThunkAction, ThunkDispatch } from 'redux-thunk';
export { configureStore, } from './configureStore';
export type { ConfigureEnhancersCallback, ConfigureStoreOptions, EnhancedStore, } from './configureStore';
export { createAction, getType, } from './createAction';
export type { PayloadAction, PayloadActionCreator, ActionCreatorWithNonInferrablePayload, ActionCreatorWithOptionalPayload, ActionCreatorWithPayload, ActionCreatorWithoutPayload, ActionCreatorWithPreparedPayload, PrepareAction, } from './createAction';
export { createReducer, } from './createReducer';
export type { Actions, CaseReducer, CaseReducers, } from './createReducer';
export { createSlice, } from './createSlice';
export type { CreateSliceOptions, Slice, CaseReducerActions, SliceCaseReducers, ValidateSliceCaseReducers, CaseReducerWithPrepare, SliceActionCreator, } from './createSlice';
export { createImmutableStateInvariantMiddleware, isImmutableDefault, } from './immutableStateInvariantMiddleware';
export type { ImmutableStateInvariantMiddlewareOptions, } from './immutableStateInvariantMiddleware';
export { createSerializableStateInvariantMiddleware, findNonSerializableValue, isPlain, } from './serializableStateInvariantMiddleware';
export type { SerializableStateInvariantMiddlewareOptions, } from './serializableStateInvariantMiddleware';
export { getDefaultMiddleware, } from './getDefaultMiddleware';
export type { ActionReducerMapBuilder, } from './mapBuilders';
export { MiddlewareArray } from './utils';
export { createEntityAdapter } from './entities/create_adapter';
export type { Dictionary, EntityState, EntityAdapter, EntitySelectors, EntityStateAdapter, EntityId, Update, IdSelector, Comparer, } from './entities/models';
export { createAsyncThunk, unwrapResult, miniSerializeError, } from './createAsyncThunk';
export type { AsyncThunk, AsyncThunkOptions, AsyncThunkAction, AsyncThunkPayloadCreatorReturnValue, AsyncThunkPayloadCreator, SerializedError, } from './createAsyncThunk';
export { isAllOf, isAnyOf, isPending, isRejected, isFulfilled, isAsyncThunkAction, isRejectedWithValue, } from './matchers';
export type { ActionMatchingAllOf, ActionMatchingAnyOf, } from './matchers';
export { nanoid } from './nanoid';
export { default as isPlainObject } from './isPlainObject';