MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / prettyConnectorType

Function prettyConnectorType

console/src/util.ts:139–146  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

137 * e.g., "mysql" returns "MySQL"
138 */
139export 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".

Callers 3

SourceOverviewFunction · 0.90
SourceTableFunction · 0.90
SinkOverviewFunction · 0.90

Calls 1

kebabToTitleCaseFunction · 0.85

Tested by

no test coverage detected