docs(field-types): correct type count (48) and fold barcode into qrcode#24
Merged
Conversation
The reference claimed "53 built-in field types" but the spec FieldType enum has 48. `barcode` is not a distinct type — `qrcode` covers QR + barcode formats — and the `qrErrorCorrection` / `barcodeFormat` display knobs were pruned as dead surface (no runtime reader). Drop the bogus `barcode` row, fold its use-case (EAN/UPC/Code128) into `qrcode`, and fix the count. English + all six translations (de/es/fr/ja/ko/zh-Hans); apps/docs type-check passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up cleanup after the 9.7.0 upgrade (#23) — three verified field-type-reference nits that were skipped as low-confidence and then confirmed against the framework spec.
FieldTypeenum (packages/spec/src/data/field.zod.ts) has 48. Corrected.barcodeis not a type — onlyqrcodeis in the enum; it covers QR + barcode formats. Removed the bogusbarcoderow and folded its use-case (EAN / UPC / Code128) intoqrcode.qrErrorCorrection/barcodeFormatwere pruned as dead surface (no runtime reader; renderers ignore them), so they're dropped from theqrcodedescription.English + all six translations (de/es/fr/ja/ko/zh-Hans).
apps/docstype-check(fumadocs-mdx + tsc) passes.🤖 Generated with Claude Code