Skip to content

@tavora/sdk / Capability

Type Alias: Capability ​

Capability = "network" | "aiUsage" | "discord" | "overlay" | "systemInfo" | "media" | "leaderboards" | "folders" | "files" | "clipboard" | "sharedData"

Defined in: packages/sdk/src/protocol.ts:631

Capabilities gate methods beyond the always-available core. A module has a capability once the user granted one of its permissions for it (network: a host in permissions.network; aiUsage: the ai-usage connector; discord: the discord connector; overlay: the stream-overlay connector; systemInfo: the system-info connector; media: the media connector; leaderboards: the leaderboards connector; folders: a folder in permissions.folders); calling a gated method without it fails with PERMISSION_DENIED. The others cannot be granted yet.

For Tavora 0.24.58 and @tavora/sdk 0.3.20. Code under the MIT License. The Tavora name and logo are not covered by it.