import type { IModuleDefinition } from '../../core/types';
import { MonitoringPage } from './pages/MonitoringPage';
import { CameraManagementPage } from './pages/CameraManagementPage';
import { CctvSettingsPage } from './pages/CctvSettingsPage';

export const cctvModule: IModuleDefinition = {
    moduleName: 'cctv',
    label: 'CCTV',
    basePath: '/monitoring',
    routes: [
        { path: '/live', element: <MonitoringPage />, label: '실시간 관제' },
        { path: '/manage', element: <CameraManagementPage />, label: '장치 관리' },
        { path: '/settings', element: <CctvSettingsPage />, label: '기본 설정' },
    ],
    requiredRoles: ['admin', 'operator', 'user']
};
