Classplugin-mongoosev0.2.1
class Mongoose extends Plugin<{
transport: "any";
runtime: "server";
}>Member visibility
Filter class members by access level.
Mongoose(host: CoreBase, options: MongooseOptions)Showing members with Protected visibility and higher.
public connection: Mongoosecore
The host, typed to the transport whose Plugin base this class extends.
protected core: TCoreInherited from:Plugin
logger
Logs under the plugin's class name, on the channel its attach key sets.
public get services(): MongooseServicesThrows:
A SeedcordError if accessed before the plugin finishes initializing.
async onHmr(_event: HmrUpdateEvent): Promise<void>Inherited from:Plugin
- optional
ready()
Runs in the startup Ready phase, after init(). The gateway client is logged in by this phase, and the http host binds its server in the same phase.
registerCriticalFiles()
Registers critical file patterns that should trigger a full restart when changed in Dev HMR.
rejectOptions()
Throws a SeedcordError that contains the plugin class name and the reason.