feat: fetch views manually and worker

This commit is contained in:
Artem Tsyrulnikov
2025-11-12 23:55:44 +03:00
parent 292bb0d49b
commit a48d5e67cb
28 changed files with 632 additions and 135 deletions

View File

@@ -87,6 +87,7 @@ The codebase follows a clean architecture pattern with clear separation of conce
- Each use case is a standalone function
- Depends on Protocol interfaces (Database, TelegramWriter, JWTEncoder)
- Use cases are assembled in the `Usecase` dataclass for dependency injection
- Один use case отвечает за полноценный сценарий «от триггера до завершения» и не должен вызывать другие use case'ы напрямую (общую логику выносить в хелперы/сервисы внутри того же модуля)
3. **Adapter Layer** (`src/adapter/`)
- Concrete implementations of protocol interfaces: