import express from "express"; import { WebTypeStandardController } from "../controllers/webTypeStandardController"; import { ButtonActionStandardController } from "../controllers/buttonActionStandardController"; import { authenticateToken } from "../middleware/authMiddleware"; const router = express.Router(); // 모든 라우트에 인증 미들웨어 적용 router.use(authenticateToken); // 화면관리에서 사용할 조회 전용 API router.get("/web-types", WebTypeStandardController.getWebTypes); router.get( "/web-types/categories", WebTypeStandardController.getWebTypeCategories ); router.get("/button-actions", ButtonActionStandardController.getButtonActions); router.get( "/button-actions/categories", ButtonActionStandardController.getButtonActionCategories ); export default router;