Nick SzaunigandClaude Sonnet 5 1054a845ef
Backend Image / build-and-push (push) Successful in 3m9s
Frontend Image / build-and-push (push) Successful in 2m45s
feat: allow a honey batch to be split across multiple storage containers
A batch that doesn't fit in one container (e.g. 125 kg across 5 x 25 kg
buckets) had no way to be represented - HoneyBatch.storageContainerId
is a single nullable FK. Adds HoneyBatchContainerAllocation as an
additive join table (container + amount per batch), independent of the
existing single-container/relocate() flow which still covers the
simple one-container case unchanged.

- GET/PUT/DELETE /honey-batches/:id/containers[/:containerId], reusing
  the existing honey-batches:relocate permission.
- Assigning a container is an upsert (@@unique on batch+container), and
  the total assigned is validated against the batch's own amount when
  known.
- New "Aufteilung auf mehrere Behälter" card on the honey batch detail
  page, alongside (not replacing) the existing storage card.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-04 19:44:33 +02:00
2026-08-27 08:32:47 +02:00
2026-08-27 08:32:47 +02:00
S
Description
ApiCore - Imkereidokumentationssoftware
https://apicore.encry.de/
9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 98.1%
JavaScript 1.1%
Python 0.3%
CSS 0.3%
PLpgSQL 0.1%