import { ServerRoute } from '@hapi/hapi' ; import { routes as gitlab } from './gitlab' ; import { routes as github } from './github' ; import { Config } from '../config' ; export const routes = ( config ) : ServerRoute [ ] => { return [ ... github ( config ) , ... gitlab ( config ) ] ; } ;