2017-08-13 01:35:09 +00:00
|
|
|
import * as types from '../constants/types';
|
2017-08-21 03:00:41 +00:00
|
|
|
import { APP } from './actionsTypes';
|
2017-08-13 01:35:09 +00:00
|
|
|
|
2017-08-21 03:00:41 +00:00
|
|
|
export function appReady() {
|
|
|
|
return {
|
|
|
|
type: APP.READY
|
|
|
|
};
|
|
|
|
}
|
2017-08-13 01:35:09 +00:00
|
|
|
export function setCurrentServer(server) {
|
|
|
|
return {
|
|
|
|
type: types.SET_CURRENT_SERVER,
|
|
|
|
payload: server
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-08-13 23:02:46 +00:00
|
|
|
export function setAllSettings(settings) {
|
|
|
|
return {
|
|
|
|
type: types.SET_ALL_SETTINGS,
|
|
|
|
payload: settings
|
|
|
|
};
|
2017-08-13 01:35:09 +00:00
|
|
|
}
|
2017-08-16 23:29:12 +00:00
|
|
|
export function login() {
|
|
|
|
return {
|
|
|
|
type: 'LOGIN'
|
|
|
|
};
|
|
|
|
}
|