export default { routes: [ { method: "POST", path: "/products", handler: "product.create", config: { policies: [] } }, { method: "GET", path: "/products", handler: "product.find", config: { policies: [] } }, { method: "GET", path: "/promo-products", handler: "product.findCheapest", config: { auth: false, policies: [] } }, { method: "GET", path: "/sitemap/products", handler: "product.sitemap", config: { auth: false, policies: [] } }, { method: "PUT", path: "/products/:id", handler: "product.update", config: { policies: [] } }, { method: "GET", path: "/products/:id", handler: "product.findOne", config: { auth: false, policies: [] } }, { method: "GET", path: "/products/:id/variants/all", handler: "product.allVariants", config: { auth: false, policies: [] } }, { method: "GET", path: "/products/:id/variants/pattern", handler: "product.variantsByPattern", config: { auth: false, policies: [] } }, { method: "GET", path: "/products/:id/variants", handler: "product.variants", config: { auth: false, policies: [] } }, { method: "POST", path: "/products/publish", handler: "product.publishByFilter", config: { policies: [] } } ] };