(key: string)
| 42 | }; |
| 43 | |
| 44 | const providerLabel = (key: string): string => |
| 45 | PROVIDER_LABELS[key] ?? |
| 46 | key |
| 47 | .split(/[-_]/g) |
| 48 | .filter(Boolean) |
| 49 | .map((part) => part.charAt(0).toUpperCase() + part.slice(1)) |
| 50 | .join(" "); |
| 51 | |
| 52 | export function SecretsPage(props: { showProviderInfo?: boolean }) { |
| 53 | useExecutorDocumentTitle("Providers"); |