CanvasPluginChalkSpec
The chalk a plugin adds: its environment name, and the attributes and vocabulary it declares.
@internote/canvas-sdkOn this page
import { CanvasPluginChalkSpec } from '@internote/canvas-sdk';#Fields
attributesThe environment's attributes, mirrored from the definition for a check before the code is loaded.
Record<string, CanvasAttrSpec>environmentThe name of the environment the plugin provides, which authors write as its node,
greeting{…}.stringvocabularyThe 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.