import { validators } from '@jvalue/node-dry-basics' ; export interface PipelineSuccessEvent { pipelineId : number ; pipelineName : string ; data : Record < string , unknown > ; schema ? : Record < string , unknown > ; } returns export function isValidPipelineSuccessEvent ( event ) { return ( validators . isObject ( event ) && validators . hasProperty ( event , 'pipelineId' ) && validators . hasProperty ( event , 'pipelineName' ) && validators . hasProperty ( event , 'data' ) ) ; }