iconsulting/packages/shared/src/constants
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
..
api.constants.ts Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
error-codes.constants.ts feat: add enterprise multi-tenancy infrastructure 2026-01-25 18:11:12 -08:00
immigration.constants.ts Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
index.ts Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00