export default [
  {
    path: "/unit/me",
    name: "UnitDataPage",
    component: () => import("pages/unit/UnitActionPage.vue"),
    meta: {
      title: { value: "Dados da Unidade", translate: false },
      requireAuth: true,
      breadcrumbs: [
        {
          name: "UnitDataPage",
          title: "Dados da Unidade",
        },
      ],
    },
  },
  {
    path: "/unit/:id/edit",
    name: "UnitEditPage",
    component: () => import("pages/unit/UnitActionPage.vue"),
    meta: {
      title: {
        value: "Editar Unidade",
        translate: false,
      },
      requireAuth: true,
      requiredPermission: "unit",
      breadcrumbs: [
        {
          name: "FranchiseePage",
          title: "Franqueados",
        },
        {
          name: "UnitEditPage",
          title: "Editar Unidade",
        },
      ],
    },
  },
];
