2020-05-07 11:53:34 +02:00
|
|
|
const Router = require("@koa/router")
|
|
|
|
const controller = require("../controllers/component")
|
2020-05-02 16:29:10 +02:00
|
|
|
|
2020-05-07 11:53:34 +02:00
|
|
|
const router = Router()
|
2020-05-02 16:29:10 +02:00
|
|
|
|
2020-05-07 11:53:34 +02:00
|
|
|
router.get(
|
|
|
|
"/:clientId/:appId/components/definitions",
|
|
|
|
controller.fetchAppComponentDefinitions
|
|
|
|
)
|
2020-05-02 16:29:10 +02:00
|
|
|
|
2020-05-07 11:53:34 +02:00
|
|
|
module.exports = router
|