MCPcopy Create free account
hub / github.com/ShipSecAI/studio / resolvePortType

Function resolvePortType

frontend/src/utils/portUtils.ts:20–21  ·  view source on GitHub ↗
(port: { connectionType?: ConnectionType })

Source from the content-addressed store, hash-verified

18 portType ?? DEFAULT_TEXT_CONNECTION;
19
20export const resolvePortType = (port: { connectionType?: ConnectionType }): ConnectionType =>
21 normalizePortType(port.connectionType);
22
23interface PrimitivePort {
24 kind: 'primitive';

Callers 4

ConfigPanelFunction · 0.90
validateConnectionFunction · 0.90
inputSupportsManualValueFunction · 0.85
isCredentialInputFunction · 0.85

Calls 1

normalizePortTypeFunction · 0.85

Tested by

no test coverage detected