(component: ComponentDefinition)
| 78 | * These are inputs that should be pre-bound from the workflow, not exposed to the agent. |
| 79 | */ |
| 80 | export function getCredentialInputIds(component: ComponentDefinition): string[] { |
| 81 | const inputs = extractPorts(component.inputs); |
| 82 | return inputs |
| 83 | .filter(input => inferBindingType(input) === 'credential') |
| 84 | .map(input => input.id); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Get the IDs of all action inputs for a component. |
no test coverage detected