9 lines
250 B
JavaScript
9 lines
250 B
JavaScript
|
const Router = require("@koa/router");
|
||
|
const controller = require("../../controllers/component");
|
||
|
|
||
|
const router = Router();
|
||
|
|
||
|
router
|
||
|
.get("/:clientId/:appId/components/definitions", controller.fetchAppComponentDefinitions);
|
||
|
|
||
|
module.exports = router;
|