@faststore/core 4.1.0 → 4.1.1-dev.0

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.
@@ -1,123 +1,6 @@
1
1
  {
2
2
  "title": "FastStore Schema",
3
3
  "description": "Collection of default schemas for FastStore.",
4
- "$defs": {
5
- "base-component": {
6
- "$singleton": false,
7
- "$abstract": false,
8
- "properties": {},
9
- "definitions": {},
10
- "$recursiveAnchor": false,
11
- "uniqueItems": false,
12
- "required": [],
13
- "type": "object",
14
- "deprecated": false,
15
- "readOnly": false,
16
- "writeOnly": false
17
- },
18
- "base-page-template": {
19
- "$singleton": false,
20
- "$abstract": false,
21
- "properties": {
22
- "sections": {
23
- "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS",
24
- "$singleton": false,
25
- "$abstract": false,
26
- "definitions": {},
27
- "$recursiveAnchor": false,
28
- "uniqueItems": false,
29
- "required": [],
30
- "deprecated": false,
31
- "readOnly": false,
32
- "writeOnly": false
33
- }
34
- },
35
- "definitions": {},
36
- "$recursiveAnchor": false,
37
- "uniqueItems": false,
38
- "required": [],
39
- "type": "object",
40
- "deprecated": false,
41
- "readOnly": false,
42
- "writeOnly": false
43
- },
44
- "$ALLOW_ALL_COMPONENTS": {
45
- "type": "array",
46
- "items": {
47
- "anyOf": [
48
- {
49
- "$ref": "#/components/Alert"
50
- },
51
- {
52
- "$ref": "#/components/BannerNewsletter"
53
- },
54
- {
55
- "$ref": "#/components/BannerText"
56
- },
57
- {
58
- "$ref": "#/components/Breadcrumb"
59
- },
60
- {
61
- "$ref": "#/components/CartSidebar"
62
- },
63
- {
64
- "$ref": "#/components/Children"
65
- },
66
- {
67
- "$ref": "#/components/CrossSellingShelf"
68
- },
69
- {
70
- "$ref": "#/components/EmptyState"
71
- },
72
- {
73
- "$ref": "#/components/Footer"
74
- },
75
- {
76
- "$ref": "#/components/Hero"
77
- },
78
- {
79
- "$ref": "#/components/Incentives"
80
- },
81
- {
82
- "$ref": "#/components/Navbar"
83
- },
84
- {
85
- "$ref": "#/components/Newsletter"
86
- },
87
- {
88
- "$ref": "#/components/ProductDetails"
89
- },
90
- {
91
- "$ref": "#/components/ProductGallery"
92
- },
93
- {
94
- "$ref": "#/components/ProductShelf"
95
- },
96
- {
97
- "$ref": "#/components/ProductTiles"
98
- },
99
- {
100
- "$ref": "#/components/RegionBar"
101
- },
102
- {
103
- "$ref": "#/components/RegionModal"
104
- },
105
- {
106
- "$ref": "#/components/RegionPopover"
107
- },
108
- {
109
- "$ref": "#/components/Search"
110
- },
111
- {
112
- "$ref": "#/components/ShoppingAssistant"
113
- },
114
- {
115
- "$ref": "#/components/ScrollToTopButton"
116
- }
117
- ]
118
- }
119
- }
120
- },
121
4
  "content-types": {
122
5
  "404": {
123
6
  "$extends": ["#/components/base-page-template"],
@@ -158,65 +41,7 @@
158
41
  "title": "Global Footer Sections",
159
42
  "properties": {
160
43
  "sections": {
161
- "type": "array",
162
- "items": {
163
- "anyOf": [
164
- {
165
- "$ref": "#/components/Search"
166
- },
167
- {
168
- "$ref": "#/components/Navbar"
169
- },
170
- {
171
- "$ref": "#/components/Alert"
172
- },
173
- {
174
- "$ref": "#/components/Footer"
175
- },
176
- {
177
- "$ref": "#/components/BannerText"
178
- },
179
- {
180
- "$ref": "#/components/Hero"
181
- },
182
- {
183
- "$ref": "#/components/Incentives"
184
- },
185
- {
186
- "$ref": "#/components/ProductShelf"
187
- },
188
- {
189
- "$ref": "#/components/ProductTiles"
190
- },
191
- {
192
- "$ref": "#/components/Newsletter"
193
- },
194
- {
195
- "$ref": "#/components/Children"
196
- },
197
- {
198
- "$ref": "#/components/BannerNewsletter"
199
- },
200
- {
201
- "$ref": "#/components/CartSidebar"
202
- },
203
- {
204
- "$ref": "#/components/RegionBar"
205
- },
206
- {
207
- "$ref": "#/components/RegionModal"
208
- },
209
- {
210
- "$ref": "#/components/RegionPopover"
211
- },
212
- {
213
- "$ref": "#/components/EmptyState"
214
- },
215
- {
216
- "$ref": "#/components/ShoppingAssistant"
217
- }
218
- ]
219
- }
44
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
220
45
  }
221
46
  },
222
47
  "readOnly": false,
@@ -232,65 +57,7 @@
232
57
  "title": "Global Header Sections",
233
58
  "properties": {
234
59
  "sections": {
235
- "type": "array",
236
- "items": {
237
- "anyOf": [
238
- {
239
- "$ref": "#/components/Search"
240
- },
241
- {
242
- "$ref": "#/components/Navbar"
243
- },
244
- {
245
- "$ref": "#/components/Alert"
246
- },
247
- {
248
- "$ref": "#/components/Footer"
249
- },
250
- {
251
- "$ref": "#/components/BannerText"
252
- },
253
- {
254
- "$ref": "#/components/Hero"
255
- },
256
- {
257
- "$ref": "#/components/Incentives"
258
- },
259
- {
260
- "$ref": "#/components/ProductShelf"
261
- },
262
- {
263
- "$ref": "#/components/ProductTiles"
264
- },
265
- {
266
- "$ref": "#/components/Newsletter"
267
- },
268
- {
269
- "$ref": "#/components/Children"
270
- },
271
- {
272
- "$ref": "#/components/BannerNewsletter"
273
- },
274
- {
275
- "$ref": "#/components/CartSidebar"
276
- },
277
- {
278
- "$ref": "#/components/RegionBar"
279
- },
280
- {
281
- "$ref": "#/components/RegionModal"
282
- },
283
- {
284
- "$ref": "#/components/RegionPopover"
285
- },
286
- {
287
- "$ref": "#/components/EmptyState"
288
- },
289
- {
290
- "$ref": "#/components/ShoppingAssistant"
291
- }
292
- ]
293
- }
60
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
294
61
  }
295
62
  },
296
63
  "readOnly": false,
@@ -660,65 +427,7 @@
660
427
  "$componentTitle": "Loading"
661
428
  },
662
429
  "sections": {
663
- "type": "array",
664
- "items": {
665
- "anyOf": [
666
- {
667
- "$ref": "#/components/Search"
668
- },
669
- {
670
- "$ref": "#/components/Navbar"
671
- },
672
- {
673
- "$ref": "#/components/Alert"
674
- },
675
- {
676
- "$ref": "#/components/Footer"
677
- },
678
- {
679
- "$ref": "#/components/BannerText"
680
- },
681
- {
682
- "$ref": "#/components/Hero"
683
- },
684
- {
685
- "$ref": "#/components/Incentives"
686
- },
687
- {
688
- "$ref": "#/components/ProductShelf"
689
- },
690
- {
691
- "$ref": "#/components/ProductTiles"
692
- },
693
- {
694
- "$ref": "#/components/Newsletter"
695
- },
696
- {
697
- "$ref": "#/components/Children"
698
- },
699
- {
700
- "$ref": "#/components/BannerNewsletter"
701
- },
702
- {
703
- "$ref": "#/components/CartSidebar"
704
- },
705
- {
706
- "$ref": "#/components/RegionBar"
707
- },
708
- {
709
- "$ref": "#/components/RegionModal"
710
- },
711
- {
712
- "$ref": "#/components/RegionPopover"
713
- },
714
- {
715
- "$ref": "#/components/EmptyState"
716
- },
717
- {
718
- "$ref": "#/components/ShoppingAssistant"
719
- }
720
- ]
721
- }
430
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
722
431
  }
723
432
  },
724
433
  "readOnly": false,
@@ -880,65 +589,7 @@
880
589
  "$componentTitle": "SEO"
881
590
  },
