Skip to content

Reference

page what source
Registries every registry a plugin can fill, its def shape, its fallback, and which take data files checked against manifest/v1.json and manifests.DATA_REGISTRIES at build time
Hooks the client hook catalogue generated from protocol/data/hooks.json
Plugin API (ctx) the ctx of plugin API 1.0 and the @taflor/api module the JSDoc of static/table/js/api/index.js
Bundled plugins the plugins that ship with Taflor generated from their manifests, tested against bundled.plugin_ids()

The machine-readable sources are in @taflor/protocol (protocol/ in the repository):

  • schemas/manifest/v1.json: the plugin manifest, table-plugin.json
  • schemas/protocol/v2/: every websocket and HTTP message
  • schemas/page-config/, schemas/sheet/, schemas/extension/v1.json: the table page's config, the sheet protocol, the server extension descriptor
  • data/hooks.json, data/capabilities.json, data/permissions.json: the hook, capability and permission catalogues
  • conformance/v2/: the conformance scenarios (Testing a plugin)

The server's host interface (TableHost, DiceSystem, RollLog, the providers) is documented in the docstrings of taflor_server/host.py, its public functions in taflor_server/api.py. Generated pages for the protocol messages, the client API (from JSDoc) and the server API (from docstrings) follow with milestone M4.