import { NixStoreManagerPresentation } from "../../features/nix_store_manager/nix_store_manager"; import { PipelinePresentation } from "../../features/pipelines/pipeline_presentation"; import { ProcessPresentation } from "../../features/process/process_presentation"; import { ProjectInstancePresentation } from "../../features/project_instance/project_instance_presentation"; import { ProjectsPresentation } from "../../features/projects/projects_presentation"; import { RealTimePresentation } from "../../features/realtime/realtime_presentation"; import { TriggerPresentation } from "../../features/triggers/triggers_presentation"; import { extensions } from "../extensions/extensions"; import { Routes } from "../interfaces/router"; extensions(); export const routersImplementPureCrud = [ new TriggerPresentation(), new ProjectsPresentation(), new ProcessPresentation(), new PipelinePresentation(), ]; export const httpRoutes: Routes[] = [ new RealTimePresentation(), new ProjectInstancePresentation(), new NixStoreManagerPresentation(), ] .concat(routersImplementPureCrud) .map((el) => el.call());