You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
540 B

  1. export const BUNDLE_FETCH_REQUEST = 'BUNDLE_FETCH_REQUEST';
  2. export const BUNDLE_FETCH_SUCCESS = 'BUNDLE_FETCH_SUCCESS';
  3. export const BUNDLE_FETCH_FAIL = 'BUNDLE_FETCH_FAIL';
  4. export function fetchBundleRequest(skipLoading) {
  5. return {
  6. type: BUNDLE_FETCH_REQUEST,
  7. skipLoading,
  8. };
  9. }
  10. export function fetchBundleSuccess(skipLoading) {
  11. return {
  12. type: BUNDLE_FETCH_SUCCESS,
  13. skipLoading,
  14. };
  15. }
  16. export function fetchBundleFail(error, skipLoading) {
  17. return {
  18. type: BUNDLE_FETCH_FAIL,
  19. error,
  20. skipLoading,
  21. };
  22. }