export const PROJECT_USER_LIST = 'PROJECT_USER_LIST'; export const PROJECT_USER_LIST_SUCCESS = 'PROJECT_USER_LIST_SUCCESS'; export const PROJECT_USER_LIST_FAILURE = 'PROJECT_USER_LIST_FAILURE'; export function projectUserListRequest() { return { type: PROJECT_USER_LIST} } export function projectUserListSuccess(projects) { return { type: PROJECT_USER_LIST_SUCCESS, projects } } export function projectUserListFailure(error) { return { type: PROJECT_USER_LIST_FAILURE, error } } export const PROJECT_LIST = 'PROJECT_LIST'; export const PROJECT_LIST_SUCCESS = 'PROJECT_LIST_SUCCESS'; export const PROJECT_LIST_FAILURE = 'PROJECT_LIST_FAILURE'; export function projectList() { return { type: PROJECT_LIST} } export function projectListSuccess(projects) { return { type: PROJECT_LIST_SUCCESS, projects } } export function projectListFailure(error) { return { type: PROJECT_LIST_FAILURE, error } }