Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 3x 3x | // Define type aliases for better readability
export type CardType = 'purple' | 'pink' | 'blue';
export type TrendType = 'up' | 'down';
export type ConversionCategory = 'iTunes Card' | 'Amazon Card' | 'Bitcoin';
// Dashboard feature constants
export const DASHBOARD_FEATURE = {
CARD_TYPES: {
PURPLE: 'purple' as CardType,
PINK: 'pink' as CardType,
BLUE: 'blue' as CardType,
},
TREND_TYPES: {
UP: 'up' as TrendType,
DOWN: 'down' as TrendType,
},
CONVERSION_CATEGORIES: {
ITUNES: 'iTunes Card' as ConversionCategory,
AMAZON: 'Amazon Card' as ConversionCategory,
BITCOIN: 'Bitcoin' as ConversionCategory,
},
};
// API endpoints for dashboard backend services
export const DASHBOARD_API_ENDPOINTS = {
OVERVIEW: '/overview',
OVERVIEWS: '/overviews',
CONVERSION_RATES: '/conversion-rates',
STATISTICS: '/statistics',
ANALYTICS: '/analytics',
RECENT_TRANSACTIONS: '/transactions/recent',
TOP_MERCHANTS: '/merchants/top',
};
|