2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* Export all the available actions
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Auth related actions
|
2016-07-07 23:23:18 +02:00
|
|
|
export * from "./auth";
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
// API related actions for all the available types
|
2016-07-07 23:23:18 +02:00
|
|
|
import APIAction from "./APIActions";
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
// Actions related to API
|
2016-08-05 00:00:25 +02:00
|
|
|
export const API_SUCCESS = "API_SUCCESS";
|
|
|
|
export const API_REQUEST = "API_REQUEST";
|
|
|
|
export const API_FAILURE = "API_FAILURE";
|
2016-08-10 21:36:11 +02:00
|
|
|
export var {
|
|
|
|
loadPaginatedArtists, loadArtist } = APIAction("artists", API_REQUEST, API_SUCCESS, API_FAILURE);
|
|
|
|
export var {
|
|
|
|
loadPaginatedAlbums, loadAlbum } = APIAction("albums", API_REQUEST, API_SUCCESS, API_FAILURE);
|
|
|
|
export var {
|
|
|
|
loadPaginatedSongs, loadSong } = APIAction("songs", API_REQUEST, API_SUCCESS, API_FAILURE);
|
|
|
|
|
|
|
|
// Entities actions
|
|
|
|
export * from "./entities";
|
|
|
|
|
|
|
|
// Paginated views store actions
|
|
|
|
export * from "./paginated";
|
2016-08-01 00:26:52 +02:00
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
// Pagination actions
|
|
|
|
export * from "./pagination";
|
|
|
|
|
|
|
|
// Store actions
|
2016-08-03 15:52:47 +02:00
|
|
|
export * from "./store";
|
2016-08-10 21:36:11 +02:00
|
|
|
|
|
|
|
// Webplayer actions
|
2016-08-07 00:58:36 +02:00
|
|
|
export * from "./webplayer";
|