(row: IntegrationRow)
| 3159 | }); |
| 3160 | |
| 3161 | const describeDisplayForRow = (row: IntegrationRow): IntegrationDisplayDescriptor => { |
| 3162 | const runtime = runtimes.get(row.plugin_id); |
| 3163 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 3164 | if (!describe) return {}; |
| 3165 | const record = rowToIntegrationRecord(row); |
| 3166 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 3167 | try { |
| 3168 | const display = describe(record); |
| 3169 | return { |
| 3170 | ...(display.url && display.url.length > 0 ? { url: display.url } : {}), |
| 3171 | ...(display.family && display.family.length > 0 ? { family: display.family } : {}), |
| 3172 | }; |
| 3173 | } catch { |
| 3174 | return {}; |
| 3175 | } |
| 3176 | }; |
| 3177 | |
| 3178 | // The declared health check off the integration row's own column. CORE |
| 3179 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected