2023-06-11 17:18:44 +02:00
|
|
|
"use strict";
|
|
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
|
|
};
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.packRoutes = void 0;
|
|
|
|
const express_1 = __importDefault(require("express"));
|
|
|
|
const pack_api_1 = __importDefault(require("../pack_api"));
|
|
|
|
const pack_upload_1 = __importDefault(require("../pack_upload"));
|
|
|
|
exports.packRoutes = express_1.default.Router();
|
|
|
|
exports.packRoutes.get("/packs", pack_api_1.default.getPacks);
|
|
|
|
exports.packRoutes.get("/getpack", pack_api_1.default.downloadSinglePack);
|
|
|
|
exports.packRoutes.post("/upload", pack_upload_1.default.uploadPack);
|