* Returns true if any plugin defines ext result fields for any model.
(plugins: AnyPlugin[])
| 927 | * Returns true if any plugin defines ext result fields for any model. |
| 928 | */ |
| 929 | function hasExtResultFieldDefs(plugins: AnyPlugin[]): boolean { |
| 930 | return plugins.some((p) => p.result && Object.keys(p.result).length > 0); |
| 931 | } |
| 932 | |
| 933 | /** |
| 934 | * Collects extended result field definitions from all plugins for a given model. |
no outgoing calls
no test coverage detected