Skip to content

basalt / teams/src / teamRoutes

Function: teamRoutes() ​

> teamRoutes(options?): BasaltRoute[]

Defined in: teams/src/routes.ts:84

Team routes: invite / accept / list / revoke invitations, and list / update / remove members. Admin-level actions require teamRole: 'admin'; accepting an invite only requires a logged-in user. Invitation tokens are emailed via the team:invited hook and never returned over HTTP.

Parameters ​

options? ​

TeamRoutesOptions = {}

Returns ​

BasaltRoute[]

Released under the MIT License.