// Navigation metadata shared by the layout and the page routes. const navLinks = [ { href: '/', key: 'dashboard', label: 'Dashboard' }, { href: '/workers', key: 'workers', label: 'Workers' }, { href: '/workflows', key: 'workflows', label: 'Workflows' }, { href: '/executions', key: 'executions', label: 'Executions' }, { href: '/quick', key: 'quick', label: 'Quick Command' }, { href: '/scheduler', key: 'scheduler', label: 'Scheduler' } ]; // Page route table: { path, view, key, title } // `view` is the basename of views/pages/.ejs and of /assets/pages/.js const PAGES = [ { path: '/', view: 'dashboard', key: 'dashboard', title: 'Dashboard' }, { path: '/workers', view: 'workers', key: 'workers', title: 'Workers' }, { path: '/workflows', view: 'workflows', key: 'workflows', title: 'Workflows' }, { path: '/executions', view: 'executions', key: 'executions', title: 'Executions' }, { path: '/quick', view: 'quick', key: 'quick', title: 'Quick Command' }, { path: '/scheduler', view: 'scheduler', key: 'scheduler', title: 'Scheduler' } ]; module.exports = { navLinks, PAGES };