import { createRequestTypes, actionCreators, action } from '../../actions';

export const FETCH_USERS = createRequestTypes('FETCH_USERS');
export const fetchUsers = actionCreators(FETCH_USERS);

export const USER_LOGIN = createRequestTypes('USER_LOGIN');
export const userLogin = actionCreators(USER_LOGIN);

export const CREATE_USER = createRequestTypes('CREATE_USER');
export const createUser = actionCreators(CREATE_USER);

export const EDIT_USER = createRequestTypes('EDIT_USER');
export const editUser = actionCreators(EDIT_USER);

export const ADD_TRUST = createRequestTypes('ADD_TRUST');
export const addTrust = actionCreators(ADD_TRUST);

export const REVOKE_TRUST = createRequestTypes('REVOKE_TRUST');
export const revokeTrust = actionCreators(REVOKE_TRUST);

export const ADD_WATCH = createRequestTypes('ADD_WATCH');
export const addWatch = actionCreators(ADD_WATCH);

export const REVOKE_WATCH = createRequestTypes('REVOKE_WATCH');
export const revokeWatch = actionCreators(REVOKE_WATCH);

export const ADD_SUPPORT = createRequestTypes('ADD_SUPPORT');
export const addSupport = actionCreators(ADD_SUPPORT);

export const REVOKE_SUPPORT = createRequestTypes('REVOKE_SUPPORT');
export const revokeSupport = actionCreators(REVOKE_SUPPORT);

export const SET_SNACKBAR = 'SET_SNACKBAR';
export const setSnackbar = (toast) => action(SET_SNACKBAR, { toast });

export const REMOVE_TOAST = 'REMOVE_TOAST';
export const removeToast = () => action(REMOVE_TOAST);

@@ -74,1180 +74,8 @@
 ';%0A%0A
-export const FETCH_USERS = createRequestTypes('FETCH_USERS');%0Aexport const fetchUsers = actionCreators(FETCH_USERS);%0A%0Aexport const USER_LOGIN = createRequestTypes('USER_LOGIN');%0Aexport const userLogin = actionCreators(USER_LOGIN);%0A%0Aexport const CREATE_USER = createRequestTypes('CREATE_USER');%0Aexport const createUser = actionCreators(CREATE_USER);%0A%0Aexport const EDIT_USER = createRequestTypes('EDIT_USER');%0Aexport const editUser = actionCreators(EDIT_USER);%0A%0Aexport const ADD_TRUST = createRequestTypes('ADD_TRUST');%0Aexport const addTrust = actionCreators(ADD_TRUST);%0A%0Aexport const REVOKE_TRUST = createRequestTypes('REVOKE_TRUST');%0Aexport const revokeTrust = actionCreators(REVOKE_TRUST);%0A%0Aexport const ADD_WATCH = createRequestTypes('ADD_WATCH');%0Aexport const addWatch = actionCreators(ADD_WATCH);%0A%0Aexport const REVOKE_WATCH = createRequestTypes('REVOKE_WATCH');%0Aexport const revokeWatch = actionCreators(REVOKE_WATCH);%0A%0Aexport const ADD_SUPPORT = createRequestTypes('ADD_SUPPORT');%0Aexport const addSupport = actionCreators(ADD_SUPPORT);%0A%0Aexport const REVOKE_SUPPORT = createRequestTypes('REVOKE_SUPPORT');%0Aexport const revokeSupport = actionCreators(REVOKE_SUPPORT);%0A%0A
 expo

Move user profile actions out of core