CanvasPluginChalkSpec

The chalk a plugin adds: its environment name, and the attributes and vocabulary it declares.

@internote/canvas-sdkInterface
On this page
import { CanvasPluginChalkSpec } from '@internote/canvas-sdk';

#Fields

attributes
The environment's attributes, mirrored from the definition for a check before the code is loaded.
Record<string, CanvasAttrSpec>
environmentRequired
The name of the environment the plugin provides, which authors write as its node, greeting{…}.
string
vocabulary
The environment's vocabulary, mirrored from the definition for a check before the code is loaded.
Record<string, CanvasNodeSpec>

Declared in packages/canvas-sdk/src/plugin/manifest.ts:13.

Last updated