You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the engine the single source of truth for the Approval node's property
form so the Studio flow designer renders from the backend rather than a
hardcoded client form.
- plugin-approvals: publish `configSchema` (getApprovalNodeConfigJsonSchema())
on the approval ActionDescriptor (ADR-0018 §configSchema).
- spec: annotate `approvalStatusField` with `.meta({ xRef: { kind:
'object-field', objectSource: '$trigger' } })` so the designer renders an
object-field picker (scoped to the flow's trigger object) instead of free
text. Single `.meta()` carries both description and annotation so neither is
dropped through z.toJSONSchema.
- examples (app-crm, app-showcase): require the `approvals` capability so the
`approval` flow node is contributed to the engine and surfaces in the palette.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
0 commit comments