Seed Bible extension API (v1.18.0) / seed-bible/extensions / Unexported types / SandboxInit
Interface: SandboxInit
Sent with the port that connects a frame to the host.
Properties
extensionId
extensionId: string;granted
granted: (
| "reading:position"
| "reading:selection"
| "reading:navigate"
| "reading:history"
| "highlights:read"
| "highlights:write"
| "notes:read"
| "notes:write"
| "saves:read"
| "saves:write"
| "profile:read"
| "chat:respond"
| "chat:shared"
| "friends:read"
| "session:read"
| "audio:playback"
| "clipboard:write"
| "embed:casualos"
| "device:microphone"
| "device:camera"
)[];mode
mode: SandboxFrameMode;optional
optional: (
| "reading:position"
| "reading:selection"
| "reading:navigate"
| "reading:history"
| "highlights:read"
| "highlights:write"
| "notes:read"
| "notes:write"
| "saves:read"
| "saves:write"
| "profile:read"
| "chat:respond"
| "chat:shared"
| "friends:read"
| "session:read"
| "audio:playback"
| "clipboard:write"
| "embed:casualos"
| "device:microphone"
| "device:camera"
)[];What the manifest lets the extension ask for later.
protocol
protocol: number;state
state: SandboxState;