The @RegisterClass key used to look up this extension in ClassFactory.
Must match the second argument of @RegisterClass(BaseServerExtension, 'DriverClass').
Whether this extension is enabled. Disabled extensions are skipped during loading.
OptionalPhaseLifecycle phase for this extension. Defaults to the extension class's DefaultPhase
(usually 'pre-auth') when not specified.
URL path prefix for this extension's routes (e.g., '/webhook/slack').
The extension registers its routes under this prefix on the Express app.
Extension-specific configuration. The shape varies by extension type.
For messaging adapters, this contains AgentID, BotToken, etc.
The extension is responsible for parsing and validating its own settings.
Configuration for a server extension instance.
Loaded from the host
serverExtensions[]inmj.config.cjs, and/or discovered from installed Open App server packages (MJ_SERVER_EXTENSIONSexport orpackage.jsonmemberjunction.serverExtensions). Host entries overlay discovered ones byDriverClass.Each entry corresponds to one extension instance. The
DriverClassfield is used to look up the registered class viaClassFactory.CreateInstance().Example