- 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> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.json | ||