Function
registerBuiltinPlugin
(
definition: BuiltinPluginDefinition,
)
Source from the content-addressed store, hash-verified
| 26 | * Register a built-in plugin. Call this from initBuiltinPlugins() at startup. |
| 27 | */ |
| 28 | export function registerBuiltinPlugin( |
| 29 | definition: BuiltinPluginDefinition, |
| 30 | ): void { |
| 31 | BUILTIN_PLUGINS.set(definition.name, definition) |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Check if a plugin ID represents a built-in plugin (ends with @builtin). |
Callers
nothing calls this directly
Tested by
no test coverage detected