prorm API Reference
    Preparing search index...

    Interface TenantIsolationDecoratorOptions

    interface TenantIsolationDecoratorOptions {
        tenantId: string;
        auditEnabled?: boolean;
        encryptFields?: string[];
        requiredRoles?: string[];
    }
    Index
    tenantId: string

    The field name that holds the tenant ID

    auditEnabled?: boolean

    Enable audit logging for this model

    encryptFields?: string[]

    Fields to encrypt

    requiredRoles?: string[]

    Required roles to access