882
591
  "sections": {
883
- "type": "array",
884
- "items": {
885
- "anyOf": [
886
- {
887
- "$ref": "#/components/Search"
888
- },
889
- {
890
- "$ref": "#/components/Navbar"
891
- },
892
- {
893
- "$ref": "#/components/Alert"
894
- },
895
- {
896
- "$ref": "#/components/Footer"
897
- },
898
- {
899
- "$ref": "#/components/BannerText"
900
- },
901
- {
902
- "$ref": "#/components/Hero"
903
- },
904
- {
905
- "$ref": "#/components/Incentives"
906
- },
907
- {
908
- "$ref": "#/components/ProductShelf"
909
- },
910
- {
911
- "$ref": "#/components/ProductTiles"
912
- },
913
- {
914
- "$ref": "#/components/Newsletter"
915
- },
916
- {
917
- "$ref": "#/components/Children"
918
- },
919
- {
920
- "$ref": "#/components/BannerNewsletter"
921
- },
922
- {
923
- "$ref": "#/components/CartSidebar"
924
- },
925
- {
926
- "$ref": "#/components/RegionBar"
927
- },
928
- {
929
- "$ref": "#/components/RegionModal"
930
- },
931
- {
932
- "$ref": "#/components/RegionPopover"
933
- },
934
- {
935
- "$ref": "#/components/EmptyState"
936
- },
937
- {
938
- "$ref": "#/components/ShoppingAssistant"
939
- }
940
- ]
941
- }
592
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
942
593
  }
