Seed Bible extension API (v1.19.0) / seed-bible/extensions/testing / SandboxToolDefinition
Interface: SandboxToolDefinition
A tool as Seed Bible receives it from sb.tools.register…: the options the extension passed, with its handlers left out and isVisible and isDisabled read into plain visible and disabled. In a test, this is what TestHost.tools holds.
Properties
disabled?
disabled?: boolean;icon
icon: SandboxIcon;id
id: string;items?
items?: SandboxToolItem[];A submenu. When set, selecting the tool itself does nothing.
priority?
priority?: number;surface
surface: SandboxToolSurface;Which sb.tools.register… method registered it.
title
title: SandboxTitle;visible?
visible?: boolean;