import { CoreSetup , Plugin } from 'opensearch-dashboards/server' ; import { registerScriptsRoute } from './route' ; export class ScriptsService implements Plugin < void > { public setup ( { http } ) { registerScriptsRoute ( http . createRouter ( ) ) ; } public start ( ) { } }