fix(sandbox-provider): align frontend types with backend API after refactor

Remove label, description, and icon fields from SandboxProvider type
as they are no longer returned by the backend API. Use i18n translations
to display provider labels instead of relying on API response data.
This commit is contained in:
yyh
2026-01-19 10:50:57 +08:00
parent f481947b0d
commit ebeee92e51
5 changed files with 16 additions and 9 deletions

View File

@ -5,9 +5,6 @@ export type ConfigSchema = {
export type SandboxProvider = {
provider_type: string
label: string
description: string
icon: string
is_system_configured: boolean
is_tenant_configured: boolean
is_active: boolean