943
594
  },
944
595
  "readOnly": false,
@@ -999,68 +650,7 @@
999
650
  "$componentTitle": "SEO"
1000
651
  },
1001
652
  "sections": {
1002
- "type": "array",
1003
- "items": {
1004
- "anyOf": [
1005
- {
1006
- "$ref": "#/components/Search"
1007
- },
1008
- {
1009
- "$ref": "#/components/Navbar"
1010
- },
1011
- {
1012
- "$ref": "#/components/Alert"
1013
- },
1014
- {
1015
- "$ref": "#/components/Footer"
1016
- },
1017
- {
1018
- "$ref": "#/components/BannerText"
1019
- },
1020
- {
1021
- "$ref": "#/components/Hero"
1022
- },
1023
- {
1024
- "$ref": "#/components/Incentives"
1025
- },
1026
- {
1027
- "$ref": "#/components/ProductShelf"
1028
- },
1029
- {
1030
- "$ref": "#/components/CrossSellingShelf"
1031
- },
1032
- {
1033
- "$ref": "#/components/ProductTiles"
1034
- },
1035
- {
1036
- "$ref": "#/components/Newsletter"
1037
- },
1038
- {
1039
- "$ref": "#/components/Children"
1040
- },
1041
- {
1042
- "$ref": "#/components/BannerNewsletter"
1043
- },
1044
- {
1045
- "$ref": "#/components/CartSidebar"
1046
- },
1047
- {
1048
- "$ref": "#/components/RegionBar"
1049
- },
1050
- {
1051
- "$ref": "#/components/RegionModal"
1052
- },
1053
- {
1054
- "$ref": "#/components/RegionPopover"
1055
- },
1056
- {
1057
- "$ref": "#/components/EmptyState"
1058
- },
1059
- {
1060
- "$ref": "#/components/ShoppingAssistant"
1061
- }
1062
- ]
1063
- }
653
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
1064
654
  }
