(component: ComponentDefinition)
| 89 | * These are inputs that the agent provides at runtime. |
| 90 | */ |
| 91 | export function getActionInputIds(component: ComponentDefinition): string[] { |
| 92 | const inputs = extractPorts(component.inputs); |
| 93 | return inputs |
| 94 | .filter(input => inferBindingType(input) === 'action') |
| 95 | .map(input => input.id); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Get the IDs of parameters explicitly exposed to the agent. |
no test coverage detected