mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-05-10 07:15:09 +02:00
50 lines
930 B
TypeScript
50 lines
930 B
TypeScript
import {
|
|
BarChart3,
|
|
Database,
|
|
Info,
|
|
MonitorCog,
|
|
RadioTower,
|
|
Share2,
|
|
SlidersHorizontal,
|
|
type LucideIcon,
|
|
} from 'lucide-react';
|
|
|
|
export type SettingsSection =
|
|
| 'radio'
|
|
| 'local'
|
|
| 'radio-app'
|
|
| 'database'
|
|
| 'fanout'
|
|
| 'statistics'
|
|
| 'about';
|
|
|
|
export const SETTINGS_SECTION_ORDER: SettingsSection[] = [
|
|
'radio',
|
|
'local',
|
|
'fanout',
|
|
'radio-app',
|
|
'database',
|
|
'statistics',
|
|
'about',
|
|
];
|
|
|
|
export const SETTINGS_SECTION_LABELS: Record<SettingsSection, string> = {
|
|
radio: 'Radio',
|
|
local: 'Local Configuration',
|
|
'radio-app': 'Radio-App Management',
|
|
database: 'Database',
|
|
fanout: 'MQTT & Automation',
|
|
statistics: 'Statistics',
|
|
about: 'About',
|
|
};
|
|
|
|
export const SETTINGS_SECTION_ICONS: Record<SettingsSection, LucideIcon> = {
|
|
radio: RadioTower,
|
|
local: MonitorCog,
|
|
'radio-app': SlidersHorizontal,
|
|
database: Database,
|
|
fanout: Share2,
|
|
statistics: BarChart3,
|
|
about: Info,
|
|
};
|