import { PipelineSuccessEvent } from './pipelineEvent' ; param event param dataLocation returns export const buildMessage = ( event , dataLocation ) : string => { return ( `Pipeline ${ event . pipelineName } (Pipeline id:${ event . pipelineId }) ` + `has new data available. Fetch at ${ dataLocation }.` ) ; } ;