@equinor/fusion-observable
Version:
14 lines (13 loc) • 780 B
TypeScript
/**
* Barrel module that re-exports all action-related utilities and types.
*
* Import from `@equinor/fusion-observable/actions` to access action
* creators, async-action helpers, and action type definitions.
*
* @module actions
*/
export * from './ActionError';
export * from './types/actions.js';
export { actionMapper, type ActionCalls } from './action-mapper.js';
export { createAction, getBaseType, type ActionCreatorWithNonInferrablePayload, type ActionCreatorWithoutPayload, type ActionCreatorWithPayload, type ActionCreatorWithOptionalPayload, type ActionCreatorWithPreparedPayload, type PayloadActionCreator, } from './create-action';
export { createAsyncAction, isRequestAction, isCompleteAction, isFailureAction, isSuccessAction, } from './create-async-action';