chore: remove dead code and duplicate logic
- drop unused assertNever, canvg dependency (never imported), readonly re-export shim in VertebraPicker, stale equine named export - unexport validateBoneElement (internal only) - getBoneIdFromEvent now delegates to getAnnotatedElement (dup walk-up) - rasterizeSvg: drop ignored _scale param (2 call sites + tests) - extract byte-identical word-wrap into pdf/render/text.ts - extract mergeBones helper in EditorRoute (block duplicated twice) - fix stale canvg comment in observationPage Checks: typecheck, lint, 174/174 tests, build all green
This commit is contained in:
1 parent
c55da07697
commit
bbdc0e851a
14 files changed
+55
-141
No files matched your search
@@ -6,8 +6,6 @@ import type { Vertebra, VertebralRegion } from '@/domain/schema/observation'
|
||||
import type { VertebralFormula } from '@/domain/species/types'
|
||||
import { useT } from '@/i18n/useT'
|
||||
|
||||
export { regionFromLabel } from '@/lib/spineZones'
|
||||
|
||||
const REGIONS: VertebralRegion[] = ['C', 'T', 'L', 'S', 'Cd']
|
||||
const REGION_KEY: Record<VertebralRegion, string> = {
|
||||
C: 'vertebra.region.C',
|
||||
|
||||
Reference in new issue
Block a user