import "reflect-metadata"; import { App } from "./core/controllers/app"; import { TriggerPresentation } from "./features/triggers/triggers_presentation"; import { ProjectsPresentation } from "./features/projects/projects_presentation"; import { FunctionsPresentation } from "./features/functions/functions_presentation"; import { CompositionPresentation } from "./features/compositions/compositions_presentation"; import { Routes } from "./core/interfaces/router"; import { Container, Service } from 'typedi'; const httpRoutes: Routes[] = [ new TriggerPresentation(), new ProjectsPresentation(), new FunctionsPresentation(), new CompositionPresentation(), ].map((el) => el.call()); const computedFolder = ""; new App(httpRoutes, computedFolder).listen();