MCPcopy Create free account
hub / github.com/agegr/pi-web / formatCustomType

Function formatCustomType

components/MessageView.tsx:1329–1331  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

1327}
1328
1329function formatCustomType(type: string): string {
1330 return type || "extension";
1331}
1332
1333function previewText(text: string): string {
1334 const normalized = text.replace(/\s+/g, " ").trim();

Callers 1

CustomMessageViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected