/**
 * Offers feature module (@maestro/core).
 */
import OffersIndex from "./views/OffersIndex.vue";
import OfferEditor from "./views/OfferEditor.vue";

export const offerRoutes = [
  {
    path: "offers",
    name: "offers",
    meta: {
      module: "offers",
      permission: "offers.view",
      breadcrumb: ["Offertes"],
      title: "Offertes",
    },
    component: OffersIndex,
  },
  {
    path: "offers/:id",
    name: "offers-edit",
    meta: {
      module: "offers",
      permission: "offers.edit",
      breadcrumb: ["Offertes"],
      title: "Offerte bewerken",
    },
    component: OfferEditor,
  },
];

export { default as OffersIndex } from "./views/OffersIndex.vue";
export { default as OfferEditor } from "./views/OfferEditor.vue";
