@wix/stores 1.0.966 → 1.0.967
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/_sdk-exports/context-product-by-id-context-provider/runtime.d.ts +7 -4
- package/_sdk-exports/context-product-by-id-context-provider/runtime.js +2 -2
- package/_sdk-exports/context-product-by-slug-context-provider/runtime.d.ts +7 -4
- package/_sdk-exports/context-product-by-slug-context-provider/runtime.js +2 -2
- package/_sdk-exports/context-product-context-provider/runtime.d.ts +11 -5
- package/_sdk-exports/context-product-item-context-provider/runtime.d.ts +7 -4
- package/_sdk-exports/context-product-item-context-provider/runtime.js +2 -2
- package/build/cjs/context-product-by-id-context-provider.d.ts +7 -4
- package/build/cjs/context-product-by-id-context-provider.js +1 -1
- package/build/cjs/context-product-by-id-context-provider.js.map +1 -1
- package/build/cjs/context-product-by-slug-context-provider.d.ts +7 -4
- package/build/cjs/context-product-by-slug-context-provider.js +1 -1
- package/build/cjs/context-product-by-slug-context-provider.js.map +1 -1
- package/build/cjs/context-product-context-provider.d.ts +11 -5
- package/build/cjs/context-product-item-context-provider.d.ts +7 -4
- package/build/cjs/context-product-item-context-provider.js +1 -1
- package/build/cjs/context-product-item-context-provider.js.map +1 -1
- package/build/es/context-product-by-id-context-provider.d.mts +7 -4
- package/build/es/context-product-by-id-context-provider.mjs +1 -1
- package/build/es/context-product-by-id-context-provider.mjs.map +1 -1
- package/build/es/context-product-by-slug-context-provider.d.mts +7 -4
- package/build/es/context-product-by-slug-context-provider.mjs +1 -1
- package/build/es/context-product-by-slug-context-provider.mjs.map +1 -1
- package/build/es/context-product-context-provider.d.mts +11 -5
- package/build/es/context-product-item-context-provider.d.mts +7 -4
- package/build/es/context-product-item-context-provider.mjs +1 -1
- package/build/es/context-product-item-context-provider.mjs.map +1 -1
- package/build/internal/cjs/context-product-by-id-context-provider.d.ts +7 -4
- package/build/internal/cjs/context-product-by-slug-context-provider.d.ts +7 -4
- package/build/internal/cjs/context-product-context-provider.d.ts +11 -5
- package/build/internal/cjs/context-product-item-context-provider.d.ts +7 -4
- package/build/internal/es/context-product-by-id-context-provider.d.mts +7 -4
- package/build/internal/es/context-product-by-slug-context-provider.d.mts +7 -4
- package/build/internal/es/context-product-context-provider.d.mts +11 -5
- package/build/internal/es/context-product-item-context-provider.d.mts +7 -4
- package/package.json +2 -2
|
@@ -3989,13 +3989,16 @@ interface UserInputErrorFields {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
//#endregion
|
|
3991
3991
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3992
|
-
/** Which
|
|
3992
|
+
/** Which place supplied the product to the component. */
|
|
3993
3993
|
declare enum ProductContextSource {
|
|
3994
|
-
/**
|
|
3994
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3995
3995
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3996
|
-
/**
|
|
3996
|
+
/**
|
|
3997
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3998
|
+
* one chosen in the Data Source's settings.
|
|
3999
|
+
*/
|
|
3997
4000
|
PRODUCT_BY_ID = "product-by-id",
|
|
3998
|
-
/**
|
|
4001
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3999
4002
|
PRODUCT_ITEM = "product-item"
|
|
4000
4003
|
}
|
|
4001
4004
|
//#endregion
|
|
@@ -3989,13 +3989,16 @@ interface UserInputErrorFields {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
//#endregion
|
|
3991
3991
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3992
|
-
/** Which
|
|
3992
|
+
/** Which place supplied the product to the component. */
|
|
3993
3993
|
declare enum ProductContextSource {
|
|
3994
|
-
/**
|
|
3994
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3995
3995
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3996
|
-
/**
|
|
3996
|
+
/**
|
|
3997
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3998
|
+
* one chosen in the Data Source's settings.
|
|
3999
|
+
*/
|
|
3997
4000
|
PRODUCT_BY_ID = "product-by-id",
|
|
3998
|
-
/**
|
|
4001
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3999
4002
|
PRODUCT_ITEM = "product-item"
|
|
4000
4003
|
}
|
|
4001
4004
|
//#endregion
|
|
@@ -3925,13 +3925,16 @@ interface SubscriptionPlan {
|
|
|
3925
3925
|
}
|
|
3926
3926
|
//#endregion
|
|
3927
3927
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3928
|
-
/** Which
|
|
3928
|
+
/** Which place supplied the product to the component. */
|
|
3929
3929
|
declare enum ProductContextSource {
|
|
3930
|
-
/**
|
|
3930
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3931
3931
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3932
|
-
/**
|
|
3932
|
+
/**
|
|
3933
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3934
|
+
* one chosen in the Data Source's settings.
|
|
3935
|
+
*/
|
|
3933
3936
|
PRODUCT_BY_ID = "product-by-id",
|
|
3934
|
-
/**
|
|
3937
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3935
3938
|
PRODUCT_ITEM = "product-item"
|
|
3936
3939
|
}
|
|
3937
3940
|
//#endregion
|
|
@@ -3949,7 +3952,10 @@ interface PricePerUnit {
|
|
|
3949
3952
|
interface ProductContextValue {
|
|
3950
3953
|
/** Product's stable catalog ID. */
|
|
3951
3954
|
id: string;
|
|
3952
|
-
/**
|
|
3955
|
+
/**
|
|
3956
|
+
* Which place supplied the product: a product page, the Product Data Source, or a Product Item
|
|
3957
|
+
* in a Product List element. Some properties are `null` in a Product Item, such as `description`.
|
|
3958
|
+
*/
|
|
3953
3959
|
source: ProductContextSource;
|
|
3954
3960
|
/** Product's display name. */
|
|
3955
3961
|
name: string;
|
|
@@ -3974,13 +3974,16 @@ interface UserInputErrorFields {
|
|
|
3974
3974
|
}
|
|
3975
3975
|
//#endregion
|
|
3976
3976
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3977
|
-
/** Which
|
|
3977
|
+
/** Which place supplied the product to the component. */
|
|
3978
3978
|
declare enum ProductContextSource {
|
|
3979
|
-
/**
|
|
3979
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3980
3980
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3981
|
-
/**
|
|
3981
|
+
/**
|
|
3982
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3983
|
+
* one chosen in the Data Source's settings.
|
|
3984
|
+
*/
|
|
3982
3985
|
PRODUCT_BY_ID = "product-by-id",
|
|
3983
|
-
/**
|
|
3986
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3984
3987
|
PRODUCT_ITEM = "product-item"
|
|
3985
3988
|
}
|
|
3986
3989
|
//#endregion
|
|
@@ -3989,13 +3989,16 @@ interface UserInputErrorFields {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
//#endregion
|
|
3991
3991
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3992
|
-
/** Which
|
|
3992
|
+
/** Which place supplied the product to the component. */
|
|
3993
3993
|
declare enum ProductContextSource {
|
|
3994
|
-
/**
|
|
3994
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3995
3995
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3996
|
-
/**
|
|
3996
|
+
/**
|
|
3997
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3998
|
+
* one chosen in the Data Source's settings.
|
|
3999
|
+
*/
|
|
3997
4000
|
PRODUCT_BY_ID = "product-by-id",
|
|
3998
|
-
/**
|
|
4001
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3999
4002
|
PRODUCT_ITEM = "product-item"
|
|
4000
4003
|
}
|
|
4001
4004
|
//#endregion
|
|
@@ -3989,13 +3989,16 @@ interface UserInputErrorFields {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
//#endregion
|
|
3991
3991
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3992
|
-
/** Which
|
|
3992
|
+
/** Which place supplied the product to the component. */
|
|
3993
3993
|
declare enum ProductContextSource {
|
|
3994
|
-
/**
|
|
3994
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3995
3995
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3996
|
-
/**
|
|
3996
|
+
/**
|
|
3997
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3998
|
+
* one chosen in the Data Source's settings.
|
|
3999
|
+
*/
|
|
3997
4000
|
PRODUCT_BY_ID = "product-by-id",
|
|
3998
|
-
/**
|
|
4001
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3999
4002
|
PRODUCT_ITEM = "product-item"
|
|
4000
4003
|
}
|
|
4001
4004
|
//#endregion
|
|
@@ -3925,13 +3925,16 @@ interface SubscriptionPlan {
|
|
|
3925
3925
|
}
|
|
3926
3926
|
//#endregion
|
|
3927
3927
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3928
|
-
/** Which
|
|
3928
|
+
/** Which place supplied the product to the component. */
|
|
3929
3929
|
declare enum ProductContextSource {
|
|
3930
|
-
/**
|
|
3930
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3931
3931
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3932
|
-
/**
|
|
3932
|
+
/**
|
|
3933
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3934
|
+
* one chosen in the Data Source's settings.
|
|
3935
|
+
*/
|
|
3933
3936
|
PRODUCT_BY_ID = "product-by-id",
|
|
3934
|
-
/**
|
|
3937
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3935
3938
|
PRODUCT_ITEM = "product-item"
|
|
3936
3939
|
}
|
|
3937
3940
|
//#endregion
|
|
@@ -3949,7 +3952,10 @@ interface PricePerUnit {
|
|
|
3949
3952
|
interface ProductContextValue {
|
|
3950
3953
|
/** Product's stable catalog ID. */
|
|
3951
3954
|
id: string;
|
|
3952
|
-
/**
|
|
3955
|
+
/**
|
|
3956
|
+
* Which place supplied the product: a product page, the Product Data Source, or a Product Item
|
|
3957
|
+
* in a Product List element. Some properties are `null` in a Product Item, such as `description`.
|
|
3958
|
+
*/
|
|
3953
3959
|
source: ProductContextSource;
|
|
3954
3960
|
/** Product's display name. */
|
|
3955
3961
|
name: string;
|
|
@@ -3974,13 +3974,16 @@ interface UserInputErrorFields {
|
|
|
3974
3974
|
}
|
|
3975
3975
|
//#endregion
|
|
3976
3976
|
//#region src/extensions/product/providers/product-context/constants.d.ts
|
|
3977
|
-
/** Which
|
|
3977
|
+
/** Which place supplied the product to the component. */
|
|
3978
3978
|
declare enum ProductContextSource {
|
|
3979
|
-
/**
|
|
3979
|
+
/** A product page. The product is the one whose slug is in the page's URL. */
|
|
3980
3980
|
PRODUCT_BY_SLUG = "product-by-slug",
|
|
3981
|
-
/**
|
|
3981
|
+
/**
|
|
3982
|
+
* A page, container, or section that the Product Data Source is attached to. The product is the
|
|
3983
|
+
* one chosen in the Data Source's settings.
|
|
3984
|
+
*/
|
|
3982
3985
|
PRODUCT_BY_ID = "product-by-id",
|
|
3983
|
-
/**
|
|
3986
|
+
/** A Product Item in a Product List element. The product is that item's product. */
|
|
3984
3987
|
PRODUCT_ITEM = "product-item"
|
|
3985
3988
|
}
|
|
3986
3989
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.967",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -228,5 +228,5 @@
|
|
|
228
228
|
"optional": true
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
|
-
"falconPackageHash": "
|
|
231
|
+
"falconPackageHash": "a508f92fd3a160f2a27a65d2ca39b604cc2afc393f44897a0b6666ec"
|
|
232
232
|
}
|