(category)
| 27 | export const PROTECTED_COMMANDS = new Set(['commands', 'configwizard']); |
| 28 | |
| 29 | export function normalizeCategoryKey(category) { |
| 30 | return String(category || '') |
| 31 | .trim() |
| 32 | .toLowerCase() |
| 33 | .replace(/\s+/g, '_'); |
| 34 | } |
| 35 | |
| 36 | export function formatCategoryName(rawCategory) { |
| 37 | return String(rawCategory || '') |
no outgoing calls
no test coverage detected