import * as types from './actionTypes' ; export const createStream = ( id ) => ( { type : types . CREATE_STREAM , payload : id , } ) ; export const logMessage = ( id , message ) => ( { type : types . LOG_MESSAGE , payload : { id , message } , } ) ;