feat(datamart): initial get active query migrated
This commit is contained in:
13
server/services/dataMart/dataMartService.ts
Normal file
13
server/services/dataMart/dataMartService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { OpenAPIHono } from "@hono/zod-openapi";
|
||||
|
||||
import getArticles from "./route/getActiveArticles.js";
|
||||
|
||||
const app = new OpenAPIHono();
|
||||
|
||||
const routes = [getArticles] as const;
|
||||
|
||||
const appRoutes = routes.forEach((route) => {
|
||||
app.route("/datamart", route);
|
||||
});
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user