2023-04-21 14:55:10 +02:00
|
|
|
import express from 'express'
|
|
|
|
import { runnerJobsRouter } from './jobs'
|
|
|
|
import { runnerJobFilesRouter } from './jobs-files'
|
|
|
|
import { manageRunnersRouter } from './manage-runners'
|
|
|
|
import { runnerRegistrationTokensRouter } from './registration-tokens'
|
|
|
|
|
|
|
|
const runnersRouter = express.Router()
|
|
|
|
|
2023-06-20 14:17:34 +02:00
|
|
|
// No api route limiter here, they are defined in child routers
|
|
|
|
|
2023-04-21 14:55:10 +02:00
|
|
|
runnersRouter.use('/', manageRunnersRouter)
|
|
|
|
runnersRouter.use('/', runnerJobsRouter)
|
|
|
|
runnersRouter.use('/', runnerJobFilesRouter)
|
|
|
|
runnersRouter.use('/', runnerRegistrationTokensRouter)
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export {
|
|
|
|
runnersRouter
|
|
|
|
}
|