MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / loadBuiltInModule

Function loadBuiltInModule

frontend/packages/common/src/hooks/pluginLoader.ts:513–520  ·  view source on GitHub ↗
(pluginName: any)

Source from the content-addressed store, hash-verified

511 }
512
513 const loadBuiltInModule = (pluginName: any) => {
514 try {
515 const { module } = routerMap.get(pluginName)!
516 return module
517 } catch (err) {
518 console.warn(`安装内置插件[${pluginName}]出错:`, err)
519 }
520 }
521
522 return {
523 loadPlugins,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected