@de-otio/trellis-extension-api
v0.5.0
Published
Shared types for Trellis extensions: TrellisExtension, Route, strategy interfaces
Readme
@de-otio/trellis-extension-api
Shared types for building Trellis extensions: TrellisExtension, Route,
the strategy/hook interfaces, and the ExtensionContext an extension receives
at registration. Trellis is a generic multi-tenant social-network platform core;
vertical applications extend it by registering a TrellisExtension at startup
to add domain-specific routes, metadata schemas, and terminology.
Reference
The canonical Extension API reference — the full TrellisExtension contract,
how a vertical registers an extension, and the tracker-free / anonymized-metadata
review criterion — lives in the Trellis docs:
Install
npm install @de-otio/trellis-extension-apiimport type { TrellisExtension } from "@de-otio/trellis-extension-api";
import { EXTENSION_API_VERSION } from "@de-otio/trellis-extension-api";