@shopware/composables 0.0.0-canary-20250116155626
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/LICENSE +21 -0
- package/README.md +172 -0
- package/composables/index.ts +1 -0
- package/dist/index.d.mts +2239 -0
- package/dist/index.d.ts +2239 -0
- package/dist/index.mjs +2686 -0
- package/nuxt.config.ts +14 -0
- package/package.json +83 -0
- package/src/_test/index.ts +1 -0
- package/src/_test/useSetup.ts +43 -0
- package/src/cms/README.md +9 -0
- package/src/cms/cmsAssociations.ts +28 -0
- package/src/cms/index.ts +2 -0
- package/src/cms/useCmsElementConfig.test.ts +145 -0
- package/src/cms/useCmsElementConfig.ts +29 -0
- package/src/cms/useCmsElementImage.test.ts +179 -0
- package/src/cms/useCmsElementImage.ts +103 -0
- package/src/cms/useCmsElementProductBox.test.ts +15 -0
- package/src/cms/useCmsElementProductBox.ts +25 -0
- package/src/createShopwareContext.test.ts +23 -0
- package/src/createShopwareContext.ts +43 -0
- package/src/devtools/plugin.ts +201 -0
- package/src/helpers/ContextError.spec.ts +20 -0
- package/src/helpers/ContextError.ts +6 -0
- package/src/index.test.ts +54 -0
- package/src/index.ts +111 -0
- package/src/mocks/Cart.ts +774 -0
- package/src/mocks/CmsPage.ts +544 -0
- package/src/mocks/CmsProductBox.ts +377 -0
- package/src/mocks/Configurator.ts +123 -0
- package/src/mocks/Country.ts +184 -0
- package/src/mocks/CrossSellingResponse.ts +552 -0
- package/src/mocks/LandingPage.ts +62 -0
- package/src/mocks/Menu.ts +598 -0
- package/src/mocks/Order.ts +1151 -0
- package/src/mocks/Product.ts +473 -0
- package/src/mocks/ProductTierPrices.ts +771 -0
- package/src/mocks/Salutations.ts +51 -0
- package/src/mocks/Search.ts +518 -0
- package/src/types/cmsBlockTypes.ts +80 -0
- package/src/types/cmsElementTypes.ts +381 -0
- package/src/types/cmsSectionTypes.ts +15 -0
- package/src/types/index.ts +52 -0
- package/src/useAddToCart/useAddToCart.test.ts +39 -0
- package/src/useAddToCart/useAddToCart.ts +90 -0
- package/src/useAddress/useAddress.test.ts +134 -0
- package/src/useAddress/useAddress.ts +202 -0
- package/src/useB2bQuoteManagement/useB2bQuoteManagement.test.ts +137 -0
- package/src/useB2bQuoteManagement/useB2bQuoteManagement.ts +225 -0
- package/src/useBreadcrumbs/useBreadcrumbs.test.ts +71 -0
- package/src/useBreadcrumbs/useBreadcrumbs.ts +89 -0
- package/src/useCart/useCart.test.ts +251 -0
- package/src/useCart/useCart.ts +314 -0
- package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.test.ts +122 -0
- package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.ts +80 -0
- package/src/useCartItem/useCartItem.test.ts +168 -0
- package/src/useCartItem/useCartItem.ts +157 -0
- package/src/useCartNotification/useCartNotification.test.ts +129 -0
- package/src/useCartNotification/useCartNotification.ts +63 -0
- package/src/useCategory/useCategory.test.ts +14 -0
- package/src/useCategory/useCategory.ts +32 -0
- package/src/useCategorySearch/useCategorySearch.test.ts +98 -0
- package/src/useCategorySearch/useCategorySearch.ts +81 -0
- package/src/useCheckout/useCheckout.test.ts +104 -0
- package/src/useCheckout/useCheckout.ts +163 -0
- package/src/useCmsBlock/useCmsBlock.test.ts +25 -0
- package/src/useCmsBlock/useCmsBlock.ts +36 -0
- package/src/useCmsMeta/useCmsMeta.test.ts +17 -0
- package/src/useCmsMeta/useCmsMeta.ts +46 -0
- package/src/useCmsSection/useCmsSection.test.ts +18 -0
- package/src/useCmsSection/useCmsSection.ts +39 -0
- package/src/useCmsTranslations/useCmsTranslations.test.ts +10 -0
- package/src/useCmsTranslations/useCmsTranslations.ts +9 -0
- package/src/useContext/useContext.ts +36 -0
- package/src/useCountries/useCountries.test.ts +64 -0
- package/src/useCountries/useCountries.ts +64 -0
- package/src/useCustomerOrders/useCustomerOrders.test.ts +47 -0
- package/src/useCustomerOrders/useCustomerOrders.ts +89 -0
- package/src/useCustomerPassword/useCustomerPassword.test.ts +164 -0
- package/src/useCustomerPassword/useCustomerPassword.ts +57 -0
- package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.test.ts +41 -0
- package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.ts +45 -0
- package/src/useInternationalization/useInternationalization.test.ts +155 -0
- package/src/useInternationalization/useInternationalization.ts +159 -0
- package/src/useLandingSearch/useLandingSearch.test.ts +30 -0
- package/src/useLandingSearch/useLandingSearch.ts +58 -0
- package/src/useListing/useListing.test.ts +249 -0
- package/src/useListing/useListing.ts +592 -0
- package/src/useLocalWishlist/useLocalWishlist.test.ts +54 -0
- package/src/useLocalWishlist/useLocalWishlist.ts +95 -0
- package/src/useNavigation/useNavigation.test.ts +68 -0
- package/src/useNavigation/useNavigation.ts +83 -0
- package/src/useNavigationContext/useNavigationContext.test.ts +48 -0
- package/src/useNavigationContext/useNavigationContext.ts +39 -0
- package/src/useNavigationSearch/useNavigationSearch.test.ts +110 -0
- package/src/useNavigationSearch/useNavigationSearch.ts +60 -0
- package/src/useNewsletter/useNewsletter.test.ts +55 -0
- package/src/useNewsletter/useNewsletter.ts +109 -0
- package/src/useNotifications/useNotifications.test.ts +56 -0
- package/src/useNotifications/useNotifications.ts +119 -0
- package/src/useOrderDetails/useOrderDetails.test.ts +224 -0
- package/src/useOrderDetails/useOrderDetails.ts +329 -0
- package/src/useOrderPayment/useOrderPayment.test.ts +80 -0
- package/src/useOrderPayment/useOrderPayment.ts +119 -0
- package/src/usePrice/usePrice.test.ts +97 -0
- package/src/usePrice/usePrice.ts +106 -0
- package/src/useProduct/useProduct.test.ts +36 -0
- package/src/useProduct/useProduct.ts +56 -0
- package/src/useProductAssociations/useProductAssociations.spec.ts +105 -0
- package/src/useProductAssociations/useProductAssociations.ts +107 -0
- package/src/useProductConfigurator/useProductConfigurator.spec.ts +77 -0
- package/src/useProductConfigurator/useProductConfigurator.ts +134 -0
- package/src/useProductPrice/useProductPrice.test.ts +126 -0
- package/src/useProductPrice/useProductPrice.ts +131 -0
- package/src/useProductReviews/useProductReviews.test.ts +45 -0
- package/src/useProductReviews/useProductReviews.ts +80 -0
- package/src/useProductSearch/useProductSearch.test.ts +37 -0
- package/src/useProductSearch/useProductSearch.ts +58 -0
- package/src/useProductSearchSuggest/useProductSearchSuggest.test.ts +19 -0
- package/src/useProductSearchSuggest/useProductSearchSuggest.ts +67 -0
- package/src/useProductWishlist/useProductWishlist.test.ts +63 -0
- package/src/useProductWishlist/useProductWishlist.ts +74 -0
- package/src/useSalutations/useSalutations.spec.ts +37 -0
- package/src/useSalutations/useSalutations.ts +55 -0
- package/src/useSessionContext/useSessionContext.test.ts +221 -0
- package/src/useSessionContext/useSessionContext.ts +281 -0
- package/src/useShopwareContext/useShopwareContext.test.ts +8 -0
- package/src/useShopwareContext/useShopwareContext.ts +31 -0
- package/src/useSyncWishlist/useSyncWishlist.test.ts +117 -0
- package/src/useSyncWishlist/useSyncWishlist.ts +117 -0
- package/src/useUrlResolver/useUrlResolver.test.ts +25 -0
- package/src/useUrlResolver/useUrlResolver.ts +31 -0
- package/src/useUser/useUser.test.ts +290 -0
- package/src/useUser/useUser.ts +321 -0
- package/src/useWishlist/useWishlist.test.ts +178 -0
- package/src/useWishlist/useWishlist.ts +128 -0
- package/types/api-types.ts +11 -0
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
import type { Schemas } from "#shopware";
|
|
2
|
+
|
|
3
|
+
const Menu: Schemas["Category"][] = [
|
|
4
|
+
{
|
|
5
|
+
extensions: {
|
|
6
|
+
search: {
|
|
7
|
+
extensions: [],
|
|
8
|
+
_uniqueIdentifier: null,
|
|
9
|
+
translated: [],
|
|
10
|
+
autoIncrement: 26,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
14
|
+
translated: {
|
|
15
|
+
breadcrumb: ["Home", "Footer Navigation", "Shop service "],
|
|
16
|
+
name: "Shop service ",
|
|
17
|
+
customFields: {},
|
|
18
|
+
linkType: null,
|
|
19
|
+
internalLink: null,
|
|
20
|
+
externalLink: null,
|
|
21
|
+
linkNewTab: null,
|
|
22
|
+
description: null,
|
|
23
|
+
metaTitle: null,
|
|
24
|
+
metaDescription: null,
|
|
25
|
+
keywords: null,
|
|
26
|
+
},
|
|
27
|
+
createdAt: "2020-08-06T06:26:25.159+00:00",
|
|
28
|
+
updatedAt: null,
|
|
29
|
+
afterCategoryId: null,
|
|
30
|
+
parentId: "0208fc353bdb492aba4bbd910ea5cc5a",
|
|
31
|
+
mediaId: null,
|
|
32
|
+
name: "Shop service ",
|
|
33
|
+
breadcrumb: ["Home", "Footer Navigation", "Shop service "],
|
|
34
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|",
|
|
35
|
+
level: 3,
|
|
36
|
+
active: true,
|
|
37
|
+
childCount: 3,
|
|
38
|
+
visibleChildCount: 2,
|
|
39
|
+
displayNestedProducts: true,
|
|
40
|
+
parent: null,
|
|
41
|
+
children: [
|
|
42
|
+
{
|
|
43
|
+
extensions: {
|
|
44
|
+
search: {
|
|
45
|
+
extensions: [],
|
|
46
|
+
_uniqueIdentifier: null,
|
|
47
|
+
translated: [],
|
|
48
|
+
autoIncrement: 31,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
52
|
+
translated: {
|
|
53
|
+
breadcrumb: [
|
|
54
|
+
"Home",
|
|
55
|
+
"Footer Navigation",
|
|
56
|
+
"Shop service ",
|
|
57
|
+
"Defective Product",
|
|
58
|
+
],
|
|
59
|
+
name: "Defective Product",
|
|
60
|
+
customFields: {},
|
|
61
|
+
linkType: null,
|
|
62
|
+
internalLink: null,
|
|
63
|
+
externalLink: null,
|
|
64
|
+
linkNewTab: null,
|
|
65
|
+
description: null,
|
|
66
|
+
metaTitle: null,
|
|
67
|
+
metaDescription: null,
|
|
68
|
+
keywords: null,
|
|
69
|
+
},
|
|
70
|
+
createdAt: "2020-08-06T06:26:25.218+00:00",
|
|
71
|
+
updatedAt: null,
|
|
72
|
+
afterCategoryId: null,
|
|
73
|
+
parentId: "c568b6d678014d9bbc5e1e4b684b79c7",
|
|
74
|
+
mediaId: null,
|
|
75
|
+
name: "Defective Product",
|
|
76
|
+
breadcrumb: [
|
|
77
|
+
"Home",
|
|
78
|
+
"Footer Navigation",
|
|
79
|
+
"Shop service ",
|
|
80
|
+
"Defective Product",
|
|
81
|
+
],
|
|
82
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|c568b6d678014d9bbc5e1e4b684b79c7|",
|
|
83
|
+
level: 4,
|
|
84
|
+
active: true,
|
|
85
|
+
childCount: 0,
|
|
86
|
+
visibleChildCount: 0,
|
|
87
|
+
displayNestedProducts: true,
|
|
88
|
+
parent: null,
|
|
89
|
+
children: [],
|
|
90
|
+
translations: null,
|
|
91
|
+
media: null,
|
|
92
|
+
cmsPageId: "cafbc9662dcd462a941c6fd8b284c462",
|
|
93
|
+
cmsPageIdSwitched: false,
|
|
94
|
+
cmsPage: null,
|
|
95
|
+
linkType: null,
|
|
96
|
+
linkNewTab: null,
|
|
97
|
+
internalLink: null,
|
|
98
|
+
externalLink: null,
|
|
99
|
+
visible: true,
|
|
100
|
+
type: "page",
|
|
101
|
+
productAssignmentType: "product",
|
|
102
|
+
description: null,
|
|
103
|
+
metaTitle: null,
|
|
104
|
+
metaDescription: null,
|
|
105
|
+
keywords: null,
|
|
106
|
+
seoUrls: [
|
|
107
|
+
{
|
|
108
|
+
translated: [],
|
|
109
|
+
createdAt: "2022-08-01T14:02:03.482+00:00",
|
|
110
|
+
updatedAt: "2022-08-03T08:06:59.193+00:00",
|
|
111
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
112
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
113
|
+
routeName: "frontend.navigation.page",
|
|
114
|
+
foreignKey: "a8ac011151204f10bc3a3bf32ef3f29d",
|
|
115
|
+
pathInfo: "/navigation/a8ac011151204f10bc3a3bf32ef3f29d",
|
|
116
|
+
seoPathInfo: "Shop-service/Defective-Product/",
|
|
117
|
+
isCanonical: true,
|
|
118
|
+
isModified: false,
|
|
119
|
+
isDeleted: false,
|
|
120
|
+
isValid: null,
|
|
121
|
+
url: null,
|
|
122
|
+
customFields: null,
|
|
123
|
+
id: "5bc3ec6562b24fbdbf520af312d39889",
|
|
124
|
+
apiAlias: "seo_url",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
customEntityTypeId: null,
|
|
128
|
+
customFields: null,
|
|
129
|
+
id: "a8ac011151204f10bc3a3bf32ef3f29d",
|
|
130
|
+
apiAlias: "category",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
extensions: {
|
|
134
|
+
search: {
|
|
135
|
+
extensions: [],
|
|
136
|
+
_uniqueIdentifier: null,
|
|
137
|
+
translated: [],
|
|
138
|
+
autoIncrement: 44,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
142
|
+
translated: {
|
|
143
|
+
breadcrumb: [
|
|
144
|
+
"Home",
|
|
145
|
+
"Footer Navigation",
|
|
146
|
+
"Shop service ",
|
|
147
|
+
"Payment / Dispatch",
|
|
148
|
+
],
|
|
149
|
+
name: "Payment / Dispatch",
|
|
150
|
+
customFields: {},
|
|
151
|
+
linkType: null,
|
|
152
|
+
internalLink: null,
|
|
153
|
+
externalLink: null,
|
|
154
|
+
linkNewTab: null,
|
|
155
|
+
description: null,
|
|
156
|
+
metaTitle: null,
|
|
157
|
+
metaDescription: null,
|
|
158
|
+
keywords: null,
|
|
159
|
+
},
|
|
160
|
+
createdAt: "2020-08-06T06:26:25.371+00:00",
|
|
161
|
+
updatedAt: null,
|
|
162
|
+
afterCategoryId: "a8ac011151204f10bc3a3bf32ef3f29d",
|
|
163
|
+
parentId: "c568b6d678014d9bbc5e1e4b684b79c7",
|
|
164
|
+
mediaId: null,
|
|
165
|
+
name: "Payment / Dispatch",
|
|
166
|
+
breadcrumb: [
|
|
167
|
+
"Home",
|
|
168
|
+
"Footer Navigation",
|
|
169
|
+
"Shop service ",
|
|
170
|
+
"Payment / Dispatch",
|
|
171
|
+
],
|
|
172
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|c568b6d678014d9bbc5e1e4b684b79c7|",
|
|
173
|
+
level: 4,
|
|
174
|
+
active: true,
|
|
175
|
+
childCount: 0,
|
|
176
|
+
visibleChildCount: 0,
|
|
177
|
+
displayNestedProducts: true,
|
|
178
|
+
parent: null,
|
|
179
|
+
children: [],
|
|
180
|
+
translations: null,
|
|
181
|
+
media: null,
|
|
182
|
+
cmsPageId: "cafbc9662dcd462a941c6fd8b284c462",
|
|
183
|
+
cmsPageIdSwitched: false,
|
|
184
|
+
cmsPage: null,
|
|
185
|
+
linkType: null,
|
|
186
|
+
linkNewTab: null,
|
|
187
|
+
internalLink: null,
|
|
188
|
+
externalLink: null,
|
|
189
|
+
visible: true,
|
|
190
|
+
type: "page",
|
|
191
|
+
productAssignmentType: "product",
|
|
192
|
+
description: null,
|
|
193
|
+
metaTitle: null,
|
|
194
|
+
metaDescription: null,
|
|
195
|
+
keywords: null,
|
|
196
|
+
seoUrls: [
|
|
197
|
+
{
|
|
198
|
+
translated: [],
|
|
199
|
+
createdAt: "2022-08-01T14:02:03.482+00:00",
|
|
200
|
+
updatedAt: "2022-08-03T08:06:59.193+00:00",
|
|
201
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
202
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
203
|
+
routeName: "frontend.navigation.page",
|
|
204
|
+
foreignKey: "a19b6eddb87a4a8d80828997ad3f7fd4",
|
|
205
|
+
pathInfo: "/navigation/a19b6eddb87a4a8d80828997ad3f7fd4",
|
|
206
|
+
seoPathInfo: "Shop-service/Payment-Dispatch/",
|
|
207
|
+
isCanonical: true,
|
|
208
|
+
isModified: false,
|
|
209
|
+
isDeleted: false,
|
|
210
|
+
isValid: null,
|
|
211
|
+
url: null,
|
|
212
|
+
customFields: null,
|
|
213
|
+
id: "19f5bda939cb4147bc71ac0efa1573a4",
|
|
214
|
+
apiAlias: "seo_url",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
customEntityTypeId: null,
|
|
218
|
+
customFields: null,
|
|
219
|
+
id: "a19b6eddb87a4a8d80828997ad3f7fd4",
|
|
220
|
+
apiAlias: "category",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
translations: null,
|
|
224
|
+
media: null,
|
|
225
|
+
cmsPageId: "c7feafffb4404ebfb4090ffa328d2c7c",
|
|
226
|
+
cmsPageIdSwitched: true,
|
|
227
|
+
cmsPage: null,
|
|
228
|
+
linkType: null,
|
|
229
|
+
linkNewTab: null,
|
|
230
|
+
internalLink: null,
|
|
231
|
+
externalLink: null,
|
|
232
|
+
visible: true,
|
|
233
|
+
type: "page",
|
|
234
|
+
productAssignmentType: "product",
|
|
235
|
+
description: null,
|
|
236
|
+
metaTitle: null,
|
|
237
|
+
metaDescription: null,
|
|
238
|
+
keywords: null,
|
|
239
|
+
seoUrls: [
|
|
240
|
+
{
|
|
241
|
+
translated: [],
|
|
242
|
+
createdAt: "2022-08-01T14:02:03.482+00:00",
|
|
243
|
+
updatedAt: "2022-08-03T08:06:59.193+00:00",
|
|
244
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
245
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
246
|
+
routeName: "frontend.navigation.page",
|
|
247
|
+
foreignKey: "c568b6d678014d9bbc5e1e4b684b79c7",
|
|
248
|
+
pathInfo: "/navigation/c568b6d678014d9bbc5e1e4b684b79c7",
|
|
249
|
+
seoPathInfo: "Shop-service/",
|
|
250
|
+
isCanonical: true,
|
|
251
|
+
isModified: false,
|
|
252
|
+
isDeleted: false,
|
|
253
|
+
isValid: null,
|
|
254
|
+
url: null,
|
|
255
|
+
customFields: null,
|
|
256
|
+
id: "3b2716a1648649bd8a8d93eb326bea3d",
|
|
257
|
+
apiAlias: "seo_url",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
customEntityTypeId: null,
|
|
261
|
+
customFields: null,
|
|
262
|
+
id: "c568b6d678014d9bbc5e1e4b684b79c7",
|
|
263
|
+
apiAlias: "category",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
extensions: {
|
|
267
|
+
search: {
|
|
268
|
+
extensions: [],
|
|
269
|
+
_uniqueIdentifier: null,
|
|
270
|
+
translated: [],
|
|
271
|
+
autoIncrement: 38,
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
275
|
+
translated: {
|
|
276
|
+
breadcrumb: ["Home", "Footer Navigation", "Information"],
|
|
277
|
+
name: "Information",
|
|
278
|
+
customFields: {},
|
|
279
|
+
linkType: null,
|
|
280
|
+
internalLink: null,
|
|
281
|
+
externalLink: null,
|
|
282
|
+
linkNewTab: null,
|
|
283
|
+
description: null,
|
|
284
|
+
metaTitle: null,
|
|
285
|
+
metaDescription: null,
|
|
286
|
+
keywords: null,
|
|
287
|
+
},
|
|
288
|
+
createdAt: "2020-08-06T06:26:25.300+00:00",
|
|
289
|
+
updatedAt: null,
|
|
290
|
+
afterCategoryId: "c568b6d678014d9bbc5e1e4b684b79c7",
|
|
291
|
+
parentId: "0208fc353bdb492aba4bbd910ea5cc5a",
|
|
292
|
+
mediaId: null,
|
|
293
|
+
name: "Information",
|
|
294
|
+
breadcrumb: ["Home", "Footer Navigation", "Information"],
|
|
295
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|",
|
|
296
|
+
level: 3,
|
|
297
|
+
active: true,
|
|
298
|
+
childCount: 3,
|
|
299
|
+
visibleChildCount: 3,
|
|
300
|
+
displayNestedProducts: true,
|
|
301
|
+
parent: null,
|
|
302
|
+
children: [
|
|
303
|
+
{
|
|
304
|
+
extensions: {
|
|
305
|
+
search: {
|
|
306
|
+
extensions: [],
|
|
307
|
+
_uniqueIdentifier: null,
|
|
308
|
+
translated: [],
|
|
309
|
+
autoIncrement: 43,
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
313
|
+
translated: {
|
|
314
|
+
breadcrumb: [
|
|
315
|
+
"Home",
|
|
316
|
+
"Footer Navigation",
|
|
317
|
+
"Information",
|
|
318
|
+
"General terms \u0026 conditions",
|
|
319
|
+
],
|
|
320
|
+
name: "General terms \u0026 conditions",
|
|
321
|
+
customFields: {},
|
|
322
|
+
linkType: null,
|
|
323
|
+
internalLink: null,
|
|
324
|
+
externalLink: null,
|
|
325
|
+
linkNewTab: null,
|
|
326
|
+
description: null,
|
|
327
|
+
metaTitle: null,
|
|
328
|
+
metaDescription: null,
|
|
329
|
+
keywords: null,
|
|
330
|
+
},
|
|
331
|
+
createdAt: "2020-08-06T06:26:25.359+00:00",
|
|
332
|
+
updatedAt: "2022-08-01T03:47:22.714+00:00",
|
|
333
|
+
afterCategoryId: null,
|
|
334
|
+
parentId: "162cd978ddaa498790e70be6dc75d089",
|
|
335
|
+
mediaId: null,
|
|
336
|
+
name: "General terms \u0026 conditions",
|
|
337
|
+
breadcrumb: [
|
|
338
|
+
"Home",
|
|
339
|
+
"Footer Navigation",
|
|
340
|
+
"Information",
|
|
341
|
+
"General terms \u0026 conditions",
|
|
342
|
+
],
|
|
343
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|162cd978ddaa498790e70be6dc75d089|",
|
|
344
|
+
level: 4,
|
|
345
|
+
active: true,
|
|
346
|
+
childCount: 0,
|
|
347
|
+
visibleChildCount: 0,
|
|
348
|
+
displayNestedProducts: true,
|
|
349
|
+
parent: null,
|
|
350
|
+
children: [],
|
|
351
|
+
translations: null,
|
|
352
|
+
media: null,
|
|
353
|
+
cmsPageId: "cafbc9662dcd462a941c6fd8b284c462",
|
|
354
|
+
cmsPageIdSwitched: false,
|
|
355
|
+
cmsPage: null,
|
|
356
|
+
linkType: null,
|
|
357
|
+
linkNewTab: null,
|
|
358
|
+
internalLink: null,
|
|
359
|
+
externalLink: null,
|
|
360
|
+
visible: true,
|
|
361
|
+
type: "page",
|
|
362
|
+
productAssignmentType: "product",
|
|
363
|
+
description: null,
|
|
364
|
+
metaTitle: null,
|
|
365
|
+
metaDescription: null,
|
|
366
|
+
keywords: null,
|
|
367
|
+
seoUrls: [
|
|
368
|
+
{
|
|
369
|
+
translated: [],
|
|
370
|
+
createdAt: "2023-05-22T12:15:30.642+00:00",
|
|
371
|
+
updatedAt: null,
|
|
372
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
373
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
374
|
+
routeName: "frontend.navigation.page",
|
|
375
|
+
foreignKey: "7318eb39105f4c92b15ac2f84a252169",
|
|
376
|
+
pathInfo: "/navigation/7318eb39105f4c92b15ac2f84a252169",
|
|
377
|
+
seoPathInfo: "Information/General-terms-conditions/",
|
|
378
|
+
isCanonical: true,
|
|
379
|
+
isModified: false,
|
|
380
|
+
isDeleted: false,
|
|
381
|
+
isValid: null,
|
|
382
|
+
url: null,
|
|
383
|
+
customFields: null,
|
|
384
|
+
id: "ec1162dfa21744e18f12aef1c334a3d1",
|
|
385
|
+
apiAlias: "seo_url",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
customEntityTypeId: null,
|
|
389
|
+
customFields: {},
|
|
390
|
+
id: "7318eb39105f4c92b15ac2f84a252169",
|
|
391
|
+
apiAlias: "category",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
extensions: {
|
|
395
|
+
search: {
|
|
396
|
+
extensions: [],
|
|
397
|
+
_uniqueIdentifier: null,
|
|
398
|
+
translated: [],
|
|
399
|
+
autoIncrement: 96,
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
403
|
+
translated: {
|
|
404
|
+
breadcrumb: ["Home", "Footer Navigation", "Information", "Contact"],
|
|
405
|
+
name: "Contact",
|
|
406
|
+
customFields: {},
|
|
407
|
+
linkType: null,
|
|
408
|
+
internalLink: null,
|
|
409
|
+
externalLink: null,
|
|
410
|
+
linkNewTab: null,
|
|
411
|
+
description: null,
|
|
412
|
+
metaTitle: null,
|
|
413
|
+
metaDescription: null,
|
|
414
|
+
keywords: null,
|
|
415
|
+
},
|
|
416
|
+
createdAt: "2023-06-06T08:24:43.018+00:00",
|
|
417
|
+
updatedAt: "2023-06-06T08:25:43.398+00:00",
|
|
418
|
+
afterCategoryId: "7318eb39105f4c92b15ac2f84a252169",
|
|
419
|
+
parentId: "162cd978ddaa498790e70be6dc75d089",
|
|
420
|
+
mediaId: null,
|
|
421
|
+
name: "Contact",
|
|
422
|
+
breadcrumb: ["Home", "Footer Navigation", "Information", "Contact"],
|
|
423
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|162cd978ddaa498790e70be6dc75d089|",
|
|
424
|
+
level: 4,
|
|
425
|
+
active: true,
|
|
426
|
+
childCount: 0,
|
|
427
|
+
visibleChildCount: 0,
|
|
428
|
+
displayNestedProducts: true,
|
|
429
|
+
parent: null,
|
|
430
|
+
children: [],
|
|
431
|
+
translations: null,
|
|
432
|
+
media: null,
|
|
433
|
+
cmsPageId: "76ed25ab9c694873948f9183a8979a71",
|
|
434
|
+
cmsPageIdSwitched: false,
|
|
435
|
+
cmsPage: null,
|
|
436
|
+
linkType: null,
|
|
437
|
+
linkNewTab: null,
|
|
438
|
+
internalLink: null,
|
|
439
|
+
externalLink: null,
|
|
440
|
+
visible: true,
|
|
441
|
+
type: "page",
|
|
442
|
+
productAssignmentType: "product",
|
|
443
|
+
description: null,
|
|
444
|
+
metaTitle: null,
|
|
445
|
+
metaDescription: null,
|
|
446
|
+
keywords: null,
|
|
447
|
+
seoUrls: [
|
|
448
|
+
{
|
|
449
|
+
translated: [],
|
|
450
|
+
createdAt: "2023-06-06T08:25:43.629+00:00",
|
|
451
|
+
updatedAt: null,
|
|
452
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
453
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
454
|
+
routeName: "frontend.navigation.page",
|
|
455
|
+
foreignKey: "829d37718fe84e9d89bf377c197a029e",
|
|
456
|
+
pathInfo: "/navigation/829d37718fe84e9d89bf377c197a029e",
|
|
457
|
+
seoPathInfo: "Information/Contact/",
|
|
458
|
+
isCanonical: true,
|
|
459
|
+
isModified: false,
|
|
460
|
+
isDeleted: false,
|
|
461
|
+
isValid: null,
|
|
462
|
+
url: null,
|
|
463
|
+
customFields: null,
|
|
464
|
+
id: "9840d61b7e304f3cbf997c1ecdd3339e",
|
|
465
|
+
apiAlias: "seo_url",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
customEntityTypeId: null,
|
|
469
|
+
customFields: null,
|
|
470
|
+
id: "829d37718fe84e9d89bf377c197a029e",
|
|
471
|
+
apiAlias: "category",
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
extensions: {
|
|
475
|
+
search: {
|
|
476
|
+
extensions: [],
|
|
477
|
+
_uniqueIdentifier: null,
|
|
478
|
+
translated: [],
|
|
479
|
+
autoIncrement: 52,
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
|
|
483
|
+
translated: {
|
|
484
|
+
breadcrumb: ["Home", "Footer Navigation", "Information", "Imprint"],
|
|
485
|
+
name: "Imprint",
|
|
486
|
+
customFields: {},
|
|
487
|
+
linkType: null,
|
|
488
|
+
internalLink: null,
|
|
489
|
+
externalLink: null,
|
|
490
|
+
linkNewTab: null,
|
|
491
|
+
description: null,
|
|
492
|
+
metaTitle: null,
|
|
493
|
+
metaDescription: null,
|
|
494
|
+
keywords: null,
|
|
495
|
+
},
|
|
496
|
+
createdAt: "2020-08-06T06:26:25.465+00:00",
|
|
497
|
+
updatedAt: "2023-06-06T08:24:47.486+00:00",
|
|
498
|
+
afterCategoryId: "829d37718fe84e9d89bf377c197a029e",
|
|
499
|
+
parentId: "162cd978ddaa498790e70be6dc75d089",
|
|
500
|
+
mediaId: null,
|
|
501
|
+
name: "Imprint",
|
|
502
|
+
breadcrumb: ["Home", "Footer Navigation", "Information", "Imprint"],
|
|
503
|
+
path: "|525abe8981214bd2ba94fd33942333ec|0208fc353bdb492aba4bbd910ea5cc5a|162cd978ddaa498790e70be6dc75d089|",
|
|
504
|
+
level: 4,
|
|
505
|
+
active: true,
|
|
506
|
+
childCount: 0,
|
|
507
|
+
visibleChildCount: 0,
|
|
508
|
+
displayNestedProducts: true,
|
|
509
|
+
parent: null,
|
|
510
|
+
children: [],
|
|
511
|
+
translations: null,
|
|
512
|
+
media: null,
|
|
513
|
+
cmsPageId: "cafbc9662dcd462a941c6fd8b284c462",
|
|
514
|
+
cmsPageIdSwitched: false,
|
|
515
|
+
cmsPage: null,
|
|
516
|
+
linkType: null,
|
|
517
|
+
linkNewTab: null,
|
|
518
|
+
internalLink: null,
|
|
519
|
+
externalLink: null,
|
|
520
|
+
visible: true,
|
|
521
|
+
type: "page",
|
|
522
|
+
productAssignmentType: "product",
|
|
523
|
+
description: null,
|
|
524
|
+
metaTitle: null,
|
|
525
|
+
metaDescription: null,
|
|
526
|
+
keywords: null,
|
|
527
|
+
seoUrls: [
|
|
528
|
+
{
|
|
529
|
+
translated: [],
|
|
530
|
+
createdAt: "2023-05-22T12:15:30.642+00:00",
|
|
531
|
+
updatedAt: null,
|
|
532
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
533
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
534
|
+
routeName: "frontend.navigation.page",
|
|
535
|
+
foreignKey: "0c1493c7e7ec4961a393f18cf0310522",
|
|
536
|
+
pathInfo: "/navigation/0c1493c7e7ec4961a393f18cf0310522",
|
|
537
|
+
seoPathInfo: "Information/Imprint/",
|
|
538
|
+
isCanonical: true,
|
|
539
|
+
isModified: false,
|
|
540
|
+
isDeleted: false,
|
|
541
|
+
isValid: null,
|
|
542
|
+
url: null,
|
|
543
|
+
customFields: null,
|
|
544
|
+
id: "a9d9439488e045f1b496c6a09809189a",
|
|
545
|
+
apiAlias: "seo_url",
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
customEntityTypeId: null,
|
|
549
|
+
customFields: null,
|
|
550
|
+
id: "0c1493c7e7ec4961a393f18cf0310522",
|
|
551
|
+
apiAlias: "category",
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
translations: null,
|
|
555
|
+
media: null,
|
|
556
|
+
cmsPageId: "cafbc9662dcd462a941c6fd8b284c462",
|
|
557
|
+
cmsPageIdSwitched: false,
|
|
558
|
+
cmsPage: null,
|
|
559
|
+
linkType: null,
|
|
560
|
+
linkNewTab: null,
|
|
561
|
+
internalLink: null,
|
|
562
|
+
externalLink: null,
|
|
563
|
+
visible: true,
|
|
564
|
+
type: "page",
|
|
565
|
+
productAssignmentType: "product",
|
|
566
|
+
description: null,
|
|
567
|
+
metaTitle: null,
|
|
568
|
+
metaDescription: null,
|
|
569
|
+
keywords: null,
|
|
570
|
+
seoUrls: [
|
|
571
|
+
{
|
|
572
|
+
translated: [],
|
|
573
|
+
createdAt: "2022-08-01T14:02:03.482+00:00",
|
|
574
|
+
updatedAt: "2022-08-03T08:06:59.193+00:00",
|
|
575
|
+
salesChannelId: "98432def39fc4624b33213a56b8c944d",
|
|
576
|
+
languageId: "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
|
|
577
|
+
routeName: "frontend.navigation.page",
|
|
578
|
+
foreignKey: "162cd978ddaa498790e70be6dc75d089",
|
|
579
|
+
pathInfo: "/navigation/162cd978ddaa498790e70be6dc75d089",
|
|
580
|
+
seoPathInfo: "Information/",
|
|
581
|
+
isCanonical: true,
|
|
582
|
+
isModified: false,
|
|
583
|
+
isDeleted: false,
|
|
584
|
+
isValid: null,
|
|
585
|
+
url: null,
|
|
586
|
+
customFields: null,
|
|
587
|
+
id: "29b38ac4ebbc413ca1af745503cdc890",
|
|
588
|
+
apiAlias: "seo_url",
|
|
589
|
+
},
|
|
590
|
+
],
|
|
591
|
+
customEntityTypeId: null,
|
|
592
|
+
customFields: null,
|
|
593
|
+
id: "162cd978ddaa498790e70be6dc75d089",
|
|
594
|
+
apiAlias: "category",
|
|
595
|
+
},
|
|
596
|
+
] as unknown as Schemas["Category"][];
|
|
597
|
+
|
|
598
|
+
export default Menu;
|