(type: string)
| 137 | * e.g., "mysql" returns "MySQL" |
| 138 | */ |
| 139 | export function prettyConnectorType(type: string): string { |
| 140 | switch (type) { |
| 141 | case "mysql": |
| 142 | return "MySQL"; |
| 143 | default: |
| 144 | return kebabToTitleCase(type); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * e.g. "some-example-string" returns a "SOME EXAMPLE STRING". |
no test coverage detected