(type: RateLimitType)
| 85 | } |
| 86 | |
| 87 | export function getRateLimitDisplayName(type: RateLimitType): string { |
| 88 | return RATE_LIMIT_DISPLAY_NAMES[type] || type |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Calculate what fraction of a time window has elapsed. |
nothing calls this directly
no outgoing calls
no test coverage detected