2023-12-19 21:10:58 +03:00
|
|
|
import { NixStoreManagerPresentation } from "../../features/nix_store_manager/nix_store_manager";
|
|
|
|
import { PipelinePresentation } from "../../features/pipelines/pipeline_presentation";
|
|
|
|
import { ProcessPresentation } from "../../features/process/process_presentation";
|
2024-01-23 17:23:10 +03:00
|
|
|
import {
|
|
|
|
ProjectInstancePresentation,
|
|
|
|
RobossemblerAssetsPresentation,
|
|
|
|
} from "../../features/project_instance/project_instance_presentation";
|
2023-12-19 21:10:58 +03:00
|
|
|
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(),
|
2024-01-23 17:23:10 +03:00
|
|
|
new RobossemblerAssetsPresentation(),
|
2023-12-19 21:10:58 +03:00
|
|
|
]
|
|
|
|
.concat(routersImplementPureCrud)
|
|
|
|
.map((el) => el.call());
|