basalt / teams/src / teamsPlugin
Function: teamsPlugin()
> teamsPlugin(options?): BasaltPlugin<unknown>
Defined in: teams/src/plugin.ts:31
Team membership + invitations. Registers the Teams service and a guard enforcing meta.teamRole on routes: the current user (ctx().user) must hold that role or higher in the current tenant (ctx().tenant).
Parameters
options?
TeamsPluginOptions = {}
Returns
BasaltPlugin<unknown>