iconsulting/packages/services/file-service/src
hailin 1df5854825 feat(multi-tenant): apply tenant middleware and refactor repositories
- Apply TenantContextMiddleware to all 6 services
- Add SimpleTenantFinder for services without direct tenant DB access
- Add TenantFinderService for evolution-service with database access
- Refactor 8 repositories to extend BaseTenantRepository:
  - user-postgres.repository.ts
  - verification-code-postgres.repository.ts
  - conversation-postgres.repository.ts
  - message-postgres.repository.ts
  - token-usage-postgres.repository.ts
  - file-postgres.repository.ts
  - order-postgres.repository.ts
  - payment-postgres.repository.ts
- Add @iconsulting/shared dependency to evolution-service and knowledge-service
- Configure middleware to exclude health and super-admin paths

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 18:30:31 -08:00
..
adapters feat(multi-tenant): apply tenant middleware and refactor repositories 2026-01-25 18:30:31 -08:00
application refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
domain refactor(services): implement Clean Architecture across 4 services 2026-01-24 21:18:25 -08:00
file refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
health feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
infrastructure/database/postgres/entities feat: add enterprise multi-tenancy infrastructure 2026-01-25 18:11:12 -08:00
app.module.ts feat(multi-tenant): apply tenant middleware and refactor repositories 2026-01-25 18:30:31 -08:00
main.ts feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00