* The single predicate that decides whether an extracted block config belongs * in the integration surfaces emitted by this script — the integrations * catalog (`integrations.json`) and the per-tool `/tools/*.mdx` docs. A block * qualifies only when it is a third-party integration (`category: 'to
(config: { category?: string; hideFromToolbar?: boolean })
| 1140 | * `'blocks'` or `'triggers'` removes it from all integration surfaces. |
| 1141 | */ |
| 1142 | function isIntegrationBlock(config: { category?: string; hideFromToolbar?: boolean }): boolean { |
| 1143 | return config.category === 'tools' && !config.hideFromToolbar |
| 1144 | } |
| 1145 | |
| 1146 | /** |
| 1147 | * First-party `category: 'blocks'` primitives that are nonetheless surfaced on |
no outgoing calls
no test coverage detected