Skip to content

feat(samples): collect with the tube's own label, relabelSample (1.8.0) - #15

Merged
BackStacked merged 1 commit into
mainfrom
feat/sample-labels
Nov 11, 2026
Merged

BackStacked merged 1 commit into
mainfrom
feat/sample-labels

Conversation

@BackStacked

Copy link
Copy Markdown
Contributor

Mirrors api: collectSample(id, barcode) and relabelSample(id, barcode).

  • samples.collect(id, barcode?): the tube's pre-printed label, when it is not the generated barcode.
  • samples.relabel(id, barcode): a new label before the lab receives the sample.
  • A label already on another sample of the organisation → BARCODE_TAKEN (with extensions.barcode).

Typecheck and build pass. The api's "every operation has a client operation" test needs this release.

🤖 Generated with Claude Code

samples.collect(id, barcode?) and samples.relabel(id, barcode) for api's collectSample(barcode)
and relabelSample; a duplicate label is BARCODE_TAKEN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BackStacked
BackStacked merged commit ed4ef48 into main Nov 11, 2026
1 check passed
@BackStacked
BackStacked deleted the feat/sample-labels branch November 11, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant