first commit

This commit is contained in:
npc0-hue
2026-07-11 14:56:10 +08:00
commit 7e05d0a4e7
660 changed files with 78119 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import type { ComponentType } from "react";
import type { PageComponentProps, PageId } from "../contracts/page";
import { AiProvidersPage } from "./AiProvidersPage";
import { HomePage } from "./HomePage";
import { MaintenancePage } from "./MaintenancePage";
import { PluginsPage } from "./PluginsPage";
import { ProfileSettingsPage } from "./ProfileSettingsPage";
import { ServerDetailPage } from "./ServerDetailPage";
import { ServersPage } from "./ServersPage";
import { UsersPage } from "./UsersPage";
export const pageRegistry: Record<PageId, ComponentType<PageComponentProps>> = {
home: HomePage,
servers: ServersPage,
serverDetail: ServerDetailPage,
plugins: PluginsPage,
profileSettings: ProfileSettingsPage,
users: UsersPage,
aiProviders: AiProvidersPage,
maintenance: MaintenancePage
};