Files
dify/web/types/sandbox-provider.ts
yyh ebeee92e51 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.
2026-01-19 10:50:57 +08:00

14 lines
270 B
TypeScript

export type ConfigSchema = {
name: string
type: string
}
export type SandboxProvider = {
provider_type: string
is_system_configured: boolean
is_tenant_configured: boolean
is_active: boolean
config: Record<string, string>
config_schema: ConfigSchema[]
}