gab-social/app/javascript/gabsocial/actions/bundles.js

20 lines
490 B
JavaScript
Raw Normal View History

2020-11-15 18:48:32 +00:00
export const BUNDLE_FETCH_REQUEST = 'BUNDLE_FETCH_REQUEST'
export const BUNDLE_FETCH_SUCCESS = 'BUNDLE_FETCH_SUCCESS'
export const BUNDLE_FETCH_FAIL = 'BUNDLE_FETCH_FAIL'
2019-07-02 08:10:25 +01:00
2020-11-15 18:48:32 +00:00
export const fetchBundleRequest = (skipLoading) => ({
type: BUNDLE_FETCH_REQUEST,
skipLoading,
})
2019-07-02 08:10:25 +01:00
2020-11-15 18:48:32 +00:00
export const fetchBundleSuccess = (skipLoading) => ({
type: BUNDLE_FETCH_SUCCESS,
skipLoading,
})
2019-07-02 08:10:25 +01:00
2020-11-15 18:48:32 +00:00
export const fetchBundleFail = (error, skipLoading) => ({
type: BUNDLE_FETCH_FAIL,
error,
skipLoading,
})