The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
chore: v2.0.0-canary.28
vholikac0a37a8d6ab
diff --git a/packages/admin/package.json b/packages/admin/package.jsonindex c3b03860b..d2d50cb96 100644--- a/packages/admin/package.json+++ b/packages/admin/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/admin",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex e90d71264..5dfe06bb1 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/cli",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/client/package.json b/packages/client/package.jsonindex 32dc4878c..4b40c9224 100644--- a/packages/client/package.json+++ b/packages/client/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/client",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/core-plugin/package.json b/packages/core-plugin/package.jsonindex 241951f72..31343ea2e 100644--- a/packages/core-plugin/package.json+++ b/packages/core-plugin/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/core-plugin",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/core-plugin/src/api/admin/orders/validators.ts b/packages/core-plugin/src/api/admin/orders/validators.tsindex 17c99e7d3..76a43aa70 100644--- a/packages/core-plugin/src/api/admin/orders/validators.ts+++ b/packages/core-plugin/src/api/admin/orders/validators.ts@@ -1,8 +1,24 @@import { z } from "zod"-import { AdminGetOrdersParams as BaseAdminGetOrdersParams } from "@medusajs/medusa/api/admin/orders/validators"+import { createFindParams } from "@medusajs/medusa/api/utils/validators"+import { AdminGetProductsParamsDirectFields } from "@medusajs/medusa/api/admin/products/validators"+import { applyAndAndOrOperators } from "@medusajs/medusa/api/utils/common-validators/common"+import { GetProductsParams } from "@medusajs/medusa/api/utils/common-validators/index"-export const AdminGetOrdersParams = BaseAdminGetOrdersParams.extend({- seller_id: z.union([z.string(), z.array(z.string())]).optional(),+export const AdminGetOrdersParams = createFindParams({+ offset: 0,+ limit: 50,})+ .merge(AdminGetProductsParamsDirectFields)+ .merge(+ z+ .object({+ price_list_id: z.string().array().optional(),+ })+ .merge(applyAndAndOrOperators(AdminGetProductsParamsDirectFields))+ .merge(GetProductsParams)+ .merge(z.object({+ seller_id: z.union([z.string(), z.array(z.string())]).optional(),+ }))+ )export type AdminGetOrdersParamsType = z.infer<typeof AdminGetOrdersParams>diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.jsonindex af6c2a641..878efb3f0 100644--- a/packages/dashboard-sdk/package.json+++ b/packages/dashboard-sdk/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/dashboard-sdk",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.jsonindex 2b5526557..35b7fde6d 100644--- a/packages/dashboard-shared/package.json+++ b/packages/dashboard-shared/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/dashboard-shared",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/types/package.json b/packages/types/package.jsonindex fabb588bb..7a614606c 100644--- a/packages/types/package.json+++ b/packages/types/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/types",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/vendor/package.json b/packages/vendor/package.jsonindex a27507068..dc728c48c 100644--- a/packages/vendor/package.json+++ b/packages/vendor/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/vendor",- "version": "2.0.0-canary.27",+ "version": "2.0.0-canary.28","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",