@flowget/types
v0.4.0
Published
Runtime-agnostic TypeScript type contract and authoring helpers for Flowget — the single source of truth for cross-package definitions (workflow graph, nodes, execution-lifecycle contexts, signals, schedules), consumed by the Flowget engine, worker, SDK,
Downloads
443
Maintainers
Readme
@flowget/types
The shared, runtime-agnostic TypeScript contract for Flowget — the single
source of truth for cross-package definitions (workflow graph, nodes,
execution-lifecycle contexts, signals, schedules), consumed by the engine,
worker, SDK, and builder. Alongside the types it ships a small set of pure
authoring helpers (defineNode, defineDecider, deriveSchedules, …).
Install
npm i @flowget/typesUsage
import { defineNode } from "@flowget/types";
import type { WorkflowGraph, NodeMetadata } from "@flowget/types";Two JSON Schemas (Draft 2020-12) for AI-authoring also ship under the
./schemas/* subpath:
import workflowSchema from "@flowget/types/schemas/workflow.schema.json" with { type: "json" };⚠️ 0.x is unstable
The surface is unstable until v1 — breaking changes ship as minor bumps. Pin
exact versions in consumers ("@flowget/types": "0.1.0", not "^0.1.0").
Links
- Full documentation: https://docs.flowget.io
- Security policy: SECURITY.md
- License: FSL-1.1-ALv2 (see LICENSE)