1065
655
  },
1066
656
  "readOnly": false,
@@ -1131,74 +721,7 @@
1131
721
  "$componentTitle": "SEO"
1132
722
  },
1133
723
  "sections": {
1134
- "type": "array",
1135
- "items": {
1136
- "anyOf": [
1137
- {
1138
- "$ref": "#/components/Search"
1139
- },
1140
- {
1141
- "$ref": "#/components/Navbar"
1142
- },
1143
- {
1144
- "$ref": "#/components/Alert"
1145
- },
1146
- {
1147
- "$ref": "#/components/Footer"
1148
- },
1149
- {
1150
- "$ref": "#/components/BannerText"
1151
- },
1152
- {
1153
- "$ref": "#/components/Hero"
1154
- },
1155
- {
1156
- "$ref": "#/components/Incentives"
1157
- },
1158
- {
1159
- "$ref": "#/components/ProductShelf"
1160
- },
1161
- {
1162
- "$ref": "#/components/CrossSellingShelf"
1163
- },
1164
- {
1165
- "$ref": "#/components/ProductTiles"
1166
- },
1167
- {
1168
- "$ref": "#/components/Newsletter"
1169
- },
1170
- {
1171
- "$ref": "#/components/Children"
1172
- },
1173
- {
1174
- "$ref": "#/components/BannerNewsletter"
1175
- },
1176
- {
1177
- "$ref": "#/components/Breadcrumb"
1178
- },
1179
- {
1180
- "$ref": "#/components/ProductDetails"
1181
- },
1182
- {
1183
- "$ref": "#/components/CartSidebar"
1184
- },
1185
- {
1186
- "$ref": "#/components/RegionBar"
1187
- },
1188
- {
1189
- "$ref": "#/components/RegionModal"
1190
- },
1191
- {
1192
- "$ref": "#/components/RegionPopover"
1193
- },
1194
- {
1195
- "$ref": "#/components/EmptyState"
1196
- },
1197
- {
1198
- "$ref": "#/components/ShoppingAssistant"
1199
- }
1200
- ]
1201
- }
724
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
1202
725
  }
1203
726
  },
1204
727
  "readOnly": false,
@@ -1279,74 +802,7 @@
1279
802
  "$componentTitle": "Product Gallery"
1280
803
  },
1281
804
  "sections": {
1282
- "type": "array",
1283
- "items": {
1284
- "anyOf": [
1285
- {
1286
- "$ref": "#/components/Search"
1287
- },
1288
- {
1289
- "$ref": "#/components/Navbar"
1290
- },
1291
- {
1292
- "$ref": "#/components/Alert"
1293
- },
1294
- {
1295
- "$ref": "#/components/Footer"
1296
- },
1297
- {
1298
- "$ref": "#/components/BannerText"
1299
- },
1300
- {
1301
- "$ref": "#/components/Hero"
1302
- },
1303
- {
1304
- "$ref": "#/components/Incentives"
1305
- },
1306
- {
1307
- "$ref": "#/components/ProductShelf"
1308
- },
1309
- {
1310
- "$ref": "#/components/ProductTiles"
1311
- },
1312
- {
1313
- "$ref": "#/components/Newsletter"
1314
- },
1315
- {
1316
- "$ref": "#/components/Children"
1317
- },
1318
- {
1319
- "$ref": "#/components/BannerNewsletter"
1320
- },
1321
- {
1322
- "$ref": "#/components/Breadcrumb"
1323
- },
1324
- {
1325
- "$ref": "#/components/ProductGallery"
1326
- },
1327
- {
1328
- "$ref": "#/components/CartSidebar"
1329
- },
1330
- {
1331
- "$ref": "#/components/RegionBar"
1332
- },
1333
- {
1334
- "$ref": "#/components/RegionModal"
1335
- },
1336
- {
1337
- "$ref": "#/components/RegionPopover"
1338
- },
1339
- {
1340
- "$ref": "#/components/EmptyState"
1341
- },
1342
- {
1343
- "$ref": "#/components/ScrollToTopButton"
1344
- },
1345
- {
1346
- "$ref": "#/components/ShoppingAssistant"
1347
- }
1348
- ]
1349
- }
805
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
1350
806
  }
