2023-10-26 17:44:54 +03:00
|
|
|
import "reflect-metadata";
|
|
|
|
import { App } from "./core/controllers/app";
|
2023-10-27 21:22:48 +03:00
|
|
|
import { Routes } from "./core/interfaces/router";
|
2023-10-26 17:44:54 +03:00
|
|
|
import { TriggerPresentation } from "./features/triggers/triggers_presentation";
|
|
|
|
import { ProjectsPresentation } from "./features/projects/projects_presentation";
|
2023-10-27 21:22:48 +03:00
|
|
|
import { PipelinePresentation } from "./features/pipelines/pipeline_presentation";
|
|
|
|
import { ProcessPresentation } from "./features/process/process_presentation";
|
2023-10-31 09:03:41 +03:00
|
|
|
|
2023-10-26 17:44:54 +03:00
|
|
|
|
|
|
|
const httpRoutes: Routes[] = [
|
|
|
|
new TriggerPresentation(),
|
|
|
|
new ProjectsPresentation(),
|
2023-10-27 21:22:48 +03:00
|
|
|
new ProcessPresentation(),
|
|
|
|
new PipelinePresentation(),
|
2023-10-26 17:44:54 +03:00
|
|
|
].map((el) => el.call());
|
|
|
|
|
|
|
|
const computedFolder = "";
|
|
|
|
|
|
|
|
new App(httpRoutes, computedFolder).listen();
|
2023-10-31 09:03:41 +03:00
|
|
|
|
|
|
|
|