import { $t } from "@/plugins/i18n";
import { riskWorkorder } from "@/router/enums";

export default {
  path: "/risk-assessment",
  redirect: "/risk-assessment/index",
  meta: {
    icon: "ri:alert-line",
    title: $t("menus.pureRiskAssessment"),
    rank: riskWorkorder
  },
  children: [
    {
      path: "/risk-assessment/index",
      name: "RiskAssessment",
      component: () => import("@/views/risk-assessment/index.vue"),
      meta: {
        title: $t("menus.pureRiskAssessment"),
        icon: "ri:alert-line"
      }
    }
  ]
} satisfies RouteConfigsTable;
