Skip to content

basalt / drives/src / drivesPlugin

Function: drivesPlugin() ​

> drivesPlugin(options): BasaltPlugin<unknown>

Defined in: drives/src/plugin.ts:16

Registers Drives in the container.

Like filesPlugin and webhooksPlugin, it learns whether the app is multi-tenant from the container's 'tenancy:active' marker rather than by importing @basaltkit/tenancy — read on every call, so plugin registration order does not decide whether tenant isolation is enforced.

Parameters ​

options ​

DrivesPluginOptions

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.