import uuid from 'uuid/v4' ; import { IHistory } from './types' ; export const createHistory = ( props = { } ) : IHistory => ( { id : uuid ( ) , email : 'local@quix.com' , query : [ ] , moduleType : 'presto' , startedAt : '' , ... props } ) ;