Skip to content

Commit d2adc95

Browse files
committed
chore(changeset): plugin-approvals decision attachments
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ypkQikZ55oWUHUnMebwXA
1 parent dd3050c commit d2adc95

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@objectstack/plugin-approvals": minor
3+
---
4+
5+
feat(approvals): declare file attachments on approve/reject decisions
6+
7+
The declared `approval_approve` / `approval_reject` actions on
8+
`sys_approval_request` gain an optional multi-file `attachments` param
9+
(`type: 'file'`, `multiple`). The console renders `type:'file'` action params
10+
through the shared upload widget (objectui ADR-0059) and POSTs the resolved
11+
`attachments: string[]`, so a reviewer can attach supporting files to a
12+
decision through the generic declared-action dialog — letting the approvals
13+
inbox retire its hand-wired attachment composer (objectui#2698).
14+
15+
Purely additive metadata: the decision route already forwards
16+
`body.attachments` to `ApprovalService.decide`, and the
17+
`sys_approval_action.attachments` column (file, multiple) already persists them
18+
(#3266/#3274). No service or route change.

0 commit comments

Comments
 (0)