litellm/ui/litellm-dashboard/src/components/key_team_helpers
Tin Chi Lo ba9f6d75d8 refactor(ui): derive the dashboard object_permission type from the generated schema
The dashboard declared the server-owned object_permission shape by hand
in five places, each with a different subset of fields and none matching
the OpenAPI schema. That is what hid LIT-4766: KeyResponse.object_permission
never declared mcp_toolsets, so a form that wrote the field without reading
it compiled cleanly and silently wiped the grant

Replace four of those copies with one alias over the generated
LiteLLM_ObjectPermissionTable. The agent shape stays separate because the
agent endpoint really does return a narrower type, so it points at its own
generated AgentObjectPermission
2026-07-24 16:05:52 -07:00
..
BudgetFallbacksEditor.test.tsx fix: prevent stale budget fallback entries after form reset and guard empty payload in edit view 2026-07-03 20:52:25 +00:00
BudgetFallbacksEditor.tsx feat(ui): add budget fallbacks configuration to key create/edit forms 2026-07-03 19:50:36 +00:00
BudgetWindowsEditor.tsx style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
fetch_available_models_team_key.test.tsx Create Team Model Dropdown fix 2025-12-11 10:16:42 -08:00
fetch_available_models_team_key.tsx fix(ui): scope key models dropdown options to the key's team (#32382) 2026-07-07 18:54:19 -07:00
filter_helpers.test.ts style(ui): run prettier --write across the dashboard (#29622) 2026-06-04 11:37:54 -07:00
filter_helpers.ts Fix remaining org_id fallbacks in filter_helpers and TeamVirtualKeysTable 2026-03-04 20:18:54 -08:00
key_list.tsx refactor(ui): derive the dashboard object_permission type from the generated schema 2026-07-24 16:05:52 -07:00
TagRateLimitEditor.tsx feat(rate_limit): support per-tag rpm limiting on a single key (#31502) 2026-07-08 09:43:47 +03:00
transform_key_info.test.ts [Test] UI: Add vitest coverage for 10 previously untested components 2026-03-19 10:30:03 -07:00
transform_key_info.tsx added and ran prettier autoformatter 2025-10-04 18:19:48 -07:00