@jetshop/template-trend 5.14.2 → 5.14.4
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/package.json +5 -5
- package/schema.graphql +39 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetshop/template-trend",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "react-scripts build",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@jetshop/core": "^5.14.
|
|
48
|
+
"@jetshop/core": "^5.14.4",
|
|
49
49
|
"@jetshop/flight-shortcodes": "^2.0.10",
|
|
50
|
-
"@jetshop/intl": "^5.14.
|
|
51
|
-
"@jetshop/react-scripts": "^5.14.
|
|
52
|
-
"@jetshop/ui": "^5.14.
|
|
50
|
+
"@jetshop/intl": "^5.14.4",
|
|
51
|
+
"@jetshop/react-scripts": "^5.14.4",
|
|
52
|
+
"@jetshop/ui": "^5.14.4",
|
|
53
53
|
"@react-google-maps/api": "~1.7.0",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
55
|
"react": "^16.9.0",
|
package/schema.graphql
CHANGED
|
@@ -224,6 +224,13 @@ type Category implements Document {
|
|
|
224
224
|
asking for this will result in a separate API call in the backend.
|
|
225
225
|
"""
|
|
226
226
|
data: Content
|
|
227
|
+
|
|
228
|
+
"""
|
|
229
|
+
When set to false, the category will be excluded from sitemap. The frontend
|
|
230
|
+
implementation should use this value to set meta tags to exclude the category
|
|
231
|
+
from being indexed by crawlers. Defaults to true.
|
|
232
|
+
"""
|
|
233
|
+
allowWebIndexing: Boolean
|
|
227
234
|
}
|
|
228
235
|
|
|
229
236
|
type CategoryActiveDateSpan {
|
|
@@ -1386,6 +1393,13 @@ type Page implements Document {
|
|
|
1386
1393
|
returned if they are hidden. The `includeHidden` flag has no effect on this.
|
|
1387
1394
|
"""
|
|
1388
1395
|
subPages(includeHidden: Boolean = true): [Page!]
|
|
1396
|
+
|
|
1397
|
+
"""
|
|
1398
|
+
When set to false, the page will be excluded from sitemap. The frontend
|
|
1399
|
+
implementation should use this value to set meta tags to exclude the page from
|
|
1400
|
+
being indexed by crawlers. Defaults to true.
|
|
1401
|
+
"""
|
|
1402
|
+
allowWebIndexing: Boolean
|
|
1389
1403
|
}
|
|
1390
1404
|
|
|
1391
1405
|
type PagedResult {
|
|
@@ -1540,7 +1554,10 @@ type Product implements Document {
|
|
|
1540
1554
|
badges: [ProductBadge]
|
|
1541
1555
|
|
|
1542
1556
|
"""
|
|
1543
|
-
The current price.
|
|
1557
|
+
The current price.
|
|
1558
|
+
- Will be a Customer specific price if that Customer has a separate price list.
|
|
1559
|
+
- Will be the member price if Customer is logged in and `Product.hasMemberPrice` is true.
|
|
1560
|
+
- Will be the non-member price if Customer is not logged in and `Product.hasMemberPrice` is true.
|
|
1544
1561
|
"""
|
|
1545
1562
|
price: Price
|
|
1546
1563
|
hidePrice: Boolean
|
|
@@ -1571,6 +1588,16 @@ type Product implements Document {
|
|
|
1571
1588
|
"""
|
|
1572
1589
|
priceDateSpan: ProductPriceDateSpan
|
|
1573
1590
|
|
|
1591
|
+
"""Indicates if this product and its variants has member prices."""
|
|
1592
|
+
hasMemberPrice: Boolean
|
|
1593
|
+
|
|
1594
|
+
"""
|
|
1595
|
+
The price a Customer would get if member prices are active and the Customer is logged in.
|
|
1596
|
+
- Will be null if `Product.hasMemberPrice` is false.
|
|
1597
|
+
- Will be set if `Product.hasMemberPrice` is true.
|
|
1598
|
+
"""
|
|
1599
|
+
memberPrice: Price
|
|
1600
|
+
|
|
1574
1601
|
"""
|
|
1575
1602
|
Specifies input field(s) for the Customer to populate on the Product that will then carry through to the Order.
|
|
1576
1603
|
If 'required' is true the Product should not be purchasable until the field is populated.
|
|
@@ -1816,7 +1843,10 @@ type ProductVariant {
|
|
|
1816
1843
|
values: [String]!
|
|
1817
1844
|
|
|
1818
1845
|
"""
|
|
1819
|
-
The current price.
|
|
1846
|
+
The current price.
|
|
1847
|
+
- Will be a Customer specific price if that Customer has a separate price list.
|
|
1848
|
+
- Will be the member price if Customer is logged in and `Product.hasMemberPrice` is true.
|
|
1849
|
+
- Will be the non-member price if Customer is not logged in and `Product.hasMemberPrice` is true.
|
|
1820
1850
|
"""
|
|
1821
1851
|
price: Price
|
|
1822
1852
|
|
|
@@ -1843,6 +1873,13 @@ type ProductVariant {
|
|
|
1843
1873
|
"""The time interval of the discounted price."""
|
|
1844
1874
|
priceDateSpan: ProductPriceDateSpan
|
|
1845
1875
|
|
|
1876
|
+
"""
|
|
1877
|
+
The price a Customer would get if member prices are active and the Customer is logged in.
|
|
1878
|
+
- Will be null if `Product.hasMemberPrice` is false.
|
|
1879
|
+
- Will be set if `Product.hasMemberPrice` is true.
|
|
1880
|
+
"""
|
|
1881
|
+
memberPrice: Price
|
|
1882
|
+
|
|
1846
1883
|
"""
|
|
1847
1884
|
NB: Carries a performance cost, as asking for this will result in a separate API call in the backend.
|
|
1848
1885
|
"""
|