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