@wfgraph/plugins
v0.2.0
Published
The six built-in Workflow Graph integrations, plus the icons and output renderers the editor draws them with
Maintainers
Readme
@wfgraph/plugins
The six built-in integrations for Workflow Graph: Acuity, Clerk, Linear, Resend, Slack, and Twilio.
npm install @wfgraph/pluginsNothing registers on import. The line that turns the built-ins on is a line in your own code, and dropping it is what turns them off.
import { createWfGraphApp } from "@wfgraph/core";
import { builtInIntegrations } from "@wfgraph/plugins";
const wfgraph = await createWfGraphApp({
extensions: { integrations: builtInIntegrations /* ...events and actions */ },
// ...the rest
});Each integration is also exported by name, for a host that wants some of the six rather than
all of them. That narrows what reaches createWfGraphApp rather than what the process loads,
since this entry imports all six as values.
@wfgraph/core is a peer dependency: an integration is built against it and handed back to it,
so the two must resolve to one copy. They are released together and always share a version.
The @wfgraph/plugins/ui entry is a separate export holding the icons and output renderers the
editor draws these integrations with. It is React and browser-only, which is why a server
importing the root entry never pulls React in.
Docs
- Integrations, which
covers
defineIntegration, handlers, schemas, and testing your own
Apache-2.0.
