(input: InputPort)
| 151 | }; |
| 152 | |
| 153 | export const isCredentialInput = (input: InputPort): boolean => { |
| 154 | const resolved = resolvePortType(input); |
| 155 | return ( |
| 156 | (resolved.kind === 'contract' && resolved.credential) || |
| 157 | input.editor === 'secret' || |
| 158 | input.id === 'connection' |
| 159 | ); |
| 160 | }; |
| 161 | |
| 162 | export const runtimeInputTypeToConnectionType = (type: string): ConnectionType => { |
| 163 | const normalized = type.toLowerCase(); |
no test coverage detected