refactor(types): remove unused exports from database.ts #138

Merged
jonas.hanisch merged 1 commit from refactor/134-cleanup-database-ts into main 2026-01-24 10:40:29 +00:00
Owner

Summary

  • Removed 9 unused exports from packages/types/src/database.ts
  • Reduced file from 524 to 167 lines (-356 lines, -68%)

Removed exports:

  • OBSERVATION_TYPES (const)
  • OBSERVATION_CONCEPTS (const)
  • ObservationConcept (type)
  • ObservationConceptConfig (interface)
  • LatestPromptResult (interface)
  • ObservationWithContext (interface)
  • TableColumnInfo (interface)
  • IndexInfo (interface)
  • SchemaVersion (interface)

All removed exports were verified as unused via grep search.

Closes #134

## Summary - Removed 9 unused exports from `packages/types/src/database.ts` - Reduced file from 524 to 167 lines (-356 lines, -68%) ### Removed exports: - `OBSERVATION_TYPES` (const) - `OBSERVATION_CONCEPTS` (const) - `ObservationConcept` (type) - `ObservationConceptConfig` (interface) - `LatestPromptResult` (interface) - `ObservationWithContext` (interface) - `TableColumnInfo` (interface) - `IndexInfo` (interface) - `SchemaVersion` (interface) All removed exports were verified as unused via grep search. Closes #134
refactor(types): remove unused exports from database.ts
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 43s
CI / validate-plugin (pull_request) Successful in 35s
6c80ea8e4f
Remove 7 unused exports that were never imported:
- OBSERVATION_TYPES (const)
- OBSERVATION_CONCEPTS (const)
- ObservationConcept (type)
- ObservationConceptConfig (interface)
- LatestPromptResult (interface)
- ObservationWithContext (interface)
- TableColumnInfo (interface)
- IndexInfo (interface)
- SchemaVersion (interface)

Reduces database.ts from 524 to 167 lines (-356 lines, -68%).

Closes #134

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch deleted branch refactor/134-cleanup-database-ts 2026-01-24 10:40:29 +00:00
Sign in to join this conversation.
No description provided.