(state: DenialTrackingState)
| 38 | } |
| 39 | |
| 40 | export function shouldFallbackToPrompting(state: DenialTrackingState): boolean { |
| 41 | return ( |
| 42 | state.consecutiveDenials >= DENIAL_LIMITS.maxConsecutive || |
| 43 | state.totalDenials >= DENIAL_LIMITS.maxTotal |
| 44 | ) |
| 45 | } |
| 46 |
no outgoing calls
no test coverage detected