export default [
  {
    path: "/contracts",
    name: "ContractsPage",
    component: () => import("pages/contracts/ContractsPage.vue"),
    meta: {
      title: "Contratos",
      requireAuth: true,
      breadcrumbs: [
        {
          name: "ContractsPage",
          title: "Contratos",
        },
      ],
    },
  },
  {
    path: "/students",
    name: "StudentPage",
    component: () => import("pages/students/StudentPage.vue"),
    meta: {
      title: "Alunos",
      requireAuth: true,
      breadcrumbs: [
        {
          name: "StudentPage",
          title: "Alunos",
        },
      ],
    },
  },
  {
    path: "/city",
    name: "CityPage",
    component: () => import("pages/city/CityPage.vue"),
    meta: {
      title: {
        value: "ui.navigation.city",
        translate: true,
      },
      description: {
        value: "page.city.description",
        translate: true,
      },
      requireAuth: true,
      requiredPermission: "config.city",
      breadcrumbs: [
        {
          name: "CityPage",
          title: "ui.navigation.city",
          translate: true,
        },
      ],
    },
  },
  {
    path: "/country",
    name: "CountryPage",
    component: () => import("pages/country/CountryPage.vue"),
    meta: {
      title: {
        value: "ui.navigation.country",
        translate: true,
      },
      description: {
        value: "page.country.description",
        translate: true,
      },
      requireAuth: true,
      requiredPermission: "config.country",
      breadcrumbs: [
        {
          name: "CountryPage",
          title: "ui.navigation.country",
          translate: true,
        },
      ],
    },
  },
  {
    path: "/state",
    name: "StatePage",
    component: () => import("pages/state/StatePage.vue"),
    meta: {
      title: {
        value: "ui.navigation.state",
        translate: true,
      },
      description: {
        value: "page.state.description",
        translate: true,
      },
      requireAuth: true,
      requiredPermission: "config.state",
      breadcrumbs: [
        {
          name: "StatePage",
          title: "ui.navigation.state",
          translate: true,
        },
      ],
    },
  },
  {
    path: "/users/create",
    name: "UserAddPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: "Cadastro de Usuário",
      requireAuth: true,
      breadcrumbs: [
        { name: "UsersPage", title: "Usuários" },
        { name: "UserAddPage", title: "Cadastro de Usuário" },
      ],
    },
  },
  {
    path: "/users/:id/edit",
    name: "UserEditPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: "Editar Usuário",
      requireAuth: true,
      breadcrumbs: [
        { name: "UsersPage", title: "Usuários" },
        { name: "UserEditPage", title: "Editar Usuário" },
      ],
    },
  },
  {
    path: "/users",
    name: "UsersPage",
    component: () => import("pages/users/UsersPage.vue"),
    meta: {
      title: {
        value: "ui.navigation.users",
        translate: true,
      },
      description: {
        value: "page.users.description",
        translate: true,
      },
      requireAuth: true,
      breadcrumbs: [
        {
          name: "UsersPage",
          title: "ui.navigation.users",
          translate: true,
        },
      ],
    },
  },
];
