@ikas/code-components-mcp 1.4.0-beta.221 → 1.4.0-beta.223
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/data/storefront-api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"generatedAt": "2026-10-20T08:18:31.625Z",
|
|
3
3
|
"functions": [
|
|
4
4
|
{
|
|
5
5
|
"name": "apiListProductBrand",
|
|
@@ -5923,6 +5923,34 @@
|
|
|
5923
5923
|
"IkasProductStockLocations"
|
|
5924
5924
|
]
|
|
5925
5925
|
},
|
|
5926
|
+
{
|
|
5927
|
+
"name": "updateProductPrices",
|
|
5928
|
+
"displayName": "updatePrices",
|
|
5929
|
+
"signature": "async function updateProductPrices(product: IkasProduct): Promise<void>",
|
|
5930
|
+
"description": "Re-fetch the latest variant prices of a product and apply them in place.\nUseful when the page is served from cache but prices change frequently (e.g. gold prices),\ncall it once the product is mounted on the browser.",
|
|
5931
|
+
"params": [
|
|
5932
|
+
{
|
|
5933
|
+
"name": "product",
|
|
5934
|
+
"description": "- The product to refresh prices for (modified in place)"
|
|
5935
|
+
}
|
|
5936
|
+
],
|
|
5937
|
+
"returns": "void",
|
|
5938
|
+
"returnType": "Promise<void>",
|
|
5939
|
+
"example": "```typescript\nimport { updateProductPrices } from \"@ikas/bp-storefront\";\n\nuseEffect(() => {\n updateProductPrices(product);\n}, [product]);\n```",
|
|
5940
|
+
"categories": [
|
|
5941
|
+
"Product",
|
|
5942
|
+
"Pricing"
|
|
5943
|
+
],
|
|
5944
|
+
"related": [
|
|
5945
|
+
"updateProductListPrices",
|
|
5946
|
+
"getProductVariantFormattedFinalPrice"
|
|
5947
|
+
],
|
|
5948
|
+
"isAsync": true,
|
|
5949
|
+
"isClass": false,
|
|
5950
|
+
"parameterTypes": [
|
|
5951
|
+
"IkasProduct"
|
|
5952
|
+
]
|
|
5953
|
+
},
|
|
5926
5954
|
{
|
|
5927
5955
|
"name": "getProductOptionSet",
|
|
5928
5956
|
"signature": "async function getProductOptionSet(product: IkasProduct): Promise<boolean>",
|
|
@@ -9352,6 +9380,34 @@
|
|
|
9352
9380
|
"IkasProductList"
|
|
9353
9381
|
]
|
|
9354
9382
|
},
|
|
9383
|
+
{
|
|
9384
|
+
"name": "updateProductListPrices",
|
|
9385
|
+
"displayName": "updatePrices",
|
|
9386
|
+
"signature": "async function updateProductListPrices(list: IkasProductList): Promise<void>",
|
|
9387
|
+
"description": "Re-fetches the latest variant prices of the products in the list and applies them in place.\nUseful when the page is served from cache but prices change frequently (e.g. gold prices),\ncall it once the list is mounted on the browser.",
|
|
9388
|
+
"params": [
|
|
9389
|
+
{
|
|
9390
|
+
"name": "list",
|
|
9391
|
+
"description": "- The product list to refresh prices for"
|
|
9392
|
+
}
|
|
9393
|
+
],
|
|
9394
|
+
"returns": "void",
|
|
9395
|
+
"returnType": "Promise<void>",
|
|
9396
|
+
"example": "```typescript\nimport { updateProductListPrices } from \"@ikas/bp-storefront\";\n\nuseEffect(() => {\n updateProductListPrices(productList);\n}, [productList]);\n```",
|
|
9397
|
+
"categories": [
|
|
9398
|
+
"ProductList",
|
|
9399
|
+
"Pricing"
|
|
9400
|
+
],
|
|
9401
|
+
"related": [
|
|
9402
|
+
"updateProductPrices",
|
|
9403
|
+
"getProductListPage"
|
|
9404
|
+
],
|
|
9405
|
+
"isAsync": true,
|
|
9406
|
+
"isClass": false,
|
|
9407
|
+
"parameterTypes": [
|
|
9408
|
+
"IkasProductList"
|
|
9409
|
+
]
|
|
9410
|
+
},
|
|
9355
9411
|
{
|
|
9356
9412
|
"name": "setSortType",
|
|
9357
9413
|
"signature": "async function setSortType(list: IkasProductList, sortType: IkasProductListSortType): Promise<void>",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"generatedAt": "2026-10-20T08:18:31.665Z",
|
|
3
3
|
"types": [
|
|
4
4
|
{
|
|
5
5
|
"name": "TextElementTagTypes",
|
|
@@ -10167,6 +10167,7 @@
|
|
|
10167
10167
|
"selectVariantValue",
|
|
10168
10168
|
"getProductCampaigns",
|
|
10169
10169
|
"getProductAvailableStockLocations",
|
|
10170
|
+
"updateProductPrices",
|
|
10170
10171
|
"getProductOptionSet",
|
|
10171
10172
|
"initBundleProducts",
|
|
10172
10173
|
"getBundleProductsOfVariant",
|
|
@@ -11706,6 +11707,7 @@
|
|
|
11706
11707
|
"getProductListPrevPage",
|
|
11707
11708
|
"getProductListNextPage",
|
|
11708
11709
|
"getProductListPage",
|
|
11710
|
+
"updateProductListPrices",
|
|
11709
11711
|
"setSortType",
|
|
11710
11712
|
"getProductListSortTypeTranslation",
|
|
11711
11713
|
"translateProductListSortType",
|