Protected ReadonlyloggerProtectedpluginsMap between a plugin id and its local storage
Protected ReadonlyscannerCalled after the initialization of the backend application is complete. Use this to configure the Express app before it is started, for example to offer additional endpoints.
The implementation may be async, however it will still block the configuration step until it's resolved.
the express application to configure.
either undefined or a Promise resolving to undefined.
ProtectedhandleProtectedresolveResolves filePath under localPath, with fallback to .js, .cjs and .mjs
extensions. Returns undefined if the resolved path is not under localPath
or if no candidate exists on disk.
The extension fallback handles cases where plugins reference modules without extensions, which is common in Node.js/CommonJS environments.
Contribution for hooking into the backend lifecycle:
initialize()configure(expressApp)onStart(httpServer)onStop()