feat(32.2-01): per-item rows and item actions on My account contributions

- pact: AccountContribution.Items/ItemActions/ItemsEmpty, AccountItem,
  AccountItemAction, AccountItemActionInput, ErrAccountItemNotFound
- cabana: the list sends items (null without Items), permitted item actions
  and the empty line; boot refuses item actions without Items
- cabana: POST {api}/account/contribution-items/{name}/{item}/actions/{action}
  runs only for an item the administrator's own Items listed, in a transaction
  (path outside /account/contributions/ to avoid a ServeMux overlap)
- swag views; admin.json and schema.d.ts regenerated; route inventories
This commit is contained in:
Jakub Zych
2026-11-21 00:22:13 +01:00
parent 97d7ee0586
commit 3f7ce6020d
16 changed files with 706 additions and 30 deletions

View File

@@ -50,6 +50,7 @@ var phase09Routes = []adminRoute{
{key: "DELETE /account/tokens/{id}"},
{key: "GET /account/contributions"},
{key: "POST /account/contributions/{name}/actions/{action}"},
{key: "POST /account/contribution-items/{name}/{item}/actions/{action}"},
{key: "GET /mcp/consent/{request}"},
{key: "POST /mcp/consent/{request}"},
{key: "GET /navigation"},