1351
807
  },
1352
808
  "readOnly": false,
@@ -1415,74 +871,7 @@
1415
871
  "$componentTitle": "Product Gallery"
1416
872
  },
1417
873
  "sections": {
1418
- "type": "array",
1419
- "items": {
1420
- "anyOf": [
1421
- {
1422
- "$ref": "#/components/Search"
1423
- },
1424
- {
1425
- "$ref": "#/components/Navbar"
1426
- },
1427
- {
1428
- "$ref": "#/components/Alert"
1429
- },
1430
- {
1431
- "$ref": "#/components/Footer"
1432
- },
1433
- {
1434
- "$ref": "#/components/BannerText"
1435
- },
1436
- {
1437
- "$ref": "#/components/Hero"
1438
- },
1439
- {
1440
- "$ref": "#/components/Incentives"
1441
- },
1442
- {
1443
- "$ref": "#/components/ProductShelf"
1444
- },
1445
- {
1446
- "$ref": "#/components/ProductTiles"
1447
- },
1448
- {
1449
- "$ref": "#/components/Newsletter"
1450
- },
1451
- {
1452
- "$ref": "#/components/Children"
1453
- },
1454
- {
1455
- "$ref": "#/components/BannerNewsletter"
1456
- },
1457
- {
1458
- "$ref": "#/components/Breadcrumb"
1459
- },
1460
- {
1461
- "$ref": "#/components/ProductGallery"
1462
- },
1463
- {
1464
- "$ref": "#/components/CartSidebar"
1465
- },
1466
- {
1467
- "$ref": "#/components/RegionBar"
1468
- },
1469
- {
1470
- "$ref": "#/components/RegionModal"
1471
- },
1472
- {
1473
- "$ref": "#/components/RegionPopover"
1474
- },
1475
- {
1476
- "$ref": "#/components/EmptyState"
1477
- },
1478
- {
1479
- "$ref": "#/components/ScrollToTopButton"
1480
- },
1481
- {
1482
- "$ref": "#/components/ShoppingAssistant"
1483
- }
1484
- ]
1485
- }
874
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
1486
875
  }
1487
876
  },
1488
877
  "readOnly": false,
@@ -4724,6 +4113,35 @@
4724
4113
  "deprecated": false,
4725
4114
  "$abstract": false
4726
4115
  },
