litellm/ui/litellm-dashboard/e2e_tests/fixtures/pages.ts
ryan-crabbe-berri e568d8bffb
refactor(ui): remove orphaned pass-through-settings route (#30692)
The `page == "pass-through-settings"` arm in (dashboard)/page.tsx is
unreachable: it isn't a sidebar item and nothing in the app sets
?page=pass-through-settings. The Pass-Through Endpoints UI lives as a tab
inside the Models + Endpoints view (ModelsAndEndpointsView renders
PassThroughSettings), so the standalone switch arm is dead code. Remove it,
its now-unused import, and the matching enum member in the e2e pages fixture.
2026-06-17 18:26:21 -07:00

32 lines
900 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",
ApiRef = "api_ref",
LoggingAndAlerts = "logging-and-alerts",
Budgets = "budgets",
Guardrails = "guardrails",
Agents = "agents",
Prompts = "prompts",
TransformRequest = "transform-request",
RouterSettings = "router-settings",
UiTheme = "ui-theme",
CostTracking = "cost-tracking",
ModelHubTable = "model-hub-table",
Caching = "caching",
Logs = "logs",
McpServers = "mcp-servers",
SearchTools = "search-tools",
TagManagement = "tag-management",
VectorStores = "vector-stores",
NewUsage = "new_usage",
Usage = "usage",
}