(c: Container, exports: PluginExports)
| 29 | } |
| 30 | |
| 31 | function getC(c: Container, exports: PluginExports): Container { |
| 32 | if (exports.services === undefined) return c |
| 33 | const rExports = exports.services(freeze(c, true)) |
| 34 | return { |
| 35 | ...c, |
| 36 | ...rExports, |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | export async function registerPluginServices(plugins: Plugin[]) { |
| 41 | const seed = defaultContainer({ resizingIframe: ResizingIframe }) |
no outgoing calls
no test coverage detected