import { ADD_ISSUE , FETCH_ISSUES } from '../constants/issues' ; import { ADD_LABEL } from '../constants/labels' ; export const add = ( issues ) => ( { payload : issues , type : ADD_ISSUE } ) ; export const addLabels = ( labels ) => ( { payload : labels , type : ADD_LABEL } ) ; export const fetchIssues = ( repoId , page ? ) => ( { type : FETCH_ISSUES , repoId , page } ) ;