@mercurjs/vendor 2.2.0-canary.17 → 2.2.0-canary.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{[id]-DIGLKVTF.js → [id]-I2SLURKY.js} +1 -1
- package/dist/{add-GLSL6OWC.js → add-XFF273OG.js} +1 -1
- package/dist/{breadcrumb-VOZAYLW3.js → breadcrumb-CLUAJATZ.js} +1 -1
- package/dist/{chunk-REUNEGSN.js → chunk-36WXPGD2.js} +4 -2
- package/dist/{chunk-EXRCJ2KI.js → chunk-ABWPAEYM.js} +1 -1
- package/dist/{create-WJMGS2B7.js → create-XYD4RK4Z.js} +1 -1
- package/dist/{edit-PWIJSQCU.js → edit-SHHOKKZT.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/{media-73TSKPWM.js → media-OJY6FYZZ.js} +1 -1
- package/dist/{product-variant-detail-4Q4YCN3E.js → product-variant-detail-CQCURDL2.js} +1 -1
- package/package.json +1 -1
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
var PRODUCT_DETAIL_FIELDS = [
|
|
3
3
|
"*variants.images",
|
|
4
4
|
// Variant identity used by the active edit-request block (MER-168).
|
|
5
|
-
"
|
|
6
|
-
|
|
5
|
+
// Use `+` so these don't trigger Medusa's "replace defaults" rule
|
|
6
|
+
// (any bare field strips title/description/subtitle from the product).
|
|
7
|
+
"+variants.title",
|
|
8
|
+
"+variants.sku",
|
|
7
9
|
"*categories",
|
|
8
10
|
"+additional_data",
|
|
9
11
|
"*scoped_attributes",
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-RIN4CBRB.js";
|
|
10
10
|
|
|
11
11
|
// src/pages/product-variants/product-variant-detail/loader.ts
|
|
12
|
-
var VARIANT_DETAIL_FIELDS = "*options,*options.option
|
|
12
|
+
var VARIANT_DETAIL_FIELDS = "*options,*options.option,+thumbnail,+images.id,+images.url,+images.rank,+images.variants.id,+product.images.id,+product.images.url,+product.images.rank,+product.images.variants.id";
|
|
13
13
|
var variantDetailQuery = (productId, variantId) => ({
|
|
14
14
|
queryKey: variantsQueryKeys.detail(variantId, { fields: VARIANT_DETAIL_FIELDS }),
|
|
15
15
|
queryFn: async () => sdk.vendor.products.$id.variants.$variantId.query({
|
package/dist/index.js
CHANGED
|
@@ -2922,8 +2922,8 @@ function getRouteMap({
|
|
|
2922
2922
|
{
|
|
2923
2923
|
path: ":id",
|
|
2924
2924
|
lazy: async () => {
|
|
2925
|
-
const { loader } = await import("./[id]-
|
|
2926
|
-
const { Breadcrumb } = await import("./breadcrumb-
|
|
2925
|
+
const { loader } = await import("./[id]-I2SLURKY.js");
|
|
2926
|
+
const { Breadcrumb } = await import("./breadcrumb-CLUAJATZ.js");
|
|
2927
2927
|
return {
|
|
2928
2928
|
Component: Outlet4,
|
|
2929
2929
|
loader,
|
|
@@ -2936,7 +2936,7 @@ function getRouteMap({
|
|
|
2936
2936
|
{
|
|
2937
2937
|
path: "",
|
|
2938
2938
|
lazy: async () => {
|
|
2939
|
-
const { ProductDetailPage } = await import("./[id]-
|
|
2939
|
+
const { ProductDetailPage } = await import("./[id]-I2SLURKY.js");
|
|
2940
2940
|
return {
|
|
2941
2941
|
Component: ProductDetailPage
|
|
2942
2942
|
};
|
|
@@ -2972,11 +2972,11 @@ function getRouteMap({
|
|
|
2972
2972
|
},
|
|
2973
2973
|
{
|
|
2974
2974
|
path: "attributes/add",
|
|
2975
|
-
lazy: () => import("./add-
|
|
2975
|
+
lazy: () => import("./add-XFF273OG.js")
|
|
2976
2976
|
},
|
|
2977
2977
|
{
|
|
2978
2978
|
path: "attributes/:attribute_id/edit",
|
|
2979
|
-
lazy: () => import("./edit-
|
|
2979
|
+
lazy: () => import("./edit-SHHOKKZT.js")
|
|
2980
2980
|
},
|
|
2981
2981
|
{
|
|
2982
2982
|
path: "metadata",
|
|
@@ -2988,7 +2988,7 @@ function getRouteMap({
|
|
|
2988
2988
|
},
|
|
2989
2989
|
{
|
|
2990
2990
|
path: "variants/create",
|
|
2991
|
-
lazy: () => import("./create-
|
|
2991
|
+
lazy: () => import("./create-XYD4RK4Z.js")
|
|
2992
2992
|
}
|
|
2993
2993
|
]
|
|
2994
2994
|
}
|
|
@@ -3661,7 +3661,7 @@ function getRouteMap({
|
|
|
3661
3661
|
path: "/products/:product_id/variants/:variant_id",
|
|
3662
3662
|
errorElement: /* @__PURE__ */ jsx15(ErrorBoundary, {}),
|
|
3663
3663
|
lazy: async () => {
|
|
3664
|
-
const { loader } = await import("./product-variant-detail-
|
|
3664
|
+
const { loader } = await import("./product-variant-detail-CQCURDL2.js");
|
|
3665
3665
|
return {
|
|
3666
3666
|
Component: Outlet4,
|
|
3667
3667
|
loader
|
|
@@ -3670,7 +3670,7 @@ function getRouteMap({
|
|
|
3670
3670
|
children: [
|
|
3671
3671
|
{
|
|
3672
3672
|
path: "",
|
|
3673
|
-
lazy: () => import("./product-variant-detail-
|
|
3673
|
+
lazy: () => import("./product-variant-detail-CQCURDL2.js"),
|
|
3674
3674
|
children: [
|
|
3675
3675
|
{
|
|
3676
3676
|
path: "edit",
|
|
@@ -3678,7 +3678,7 @@ function getRouteMap({
|
|
|
3678
3678
|
},
|
|
3679
3679
|
{
|
|
3680
3680
|
path: "media",
|
|
3681
|
-
lazy: () => import("./media-
|
|
3681
|
+
lazy: () => import("./media-OJY6FYZZ.js")
|
|
3682
3682
|
}
|
|
3683
3683
|
]
|
|
3684
3684
|
}
|