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

export const LoglistRoute: AppRouteRecordRaw = {
  path: '/loglist',
  name: 'Loglist',
  redirect: '/loglist/index',
  component: LAYOUT,
  meta: {
    title: t('routes.dashboard.loglist'),
    icon: 'ic:baseline-receipt-long',
    orderNo: 11,
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'index',
      name: 'LogListIndex',
      component: () => import('/@/views/loglist/index.vue'),
      meta: {
        title: t('routes.dashboard.loglist'),
        hideBreadcrumb: true,
      },
    },
  ],
};
export default LoglistRoute;
