@equinor/fusion-observable
Version:
32 lines (28 loc) • 809 B
text/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';