candle-annotator/src
Marko Djordjevic 5c5701b080 task 9.7: replace duplicate interfaces with @/types imports
Replace locally-defined duplicate interfaces in page.tsx,
CandleChart.tsx, SpanAnnotationManager.tsx, Toolbox.tsx,
SpanAnnotationList.tsx, and SpanPopover.tsx with imports from @/types.

- SpanAnnotation, SpanLabelType: replaced in all 6 files
- Candle, AnnotationType: replaced in CandleChart.tsx, SpanAnnotationManager.tsx, Toolbox.tsx
- Annotation (with geometry): replaced in CandleChart.tsx and Toolbox.tsx
- Chart: kept local in page.tsx (shared type has created_at: Date|number vs local number)
- Annotation in page.tsx: kept local (geometry: any) but added missing color field for compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 15:49:30 +01:00
..
app task 9.7: replace duplicate interfaces with @/types imports 2026-02-18 15:49:30 +01:00
components task 9.7: replace duplicate interfaces with @/types imports 2026-02-18 15:49:30 +01:00
lib fix: replace all SQLite references with PostgreSQL in scripts and lazy-init db connection 2026-02-17 23:48:47 +01:00
plugins fix: resolve TypeScript narrowing errors and renamed lightweight-charts exports 2026-02-16 16:05:54 +01:00
types task 9.6: create src/types/index.ts barrel file re-exporting all types 2026-02-18 15:45:58 +01:00
middleware.ts feat: add API key auth middleware for /api/* routes (task 3.1) 2026-02-18 11:02:51 +01:00