4116
+ "ScrollToTopButton": {
4117
+ "$extends": ["#/$defs/base-component"],
4118
+ "$componentKey": "ScrollToTopButton",
4119
+ "$componentTitle": "Scroll to Top Button",
4120
+ "title": "Scroll to Top Button",
4121
+ "description": "A button to scroll the page back to the top",
4122
+ "type": "object",
4123
+ "required": ["text"],
4124
+ "properties": {
4125
+ "text": {
4126
+ "title": "Button Text",
4127
+ "description": "Text displayed on the button",
4128
+ "type": "string",
4129
+ "default": "Scroll to top"
4130
+ },
4131
+ "iconPosition": {
4132
+ "title": "Icon Position",
4133
+ "description": "Position of the icon relative to the text",
4134
+ "type": "string",
4135
+ "enumNames": ["Left", "Right"],
4136
+ "enum": ["left", "right"],
4137
+ "default": "left"
4138
+ }
4139
+ },
4140
+ "readOnly": false,
4141
+ "writeOnly": false,
4142
+ "deprecated": false,
4143
+ "$abstract": false
4144
+ },
4727
4145
  "Search": {
4728
4146
  "$extends": ["#/$defs/base-component"],
4729
4147
  "$componentKey": "Search",
@@ -4884,35 +4302,97 @@
4884
4302
  "writeOnly": false,
4885
4303
  "deprecated": false,
4886
4304
  "$abstract": false
4305
+ }
4306
+ },
4307
+ "$defs": {
4308
+ "base-component": {
4309
+ "type": "object",
4310
+ "required": [],
4311
+ "properties": {}
4887
4312
  },
4888
- "ScrollToTopButton": {
4889
- "$extends": ["#/$defs/base-component"],
4890
- "$componentKey": "ScrollToTopButton",
4891
- "$componentTitle": "Scroll to Top Button",
4892
- "title": "Scroll to Top Button",
4893
- "description": "A button to scroll the page back to the top",
4313
+ "base-page-template": {
4894
4314
  "type": "object",
4895
- "required": ["text"],
4896
4315
  "properties": {
4897
- "text": {
4898
- "title": "Button Text",
4899
- "description": "Text displayed on the button",
4900
- "type": "string",
4901
- "default": "Scroll to top"
4902
- },
4903
- "iconPosition": {
4904
- "title": "Icon Position",
4905
- "description": "Position of the icon relative to the text",
4906
- "type": "string",
4907
- "enumNames": ["Left", "Right"],
4908
- "enum": ["left", "right"],
4909
- "default": "left"
4316
+ "sections": {
4317
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
4910
4318
  }
4911
- },
4912
- "readOnly": false,
4913
- "writeOnly": false,
4914
- "deprecated": false,
4915
- "$abstract": false
4319
+ }
4320
+ },
4321
+ "$ALLOW_ALL_COMPONENTS": {
4322
+ "type": "array",
4323
+ "items": {
4324
+ "anyOf": [
4325
+ {
4326
+ "$ref": "#/components/Alert"
4327
+ },
4328
+ {
4329
+ "$ref": "#/components/BannerNewsletter"
4330
+ },
4331
+ {
4332
+ "$ref": "#/components/BannerText"
4333
+ },
4334
+ {
4335
+ "$ref": "#/components/Breadcrumb"
4336
+ },
4337
+ {
4338
+ "$ref": "#/components/CartSidebar"
4339
+ },
4340
+ {
4341
+ "$ref": "#/components/Children"
4342
+ },
4343
+ {
4344
+ "$ref": "#/components/CrossSellingShelf"
4345
+ },
4346
+ {
4347
+ "$ref": "#/components/EmptyState"
4348
+ },
4349
+ {
4350
+ "$ref": "#/components/Footer"
4351
+ },
4352
+ {
4353
+ "$ref": "#/components/Hero"
4354
+ },
4355
+ {
4356
+ "$ref": "#/components/Incentives"
4357
+ },
4358
+ {
4359
+ "$ref": "#/components/Navbar"
4360
+ },
4361
+ {
4362
+ "$ref": "#/components/Newsletter"
4363
+ },
4364
+ {
4365
+ "$ref": "#/components/ProductDetails"
4366
+ },
4367
+ {
4368
+ "$ref": "#/components/ProductGallery"
4369
+ },
4370
+ {
4371
+ "$ref": "#/components/ProductShelf"
4372
+ },
4373
+ {
4374
+ "$ref": "#/components/ProductTiles"
4375
+ },
4376
+ {
4377
+ "$ref": "#/components/RegionBar"
4378
+ },
4379
+ {
4380
+ "$ref": "#/components/RegionModal"
4381
+ },
4382
+ {
4383
+ "$ref": "#/components/RegionPopover"
4384
+ },
4385
+ {
4386
+ "$ref": "#/components/ScrollToTopButton"
4387
+ },
4388
+ {
4389
+ "$ref": "#/components/Search"
4390
+ },
4391
+ {
4392
+ "$ref": "#/components/ShoppingAssistant"
4393
+ }
4394
+ ]
4395
+ }
4916
4396
  }
4917
4397
  }
4918
4398
  }