first commit
This commit is contained in:
@@ -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
|
||||
};
|
||||
Reference in New Issue
Block a user