import { SavedObjectsPitParams } from '../../../types' ; export function getPitParams ( pit ) { return { pit : { id : pit . id , ... ( pit . keepAlive ? { keep_alive : pit . keepAlive } : { } ) , } , } ; }