ChartEvent
Type, in @jr2/orchestrator/src/chart.ts. The signature of an export, or a type that it names, names this type. The Authoring surface page lists each export. This type is not an export of @jr2/orchestrator, so a workflow module does not import it by name.
ts
type ChartEvent = { description?: string; input: Record<string, unknown>; audience?: EventAudience };An event a Chart mints: its payload is a JSON Schema object, built into zod at admission.
Fields
description(optional):stringinput:Record<string, unknown>audience(optional):EventAudience