index.d.ts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. export * from 'redux';
  2. export { default as createNextState, current, freeze, original, isDraft, } from 'immer';
  3. export type { Draft } from 'immer';
  4. export { createSelector } from 'reselect';
  5. export type { Selector, OutputParametricSelector, OutputSelector, ParametricSelector, } from 'reselect';
  6. export { createDraftSafeSelector } from './createDraftSafeSelector';
  7. export type { ThunkAction, ThunkDispatch, ThunkMiddleware } from 'redux-thunk';
  8. export { configureStore, } from './configureStore';
  9. export type { ConfigureEnhancersCallback, ConfigureStoreOptions, EnhancedStore, } from './configureStore';
  10. export type { DevToolsEnhancerOptions } from './devtoolsExtension';
  11. export { createAction, getType, isAction, isActionCreator, isFSA as isFluxStandardAction, } from './createAction';
  12. export type { PayloadAction, PayloadActionCreator, ActionCreatorWithNonInferrablePayload, ActionCreatorWithOptionalPayload, ActionCreatorWithPayload, ActionCreatorWithoutPayload, ActionCreatorWithPreparedPayload, PrepareAction, } from './createAction';
  13. export { createReducer, } from './createReducer';
  14. export type { Actions, CaseReducer, CaseReducers, } from './createReducer';
  15. export { createSlice, } from './createSlice';
  16. export type { CreateSliceOptions, Slice, CaseReducerActions, SliceCaseReducers, ValidateSliceCaseReducers, CaseReducerWithPrepare, SliceActionCreator, } from './createSlice';
  17. export type { ActionCreatorInvariantMiddlewareOptions } from './actionCreatorInvariantMiddleware';
  18. export { createActionCreatorInvariantMiddleware } from './actionCreatorInvariantMiddleware';
  19. export { createImmutableStateInvariantMiddleware, isImmutableDefault, } from './immutableStateInvariantMiddleware';
  20. export type { ImmutableStateInvariantMiddlewareOptions, } from './immutableStateInvariantMiddleware';
  21. export { createSerializableStateInvariantMiddleware, findNonSerializableValue, isPlain, } from './serializableStateInvariantMiddleware';
  22. export type { SerializableStateInvariantMiddlewareOptions, } from './serializableStateInvariantMiddleware';
  23. export { getDefaultMiddleware, } from './getDefaultMiddleware';
  24. export type { ActionReducerMapBuilder, } from './mapBuilders';
  25. export { MiddlewareArray, EnhancerArray } from './utils';
  26. export { createEntityAdapter } from './entities/create_adapter';
  27. export type { Dictionary, EntityState, EntityAdapter, EntitySelectors, EntityStateAdapter, EntityId, Update, IdSelector, Comparer, } from './entities/models';
  28. export { createAsyncThunk, unwrapResult, miniSerializeError, } from './createAsyncThunk';
  29. export type { AsyncThunk, AsyncThunkOptions, AsyncThunkAction, AsyncThunkPayloadCreatorReturnValue, AsyncThunkPayloadCreator, SerializedError, } from './createAsyncThunk';
  30. export { isAllOf, isAnyOf, isPending, isRejected, isFulfilled, isAsyncThunkAction, isRejectedWithValue, } from './matchers';
  31. export type { ActionMatchingAllOf, ActionMatchingAnyOf, } from './matchers';
  32. export { nanoid } from './nanoid';
  33. export { default as isPlainObject } from './isPlainObject';
  34. export 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';
  35. export type { AnyListenerPredicate } from './listenerMiddleware/types';
  36. export { createListenerMiddleware, addListener, removeListener, clearAllListeners, TaskAbortError, } from './listenerMiddleware/index';
  37. export { SHOULD_AUTOBATCH, prepareAutoBatched, autoBatchEnhancer, } from './autoBatchEnhancer';
  38. export type { AutoBatchOptions } from './autoBatchEnhancer';
  39. export type { ExtractDispatchExtensions as TSHelpersExtractDispatchExtensions } from './tsHelpers';