Persistent TenantAiPolicy backed by tenant_ai_config table. Returns defaultDenyPolicy (AI OFF) for unconfigured tenants.
Generated
Executes constructor.
constructor
The db value.
db
The function result.
Objective: In module packages/db/src/repositories/ai-tenant-policy.repository.ts, run constructor.
packages/db/src/repositories/ai-tenant-policy.repository.ts
Behavior: accepts db; returns a value.
Private
Executes resolve.
resolve
The tenantId value.
tenantId
Objective: In module packages/db/src/repositories/ai-tenant-policy.repository.ts, run resolve.
Behavior: Async; accepts tenantId; returns a value; invokes this.db .select() .from(tenantAiConfig) .where(eq(tenantAiCo.
this.db .select() .from(tenantAiConfig) .where(eq(tenantAiCo
Persistent TenantAiPolicy backed by tenant_ai_config table. Returns defaultDenyPolicy (AI OFF) for unconfigured tenants.