webstudio/server/src/core/controllers/routes.ts

18 lines
767 B
TypeScript
Raw Normal View History

2024-05-13 20:43:11 +03:00
import { BehaviorTreesPresentation } from "../../features/behavior_trees/behavior_trees_presentation";
import { DatasetsPresentation } from "../../features/datasets/datasets_presentation";
2024-04-25 12:22:21 +03:00
import { WeightsPresentation } from "../../features/weights/weights_presentation";
import { ProjectsPresentation } from "../../features/projects/projects_presentation";
import { extensions } from "../extensions/extensions";
import { Routes } from "../interfaces/router";
2024-06-25 12:43:41 +03:00
import { ScenePresentation } from "../../features/scene/scene_presentation";
extensions();
2024-04-25 12:22:21 +03:00
export const httpRoutes: Routes[] = [
new ProjectsPresentation(),
new DatasetsPresentation(),
new BehaviorTreesPresentation(),
new WeightsPresentation(),
2024-06-25 12:43:41 +03:00
new ScenePresentation()
2024-04-25 12:22:21 +03:00
].map((el) => el.call());