webapp/src/modules
padreug 7a32085ee1 Migrate InvoiceService to dependency injection pattern
- Add INVOICE_SERVICE token to DI container
- Register InvoiceService in base module with proper lifecycle
- Update market store to use dependency injection instead of singleton
- Remove exported singleton from InvoiceService class
- Add comprehensive migration documentation with examples
- Maintain type safety with proper TypeScript interfaces

This migration eliminates the legacy singleton pattern and improves:
- Testability through service injection
- Modular architecture with clear boundaries
- Single source of truth for service instances
- Consistent dependency injection patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 01:10:55 +02:00
..
base Migrate InvoiceService to dependency injection pattern 2025-09-07 01:10:55 +02:00
chat Refactor authentication architecture to eliminate dual auth complexity 2025-09-07 00:47:02 +02:00
events Refactor authentication architecture to eliminate dual auth complexity 2025-09-07 00:47:02 +02:00
market Migrate InvoiceService to dependency injection pattern 2025-09-07 01:10:55 +02:00
nostr-feed 1.3.5 Module Registration Pattern: Add BaseModulePlugin abstraction 2025-09-06 12:16:40 +02:00