import { IRouter } from '../../http' ; import { Logger } from '../../logging' ; export const registerLogLegacyImportRoute = ( router , logger ) => { router . post ( { path : '/_log_legacy_import' , validate : false , } , async ( context , req , res ) => { logger . warn ( 'Importing saved objects from a .json file has been deprecated' ) ; return res . ok ( { body : { success : true } } ) ; } ) ; } ;