mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 19:37:59 +08:00
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.
14 lines
270 B
TypeScript
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[]
|
|
}
|