@faststore/core 3.95.1-dev.0 → 3.96.0-dev.17
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +54 -54
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +6 -6
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/7098.js +1 -1
- package/.next/server/chunks/948.js +1 -1
- package/.next/server/chunks/9563.js +3 -3
- package/.next/server/chunks/9630.js +7 -7
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/api/graphql.js +3 -3
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/Yo88n9O6FrhtIc3GGfGv9/_buildManifest.js +1 -0
- package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
- package/.next/static/chunks/{2500.d6beb5af6ee00a9e.js → 2500.b188ad84b5a0a521.js} +1 -1
- package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-e43007cdde83bc1f.js} +1 -1
- package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
- package/.next/static/chunks/pages/{404-4b3f1e22c77f849a.js → 404-f04d51a89ab8e8c8.js} +1 -1
- package/.next/static/chunks/pages/{500-bb2de0c11524b2b8.js → 500-b3cd1219951eb7d1.js} +1 -1
- package/.next/static/chunks/pages/{[...slug]-3579b3b8b8309552.js → [...slug]-28b3f75a1b2b22b8.js} +1 -1
- package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-f3b7653e4bd1ba57.js} +1 -1
- package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-38f75642a57fe506.js} +1 -1
- package/.next/static/chunks/pages/{checkout-dc07d72b3514c83d.js → checkout-9a253c6c2498d41f.js} +1 -1
- package/.next/static/chunks/pages/{index-1f8bf0fb351b90f4.js → index-f522924c892c46dd.js} +1 -1
- package/.next/static/chunks/pages/{login-e97ef92769456bf6.js → login-1d364797aaa9da36.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{403-91597100f8956385.js → 403-2105ed93b3e3e58e.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{404-c68124bed7cb7c48.js → 404-2e555481b1a4f63b.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-2bd9adec59ae1ed3.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{orders-12a215899ae6f3eb.js → orders-4d66173a6e6282a1.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{profile-b6cdbf02d4682544.js → profile-1799ddf1749086aa.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{security-e6289a40e745d3c4.js → security-f2734d61da9099db.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{user-details-fba1822e52e7de26.js → user-details-c8636b99b6725815.js} +1 -1
- package/.next/static/chunks/pages/{s-41cffb20de1d2617.js → s-603fab8b09726274.js} +1 -1
- package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-3cd689c2fd3d4dd1.js} +1 -1
- package/.next/trace +138 -138
- package/.turbo/turbo-build.log +17 -17
- package/.turbo/turbo-test.log +8 -7
- package/@generated/gql.ts +2 -2
- package/@generated/graphql.ts +6 -1
- package/@generated/persisted-documents.json +1 -1
- package/@generated/schema.graphql +3 -0
- package/CHANGELOG.md +82 -0
- package/cms/faststore/base.jsonc +42 -0
- package/cms/faststore/components/cms_component__alert.jsonc +40 -0
- package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
- package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
- package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
- package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
- package/cms/faststore/components/cms_component__children.jsonc +8 -0
- package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
- package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
- package/cms/faststore/components/cms_component__footer.jsonc +238 -0
- package/cms/faststore/components/cms_component__hero.jsonc +71 -0
- package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
- package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
- package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
- package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
- package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
- package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
- package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
- package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
- package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
- package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
- package/cms/faststore/components/cms_component__search.jsonc +144 -0
- package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
- package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
- package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
- package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
- package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
- package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
- package/cms/faststore/schema.json +3859 -0
- package/cms/faststore/sections.json +2 -2
- package/package.json +15 -8
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
- package/src/pages/api/graphql.ts +26 -5
- package/src/pages/pvt/account/orders/[id].tsx +2 -0
- package/src/sdk/graphql/request.ts +10 -1
- package/src/utils/cookieCacheBusting.ts +141 -0
- package/test/utils/cookieCacheBusting.test.ts +121 -0
- package/.next/static/xPZqGftdSs0H8UD6M_H3H/_buildManifest.js +0 -1
- /package/.next/static/{xPZqGftdSs0H8UD6M_H3H → Yo88n9O6FrhtIc3GGfGv9}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"landingPage": {
|
|
3
|
+
"$extends": ["#/components/base-page-template"],
|
|
4
|
+
"$singleton": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Landing Page",
|
|
7
|
+
"properties": {
|
|
8
|
+
"seo": {
|
|
9
|
+
"title": "SEO",
|
|
10
|
+
"description": "Search Engine Optimization options",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"widget": {
|
|
13
|
+
"ui:ObjectFieldTemplate": "GoogleSeoPreview"
|
|
14
|
+
},
|
|
15
|
+
"required": ["slug", "title", "description"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"slug": {
|
|
18
|
+
"title": "Path",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"default": "/"
|
|
21
|
+
},
|
|
22
|
+
"title": {
|
|
23
|
+
"title": "Default page title",
|
|
24
|
+
"description": "Display this title when no other tile is available.",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "FastStore Starter"
|
|
27
|
+
},
|
|
28
|
+
"description": {
|
|
29
|
+
"title": "Meta tag description",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"default": "A beautifully designed store"
|
|
32
|
+
},
|
|
33
|
+
"canonical": {
|
|
34
|
+
"title": "Canonical url for the page",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"$componentTitle": "SEO"
|
|
39
|
+
},
|
|
40
|
+
"sections": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"$ref": "#/components/Search"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"$ref": "#/components/Navbar"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"$ref": "#/components/Alert"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"$ref": "#/components/Footer"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"$ref": "#/components/BannerText"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"$ref": "#/components/Hero"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"$ref": "#/components/Incentives"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"$ref": "#/components/ProductShelf"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"$ref": "#/components/CrossSellingShelf"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"$ref": "#/components/ProductTiles"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"$ref": "#/components/Newsletter"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"$ref": "#/components/Children"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"$ref": "#/components/BannerNewsletter"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"$ref": "#/components/CartSidebar"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"$ref": "#/components/RegionBar"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"$ref": "#/components/RegionModal"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"$ref": "#/components/RegionPopover"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"$ref": "#/components/EmptyState"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"readOnly": false,
|
|
103
|
+
"writeOnly": false,
|
|
104
|
+
"deprecated": false,
|
|
105
|
+
"$abstract": false,
|
|
106
|
+
"identifierKeys": ["slug"]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"login": {
|
|
3
|
+
"$extends": ["#/components/base-page-template"],
|
|
4
|
+
"$singleton": true,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Login",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sections": {
|
|
9
|
+
"$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"readOnly": false,
|
|
13
|
+
"writeOnly": false,
|
|
14
|
+
"deprecated": false,
|
|
15
|
+
"$abstract": false,
|
|
16
|
+
"identifierKeys": []
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pdp": {
|
|
3
|
+
"$extends": ["#/components/base-page-template"],
|
|
4
|
+
"$singleton": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Product Page",
|
|
7
|
+
"properties": {
|
|
8
|
+
"template": {
|
|
9
|
+
"title": "Template",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"value": {
|
|
13
|
+
"title": "PDP template value (e.g. Slug: /apple-magic-mouse/p OR /department/category/subcategory/)",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Possible values: the PDP slug template (e.g. '/apple-magic-mouse/p'); A PLP template (e.g. '/department/' OR '/department/category/' OR '/department/category/subcategory/'). If empty, this template will be the generic PDP."
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"$componentTitle": "Template"
|
|
19
|
+
},
|
|
20
|
+
"seo": {
|
|
21
|
+
"title": "SEO",
|
|
22
|
+
"description": "Search Engine Optimization options",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"widget": {
|
|
25
|
+
"ui:ObjectFieldTemplate": "GoogleSeoPreview"
|
|
26
|
+
},
|
|
27
|
+
"properties": {
|
|
28
|
+
"id": {
|
|
29
|
+
"title": "ID",
|
|
30
|
+
"description": "A unique identifier used to reference the product page. This is a descriptive value (e.g., `#product`) that will be concatenated with the product path (example of the result: `/product-slug/p#product`).",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"mainEntityOfPage": {
|
|
34
|
+
"title": "Main entity of page",
|
|
35
|
+
"description": "Indicates the main entity of the page. A unique identifier used to reference the product page. This is a descriptive value (e.g., `#webpage`) that will be concatenated with the product path (example of the result: `/product-slug/p#webpage`).",
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$componentTitle": "SEO"
|
|
40
|
+
},
|
|
41
|
+
"sections": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"anyOf": [
|
|
45
|
+
{
|
|
46
|
+
"$ref": "#/components/Search"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"$ref": "#/components/Navbar"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"$ref": "#/components/Alert"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"$ref": "#/components/Footer"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"$ref": "#/components/BannerText"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"$ref": "#/components/Hero"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"$ref": "#/components/Incentives"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"$ref": "#/components/ProductShelf"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"$ref": "#/components/CrossSellingShelf"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"$ref": "#/components/ProductTiles"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"$ref": "#/components/Newsletter"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$ref": "#/components/Children"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"$ref": "#/components/BannerNewsletter"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"$ref": "#/components/Breadcrumb"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "#/components/ProductDetails"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"$ref": "#/components/CartSidebar"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"$ref": "#/components/RegionBar"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"$ref": "#/components/RegionModal"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"$ref": "#/components/RegionPopover"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"$ref": "#/components/EmptyState"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"readOnly": false,
|
|
110
|
+
"writeOnly": false,
|
|
111
|
+
"deprecated": false,
|
|
112
|
+
"$abstract": false,
|
|
113
|
+
"identifierKeys": ["slug"]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"plp": {
|
|
3
|
+
"$extends": ["#/components/base-page-template"],
|
|
4
|
+
"$singleton": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Product List Page",
|
|
7
|
+
"properties": {
|
|
8
|
+
"template": {
|
|
9
|
+
"title": "Template",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"value": {
|
|
13
|
+
"title": "PLP template value (e.g. Slug: /department/category/subcategory)",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "PLP slug template (e.g. /office or /office/chairs) representing the /department/category/subcategory template). If this field is left empty, the generic PLP template will be applied."
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"$componentTitle": "Template"
|
|
19
|
+
},
|
|
20
|
+
"productGallery": {
|
|
21
|
+
"title": "Product Gallery",
|
|
22
|
+
"description": "ProductGallery options",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": ["itemsPerPage", "sortBySelection"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"itemsPerPage": {
|
|
27
|
+
"title": "Number of ProductCards per page",
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"default": 12
|
|
30
|
+
},
|
|
31
|
+
"sortBySelection": {
|
|
32
|
+
"title": "Default sort by value",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"default": "score_desc",
|
|
35
|
+
"enumNames": [
|
|
36
|
+
"Price, descending",
|
|
37
|
+
"Price, ascending",
|
|
38
|
+
"Top sales",
|
|
39
|
+
"Name, A-Z",
|
|
40
|
+
"Name, Z-A",
|
|
41
|
+
"Release date",
|
|
42
|
+
"Discount",
|
|
43
|
+
"Relevance"
|
|
44
|
+
],
|
|
45
|
+
"enum": [
|
|
46
|
+
"price_desc",
|
|
47
|
+
"price_asc",
|
|
48
|
+
"orders_desc",
|
|
49
|
+
"name_asc",
|
|
50
|
+
"name_desc",
|
|
51
|
+
"release_desc",
|
|
52
|
+
"discount_desc",
|
|
53
|
+
"score_desc"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"$componentTitle": "Product Gallery"
|
|
58
|
+
},
|
|
59
|
+
"sections": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"anyOf": [
|
|
63
|
+
{
|
|
64
|
+
"$ref": "#/components/Search"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"$ref": "#/components/Navbar"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"$ref": "#/components/Alert"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"$ref": "#/components/Footer"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"$ref": "#/components/BannerText"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$ref": "#/components/Hero"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"$ref": "#/components/Incentives"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"$ref": "#/components/ProductShelf"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "#/components/ProductTiles"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"$ref": "#/components/Newsletter"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"$ref": "#/components/Children"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"$ref": "#/components/BannerNewsletter"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"$ref": "#/components/Breadcrumb"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"$ref": "#/components/ProductGallery"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"$ref": "#/components/CartSidebar"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"$ref": "#/components/RegionBar"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"$ref": "#/components/RegionModal"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"$ref": "#/components/RegionPopover"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"$ref": "#/components/EmptyState"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"readOnly": false,
|
|
125
|
+
"writeOnly": false,
|
|
126
|
+
"deprecated": false,
|
|
127
|
+
"$abstract": false,
|
|
128
|
+
"identifierKeys": ["slug"]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"search": {
|
|
3
|
+
"$extends": ["#/components/base-page-template"],
|
|
4
|
+
"$singleton": true,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Search Page",
|
|
7
|
+
"properties": {
|
|
8
|
+
"productGallery": {
|
|
9
|
+
"title": "Product Gallery",
|
|
10
|
+
"description": "ProductGallery options",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["itemsPerPage", "sortBySelection"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"itemsPerPage": {
|
|
15
|
+
"title": "Number of ProductCards per page",
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"default": 12
|
|
18
|
+
},
|
|
19
|
+
"sortBySelection": {
|
|
20
|
+
"title": "Default sort by value",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "score_desc",
|
|
23
|
+
"enumNames": [
|
|
24
|
+
"Price, descending",
|
|
25
|
+
"Price, ascending",
|
|
26
|
+
"Top sales",
|
|
27
|
+
"Name, A-Z",
|
|
28
|
+
"Name, Z-A",
|
|
29
|
+
"Release date",
|
|
30
|
+
"Discount",
|
|
31
|
+
"Relevance"
|
|
32
|
+
],
|
|
33
|
+
"enum": [
|
|
34
|
+
"price_desc",
|
|
35
|
+
"price_asc",
|
|
36
|
+
"orders_desc",
|
|
37
|
+
"name_asc",
|
|
38
|
+
"name_desc",
|
|
39
|
+
"release_desc",
|
|
40
|
+
"discount_desc",
|
|
41
|
+
"score_desc"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"$componentTitle": "Product Gallery"
|
|
46
|
+
},
|
|
47
|
+
"sections": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"$ref": "#/components/Search"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"$ref": "#/components/Navbar"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"$ref": "#/components/Alert"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"$ref": "#/components/Footer"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"$ref": "#/components/BannerText"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"$ref": "#/components/Hero"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"$ref": "#/components/Incentives"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"$ref": "#/components/ProductShelf"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"$ref": "#/components/ProductTiles"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$ref": "#/components/Newsletter"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"$ref": "#/components/Children"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"$ref": "#/components/BannerNewsletter"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "#/components/Breadcrumb"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"$ref": "#/components/ProductGallery"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"$ref": "#/components/CartSidebar"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"$ref": "#/components/RegionBar"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"$ref": "#/components/RegionModal"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"$ref": "#/components/RegionPopover"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"$ref": "#/components/EmptyState"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"readOnly": false,
|
|
113
|
+
"writeOnly": false,
|
|
114
|
+
"deprecated": false,
|
|
115
|
+
"$abstract": false,
|
|
116
|
+
"identifierKeys": []
|
|
117
|
+
}
|
|
118
|
+
}
|