Files
igny8/frontend/src/utils/index.ts
2025-11-09 10:27:02 +00:00

32 lines
757 B
TypeScript

/**
* Global Utilities Index
* Central export point for reusable utilities across the application
*
* This file makes commonly used utilities easily accessible throughout the app
* without needing to know specific file paths.
*/
// Difficulty utilities - used across multiple pages (Keywords, Clusters, Ideas, etc.)
export {
DIFFICULTY_RANGES,
getDifficultyNumber,
getDifficultyLabel,
getDifficultyRange,
getDifficultyLabels,
getDifficultyNumberFromLabel,
getDifficultyLabelFromNumber,
getDifficultyOptions,
getDifficultyValueFromNumber,
type DifficultyLabel,
} from './difficulty';
// Date utilities
export {
formatRelativeDate,
formatDate,
formatDateTime,
} from './date';
// Add other global utilities here as needed