Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hydro-dev/Hydro
/ createPluginAPI
Function
createPluginAPI
packages/ui-next/src/registry/plugin.ts:16–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
}
15
16
export
function
createPluginAPI(): PluginAPI {
17
return
{
18
intercept, before, after, patch, replace, wrap,
19
registerPage, registerLayout,
20
};
21
}
22
23
export
interface
PluginDefinition {
24
name: string;
Callers
1
installPlugin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected