Skip to content

basalt / teams-ui/src / TeamsUiOptions

Interface: TeamsUiOptions ​

Defined in: teams-ui/src/plugin.ts:4

Extends ​

Properties ​

apiBase? ​

> optional apiBase?: string

Defined in: teams-ui/src/html.ts:5

Base path where the team JSON routes are mounted. Default '' (same origin).

Inherited from ​

TeamsPageOptions.apiBase


csp? ​

> optional csp?: string | false

Defined in: teams-ui/src/plugin.ts:11

Content-Security-Policy for the page. Default: the hash-locked teamsPageCsp. Pass a string to override, or false to send none.


headers? ​

> optional headers?: Record<string, string>

Defined in: teams-ui/src/html.ts:11

Extra headers sent with every request (e.g. { 'x-tenant-id': '…' } for header-based tenancy). Subdomain apps can leave this empty.

Inherited from ​

TeamsPageOptions.headers


path? ​

> optional path?: string

Defined in: teams-ui/src/plugin.ts:6

Where to mount the page. Default /team/ui.


roles? ​

> optional roles?: string[]

Defined in: teams-ui/src/html.ts:8

Roles offered in the dropdowns. Default owner/admin/member.

Inherited from ​

TeamsPageOptions.roles


title? ​

> optional title?: string

Defined in: teams-ui/src/html.ts:6

Inherited from ​

TeamsPageOptions.title

Released under the MIT License.