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

Merged
jack merged 3 commits from refactor/138-cleanup-database-ts into main 2026-01-24 16:56:07 +00:00
Owner

Summary

  • Remove 9 unused exports from packages/types/src/database.ts
  • File reduced from 524 to 167 lines (-357 lines)

Removed exports:

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

Closes #138

Test plan

  • TypeScript check passes
  • Verified exports are not used anywhere in codebase via grep
## Summary - Remove 9 unused exports from `packages/types/src/database.ts` - File reduced from 524 to 167 lines (-357 lines) ### Removed exports: - `OBSERVATION_TYPES` (const) - `OBSERVATION_CONCEPTS` (const) - `ObservationConcept` (type) - `ObservationConceptConfig` (interface) - `LatestPromptResult` (interface) - `ObservationWithContext` (interface) - `TableColumnInfo` (interface) - `IndexInfo` (interface) - `SchemaVersion` (interface) Closes #138 ## Test plan - [x] TypeScript check passes - [x] Verified exports are not used anywhere in codebase via grep
refactor(types): remove unused exports from database.ts
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
2bd4ac57bf
Remove unused exports that are only defined but never imported:
- OBSERVATION_TYPES (const)
- OBSERVATION_CONCEPTS (const)
- ObservationConcept (type)
- ObservationConceptConfig (interface)
- LatestPromptResult (interface)
- ObservationWithContext (interface)
- TableColumnInfo (interface)
- IndexInfo (interface)
- SchemaVersion (interface)

Closes #138

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed refactor/138-cleanup-database-ts from 2bd4ac57bf
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
to d9882a5bc2
All checks were successful
CI / build (pull_request) Successful in 52s
2026-01-24 16:48:19 +00:00
Compare
jonas.hanisch force-pushed refactor/138-cleanup-database-ts from d9882a5bc2
All checks were successful
CI / build (pull_request) Successful in 52s
to 442cc6e44e
All checks were successful
CI / build (pull_request) Successful in 1m3s
2026-01-24 16:49:43 +00:00
Compare
Merge branch 'main' into refactor/138-cleanup-database-ts
All checks were successful
CI / build (pull_request) Successful in 1m18s
54401b9f53
Merge branch 'main' into refactor/138-cleanup-database-ts
All checks were successful
CI / build (pull_request) Successful in 1m16s
212c737e9a
jack merged commit 56ddad72ee into main 2026-01-24 16:56:07 +00:00
Sign in to join this conversation.
No description provided.