"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.endpointsRouter = void 0;
const endpoint_controller_1 = require("../controllers/endpoint.controller");
const endpoint_validator_1 = require("../validators/endpoint.validator");
const abstract_route_1 = require("./abstract.route");
const express = require("express");
const router = express.Router();
const controller = new endpoint_controller_1.EndpointsController();
class EndpointsRoute extends abstract_route_1.AbstractRoute {
    constructor(_controller, _router) {
        super(_controller, _router, new endpoint_validator_1.EndpointsValidator(), [
            "getItem",
            "getItems",
            "createItem",
            "deleteItem",
        ]);
    }
}
exports.endpointsRouter = new EndpointsRoute(controller, router).init();
