Initial import NDC_1C

This commit is contained in:
2026-03-26 10:38:25 +03:00
commit a162d77ef7
2943 changed files with 3615871 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildNormalizeRouter = buildNormalizeRouter;
const express_1 = require("express");
const http_1 = require("../utils/http");
function buildNormalizeRouter(services) {
const router = (0, express_1.Router)();
router.post("/api/normalize", async (req, res, next) => {
try {
const payload = req.body;
const result = await services.normalizerService.normalize(payload);
(0, http_1.ok)(res, result);
}
catch (error) {
next(error);
}
});
return router;
}