export default [
  {
    path: "/cadastros/usuarios/criar",
    name: "UserAddPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: {
        value: "Cadastro de Usuário",
        translate: false,
      },
      requireAuth: true,
      requiredPermission: "franchisor_registrations",
      breadcrumbs: [
        {
          name: "CadastrosPage",
          title: "Cadastros",
        },
        {
          name: "UserAddPage",
          title: "Cadastro de Usuário",
        },
      ],
    },
  },
  {
    path: "/cadastros/usuarios/:id",
    name: "UserEditPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: {
        value: "Editar Usuário",
        translate: false,
      },
      requireAuth: true,
      requiredPermission: "franchisor_registrations",
      breadcrumbs: [
        {
          name: "CadastrosPage",
          title: "Cadastros",
        },
        {
          name: "UserEditPage",
          title: "Editar Usuário",
        },
      ],
    },
  },
  {
    path: "/cadastros",
    name: "CadastrosPage",
    component: () => import("pages/cadastros/CadastrosPage.vue"),
    meta: {
      title: {
        value: "Cadastros",
        translate: false,
      },
      requireAuth: true,
      requiredPermission: "franchisor_registrations",
      breadcrumbs: [
        {
          name: "CadastrosPage",
          title: "Cadastros",
        },
      ],
    },
  },
];
