export default [
  {
    path: "services",
    name: "ServicesPage",
    component: () => import("pages/services/ServicesPage.vue"),
    meta: {
      title: "Serviços",
      requireAuth: true,
      requiredPermission: "config.city",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          name: "ServicesPage",
          title: "Serviços",
        },
      ],
    },
  },
  {
    path: "services/create",
    name: "ServicesCreatePage",
    component: () => import("pages/services/ServicesActionsPage.vue"),
    meta: {
      title: "Criar Serviço",
      requireAuth: true,
      requiredPermission: "config",
    },
  },
  {
    path: "services/:id",
    name: "ServicesEditPage",
    component: () => import("pages/services/ServicesActionsPage.vue"),
    meta: {
      title: "Editar Serviço",
      requireAuth: true,
      requiredPermission: "config",
    },
  },
  {
    path: "providers",
    name: "ProvidersPage",
    component: () => import("pages/providers/ProvidersPage.vue"),
    meta: {
      title: "Prestadores",
      requireAuth: true,
      requiredPermission: "config",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          name: "ServicesPage",
          title: "Serviços",
        },
        {
          name: "ProvidersPage",
          title: "Prestadores",
        },
      ],
    },
  },
  {
    path: "providers/create",
    name: "ProvidersCreatePage",
    component: () => import("pages/providers/ProvidersActionsPage.vue"),
    meta: {
      title: "Criar Prestador",
      requireAuth: true,
      requiredPermission: "config",
    },
  },
  {
    path: "providers/:id",
    name: "ProvidersEditPage",
    component: () => import("pages/providers/ProvidersActionsPage.vue"),
    meta: {
      title: "Editar Prestador",
      requireAuth: true,
      requiredPermission: "config",
    },
  },
  {
    path: "payments",
    name: "PaymentsPage",
    component: () => import("pages/payments/PaymentsPage.vue"),
    meta: {
      title: "Serviços Solicitados e Pgto",
      requireAuth: true,
      requiredPermission: "config",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          name: "ServicesPage",
          title: "Serviços",
        },
        {
          name: "PaymentsPage",
          title: "Serviços Solicitados e Pgto",
        },
      ],
    },
  },
  {
    path: "payments/:id",
    name: "PaymentEditPage",
    component: () => import("pages/payments/PaymentActionsPage.vue"),
    meta: {
      title: "Ajustar Serviço",
      requireAuth: true,
      requiredPermission: "config",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          name: "PaymentPage",
          title: "Serviços Solicitados e Pgto",
        },
        {
          name: "PaymentEditPage",
          title: "Ajustar Serviço",
        },
      ],
    },
  },
];
