import type { AppRouteModule } from '/@/router/types';
import { RoleEnum } from '/@/enums/roleEnum';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const scenes: AppRouteModule = {
  path: '/scenes',
  name: 'Scenes',
  component: LAYOUT,
  redirect: '/scenes/list',
  meta: {
    icon: 'mdi:drama-masks',
    title: t('routes.dashboard.scenes'),
    orderNo: 101,
    roles: [
      RoleEnum.SUPER,
      RoleEnum.PLAT_ADMIN,
      RoleEnum.COMPANY_ADMIN,
      RoleEnum.HOST,
      RoleEnum.STAFF,
    ],
  },
  children: [
    // {
    //   path: 'down',
    //   name: 'ScenesDownload',
    //   component: () => import('/@/views/scenes/download.vue'),
    //   meta: {
    //     title: t('routes.dashboard.scenesDownload'),
    //     icon: 'mdi:box-download',
    //   },
    // },
    {
      path: 'list',
      name: 'ScenesList',
      component: () => import('/@/views/scenes/list.vue'),
      meta: {
        title: t('routes.dashboard.scenesList'),
        icon: 'mdi:drama-masks',
      },
    },
    // {
    //   path: 'live',
    //   name: 'ScenesLive',
    //   component: () => import('/@/views/scenes/live.vue'),
    //   meta: {
    //     title: t('routes.dashboard.scenesLive'),
    //     icon: 'carbon:flow-stream',
    //   },
    // },
  ],
};

export default scenes;
