import type { AppRouteModule } from '/@/router/types';

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

const dashboard: AppRouteModule = {
  path: '/burialPoint',
  name: 'BurialPoint',
  component: LAYOUT,
  redirect: '/burialPoint/index',
  meta: {
    title: t('埋点系统'),
  },
  children: [
    {
      path: 'index',
      name: 'Index',
      component: () => import('/@/views/burialPoint/index.vue'),
      meta: {
        title: t('应用管理'),
      },
    },
    {
      path: 'eventLog',
      name: 'EventLog',
      component: () => import('/@/views/burialPoint/eventLog.vue'),
      meta: {
        title: t('日志管理'),
      },
    },
  ],
};

export default dashboard;
