import { ReportingCore } from '..' ; import { LevelLogger } from '../lib' ; import { registerDeprecationsRoutes } from './deprecations/deprecations' ; import { registerDiagnosticRoutes } from './diagnostic' ; import { registerGenerateCsvFromSavedObjectImmediate , registerJobGenerationRoutes , } from './generate' ; import { registerJobInfoRoutes } from './management' ; export function registerRoutes ( reporting , logger ) { registerDeprecationsRoutes ( reporting , logger ) ; registerDiagnosticRoutes ( reporting , logger ) ; registerGenerateCsvFromSavedObjectImmediate ( reporting , logger ) ; registerJobGenerationRoutes ( reporting , logger ) ; registerJobInfoRoutes ( reporting ) ; }