(raw: string | undefined)
| 97 | } |
| 98 | |
| 99 | export function resolveSessionIsolationMode(raw: string | undefined): SessionIsolationMode { |
| 100 | const normalized = (raw ?? '').trim().toLowerCase(); |
| 101 | if (normalized === 'tenant') return 'tenant'; |
| 102 | return 'none'; |
| 103 | } |
| 104 | |
| 105 | export function normalizeTenantId(raw: string | undefined): string | undefined { |
| 106 | if (!raw) return undefined; |
no outgoing calls
no test coverage detected