MAI CALL - step 1

This commit is contained in:
pedrogomes committed 2026-05-16 15:21:27 +01:00
1 parent c013b52f59
commit 055d6e2a24
7 files changed
+542 -6

No files matched your search

+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 {