"""Static configuration for dashboard sections. Mirrors the seven instances in frontend/src/App.vue. """ from dataclasses import dataclass @dataclass(frozen=True) class Section: """A dashboard section backed by one feed-status API endpoint.""" id: str title: str apipath: str kind: str SECTIONS = ( Section( id='fact-analytics', title='Feed Ingestion - Fact Analytics Status', apipath='/ingestion_feed/all/status', kind='ingestion', ), Section( id='yt-theorchard', title='Feed Ingestion - Youtube Bulk and Facts Status TheOrchard', apipath='/ingestion_feed/youtube_bulk/status', kind='ingestion', ), Section( id='yt-sme', title='Feed Ingestion - Youtube Bulk and Facts Status SME', apipath='/ingestion_feed/youtube_bulk_sme/status', kind='ingestion', ), Section( id='marketshare', title='Market Share Feed Status', apipath='/marketshare_feeds/status', kind='ingestion', ), Section( id='monthly', title='Monthly Feed Status', apipath='/monthly_feeds/status', kind='ingestion', ), Section( id='outgoing', title='Feed Sender Status', apipath='/outgoing_feed/all/status', kind='outgoing', ), Section( id='activity_detector', title='Activity Detector Status', apipath='/activity_detector_feed/all/status', kind='activity_detector', ), )