export default [
  {
    path: "/loja",
    name: "LojaPage",
    component: () => import("pages/loja/LojaPage.vue"),
    meta: {
      title: { value: "ui.navigation.loja", translate: true },
      description: { value: "page.loja.description", translate: true },
      requireAuth: true,
      requiredPermission: "loja",
      breadcrumbs: [{ name: "LojaPage", title: "ui.navigation.loja", translate: true }],
    },
  },
  {
    path: "/loja/produto/novo",
    name: "StoreItemNewPage",
    component: () => import("pages/loja/StoreItemFormPage.vue"),
    meta: {
      title: { value: "ui.navigation.loja", translate: true },
      requireAuth: true,
      requiredPermission: "loja",
      breadcrumbs: [
        { name: "LojaPage", title: "ui.navigation.loja", translate: true },
        { name: "StoreItemNewPage", title: "common.actions.new", translate: true },
      ],
    },
  },
  {
    path: "/loja/produto/:id",
    name: "StoreItemEditPage",
    component: () => import("pages/loja/StoreItemFormPage.vue"),
    meta: {
      title: { value: "ui.navigation.loja", translate: true },
      requireAuth: true,
      requiredPermission: "loja",
      breadcrumbs: [
        { name: "LojaPage", title: "ui.navigation.loja", translate: true },
        { name: "StoreItemEditPage", title: "common.actions.edit", translate: true },
      ],
    },
  },
];
