mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
The API Reference page was already behind a deprecation banner. This deletes the /ui/api-reference route and its components, the Developer Tools sidebar entry and page description, the legacy ?page=api_ref redirects, and the i18n strings only that page used. Old ?page=api_ref and ?page=api-reference bookmarks now fall through to the dashboard like any other unknown page id, since there is no replacement page. Tests that listed the page are updated: the sidebar and legacy-route vitest files, the uiHref examples, the e2e sidebar fixtures and Internal Viewer nav check, and the UI path detection unit test.
32 lines
935 B
TypeScript
32 lines
935 B
TypeScript
/**
|
|
* Enum for all page query parameters supported in the app.
|
|
* These values correspond to the `page` query parameter used in the URL.
|
|
*/
|
|
export enum Page {
|
|
ApiKeys = "api-keys",
|
|
Models = "models",
|
|
LlmPlayground = "llm-playground",
|
|
Users = "users",
|
|
Teams = "teams",
|
|
Organizations = "organizations",
|
|
AdminPanel = "admin-panel",
|
|
LoggingAndAlerts = "logging-and-alerts",
|
|
Budgets = "budgets",
|
|
Guardrails = "guardrails",
|
|
Agents = "agents",
|
|
Prompts = "prompts",
|
|
TransformRequest = "transform-request",
|
|
RouterSettings = "router-settings",
|
|
UiTheme = "ui-theme",
|
|
CostTracking = "cost-tracking",
|
|
CostOptimization = "cost-optimization",
|
|
ModelHubTable = "model-hub-table",
|
|
Caching = "caching",
|
|
Logs = "logs",
|
|
McpServers = "mcp-servers",
|
|
SearchTools = "search-tools",
|
|
ToolPolicies = "tool-policies",
|
|
TagManagement = "tag-management",
|
|
VectorStores = "vector-stores",
|
|
NewUsage = "new_usage",
|
|
}
|