import type { AppRouteRecordRaw } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
import { LAYOUT } from '/@/router/constant';

export const SceneRoute: AppRouteRecordRaw = {
  path: '/scene',
  name: 'Scene',
  redirect: '/scene/list',
  component: LAYOUT,
  meta: {
    title: t('routes.dashboard.scene'),
    icon: 'carbon:carbon-for-ibm-product',
    orderNo: 5,
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'list',
      name: 'SceneList',
      component: () => import('/@/views/scene/list.vue'),
      meta: {
        title: t('routes.dashboard.cameraScene'),
        hideMenu: true,
        hideBreadcrumb: true,
      },
    },
  ],
};
export default SceneRoute;
