(row: IntegrationRow)
| 1782 | }; |
| 1783 | |
| 1784 | const describeDisplayForRow = (row: IntegrationRow): IntegrationDisplayDescriptor => { |
| 1785 | const runtime = runtimes.get(row.plugin_id); |
| 1786 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 1787 | if (!describe) return {}; |
| 1788 | const record = rowToIntegrationRecord(row); |
| 1789 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 1790 | try { |
| 1791 | const display = describe(record); |
| 1792 | return { |
| 1793 | ...(display.url && display.url.length > 0 ? { url: display.url } : {}), |
| 1794 | ...(display.family && display.family.length > 0 ? { family: display.family } : {}), |
| 1795 | }; |
| 1796 | } catch { |
| 1797 | return {}; |
| 1798 | } |
| 1799 | }; |
| 1800 | |
| 1801 | // The declared health check off the integration row's own column. CORE |
| 1802 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected