import "reflect-metadata"; import { App } from "./core/controllers/app"; import { Routes } from "./core/interfaces/router"; import { TriggerPresentation } from "./features/triggers/triggers_presentation"; import { ProjectsPresentation } from "./features/projects/projects_presentation"; import { PipelinePresentation } from "./features/pipelines/pipeline_presentation"; import { ProcessPresentation } from "./features/process/process_presentation"; const httpRoutes: Routes[] = [ new TriggerPresentation(), new ProjectsPresentation(), new ProcessPresentation(), new PipelinePresentation(), ].map((el) => el.call()); const computedFolder = ""; new App(httpRoutes, computedFolder).listen();