Function
annotationsFor
(binding: OperationBinding)
Source from the content-addressed store, hash-verified
| 566 | }; |
| 567 | |
| 568 | const annotationsFor = (binding: OperationBinding): ToolAnnotations => { |
| 569 | if (binding.kind === "mutation") { |
| 570 | return { |
| 571 | requiresApproval: true, |
| 572 | approvalDescription: `mutation ${binding.fieldName}`, |
| 573 | }; |
| 574 | } |
| 575 | return {}; |
| 576 | }; |
| 577 | |
| 578 | // --------------------------------------------------------------------------- |
| 579 | // Auth method rendering (D11) — apply the connection's resolved values through |
Tested by
no test coverage detected