MAI CALL - step 1

This commit is contained in:
2026-05-16 15:21:27 +01:00
parent c013b52f59
commit 055d6e2a24
7 changed files with 542 additions and 6 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ import type { PrismaClient } from '@prisma/client';
* ============================================================================
*/
const TENANT_SCOPED_MODELS = ['User', 'Workstation', 'DomainEvent'] as const;
const TENANT_SCOPED_MODELS = ['User', 'Workstation', 'DomainEvent', 'MaintenanceRequest'] as const;
type TenantScopedModel = (typeof TENANT_SCOPED_MODELS)[number];
function isTenantScoped(model: string | undefined): model is TenantScopedModel {