iconsulting/packages/services/file-service
hailin 422069be68 feat: add enterprise multi-tenancy infrastructure
- Add shared tenant module with AsyncLocalStorage-based context management
- Create TenantContextService, TenantContextMiddleware, TenantGuard
- Add @TenantId(), @Tenant(), @RequireFeatures() decorators
- Create BaseTenantRepository for automatic tenant filtering
- Add TenantORM entity for tenants table
- Add tenant_id column to all 16 ORM entities across 6 services
- Create database migration script for multi-tenancy support
- Add tenant-related error codes

This implements row-level isolation for 100% data separation between tenants.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 18:11:12 -08:00
..
src feat: add enterprise multi-tenancy infrastructure 2026-01-25 18:11:12 -08:00
Dockerfile feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
nest-cli.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
package.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
tsconfig.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00