nestjs rewrite

This commit is contained in:
popovspiridon99
2025-08-01 11:08:33 +09:00
parent 1f9a3a8e03
commit 145827ab6d
28 changed files with 1220 additions and 623 deletions

View File

@ -1,4 +1,4 @@
import { IconBuildingFactory2, IconComponents, IconDeviceDesktopAnalytics, IconFiles, IconHome, IconLogin, IconLogin2, IconMap, IconPassword, IconReport, IconServer, IconSettings, IconShield, IconUsers } from "@tabler/icons-react";
import { IconBuildingFactory2, IconComponents, IconDeviceDesktopAnalytics, IconFiles, IconFlame, IconHome, IconLogin, IconLogin2, IconMap, IconPassword, IconReport, icons, IconServer, IconSettings, IconShield, IconUsers } from "@tabler/icons-react";
import SignIn from "../pages/auth/SignIn";
import SignUp from "../pages/auth/SignUp";
import PasswordReset from "../pages/auth/PasswordReset";
@ -15,6 +15,8 @@ import Boilers from "../pages/Boilers";
import MapTest from "../pages/MapTest";
import PrintReport from "../pages/PrintReport";
import DBManager from "../pages/DBManager";
import MapLineTest from "../components/map/MapLineTest";
import FuelPage from "../pages/Fuel";
// Определение страниц с путями и компонентом для рендера
@ -127,6 +129,15 @@ const pages = [
dashboard: true,
enabled: true,
},
{
label: "Map line test",
path: "/map-line-test",
icon: <IconMap />,
component: <MapLineTest />,
drawer: true,
dashboard: true,
enabled: true,
},
{
label: "Монитор",
path: "/monitor",
@ -152,7 +163,7 @@ const pages = [
component: <PrintReport />,
drawer: true,
dashboard: true,
enabled: false,
enabled: true,
},
{
label: "Тест БД",
@ -163,6 +174,15 @@ const pages = [
dashboard: true,
enabled: true,
},
{
label: 'Fuel',
path: '/fuel',
icon: <IconFlame />,
component: <FuelPage />,
drawer: true,
dashboard: true,
enabled: true
}
]
export {