@coveo/thermidor-schema 1.0.0-beta.1 → 1.0.0-beta.3
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/dist/generated/schemas.d.ts +282 -207
- package/dist/generated/schemas.js +168 -62
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/base/component.schema.json +14 -1
- package/schema/components/bundle-display.schema.json +13 -4
- package/schema/components/category-facet.schema.json +17 -22
- package/schema/components/commerce-search.schema.json +45 -0
- package/schema/components/comparison-table.schema.json +25 -9
- package/schema/components/component-contracts.schema.json +15 -6
- package/schema/components/date-facet.schema.json +17 -24
- package/schema/components/facet-manager.schema.json +15 -15
- package/schema/components/layout-stack.schema.json +47 -0
- package/schema/components/next-actions-bar.schema.json +16 -15
- package/schema/components/numeric-facet.schema.json +17 -24
- package/schema/components/page-size.schema.json +81 -0
- package/schema/components/pagination.schema.json +16 -17
- package/schema/components/product-carousel.schema.json +13 -5
- package/schema/components/product-list.schema.json +13 -4
- package/schema/components/product-summary.schema.json +63 -0
- package/schema/components/query-summary.schema.json +67 -0
- package/schema/components/regular-facet.schema.json +20 -30
- package/schema/components/sort.schema.json +16 -16
- package/schema/definitions/bundle-tier.schema.json +3 -3
- package/schema/definitions/child-ref.schema.json +8 -0
- package/schema/definitions/comparison-attribute.schema.json +2 -2
- package/schema/definitions/comparison-product.schema.json +2 -2
- package/schema/components/cart.schema.json +0 -108
- package/schema/components/search-box.schema.json +0 -74
- package/schema/definitions/cart-item.schema.json +0 -29
|
@@ -62,31 +62,6 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
62
62
|
}, z.core.$strict>>;
|
|
63
63
|
}, z.core.$strict>;
|
|
64
64
|
export type ProductCarouselState = z.infer<typeof ProductCarouselStateSchema>;
|
|
65
|
-
export declare const CartItemSchema: z.ZodObject<{
|
|
66
|
-
name: z.ZodString;
|
|
67
|
-
price: z.ZodNumber;
|
|
68
|
-
productId: z.ZodString;
|
|
69
|
-
quantity: z.ZodNumber;
|
|
70
|
-
}, z.core.$strict>;
|
|
71
|
-
export type CartItem = z.infer<typeof CartItemSchema>;
|
|
72
|
-
export declare const UpdateItemQuantityPayloadSchema: z.ZodObject<{
|
|
73
|
-
item: z.ZodObject<{
|
|
74
|
-
name: z.ZodString;
|
|
75
|
-
price: z.ZodNumber;
|
|
76
|
-
productId: z.ZodString;
|
|
77
|
-
quantity: z.ZodNumber;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
}, z.core.$strict>;
|
|
80
|
-
export type UpdateItemQuantityPayload = z.infer<typeof UpdateItemQuantityPayloadSchema>;
|
|
81
|
-
export declare const CartStateSchema: z.ZodObject<{
|
|
82
|
-
items: z.ZodArray<z.ZodObject<{
|
|
83
|
-
name: z.ZodString;
|
|
84
|
-
price: z.ZodNumber;
|
|
85
|
-
productId: z.ZodString;
|
|
86
|
-
quantity: z.ZodNumber;
|
|
87
|
-
}, z.core.$strict>>;
|
|
88
|
-
}, z.core.$strict>;
|
|
89
|
-
export type CartState = z.infer<typeof CartStateSchema>;
|
|
90
65
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
91
66
|
text: z.ZodString;
|
|
92
67
|
type: z.ZodEnum<{
|
|
@@ -107,7 +82,7 @@ export declare const BundleDisplayActionsSchema: z.ZodObject<{}, z.core.$strict>
|
|
|
107
82
|
export type BundleDisplayActions = z.infer<typeof BundleDisplayActionsSchema>;
|
|
108
83
|
export declare const BundleSlotSchema: z.ZodObject<{
|
|
109
84
|
categoryLabel: z.ZodString;
|
|
110
|
-
|
|
85
|
+
childId: z.ZodString;
|
|
111
86
|
}, z.core.$strict>;
|
|
112
87
|
export type BundleSlot = z.infer<typeof BundleSlotSchema>;
|
|
113
88
|
export declare const ComparisonTableActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -123,7 +98,7 @@ export declare const ComparisonProductSchema: z.ZodObject<{
|
|
|
123
98
|
price: z.ZodOptional<z.ZodNumber>;
|
|
124
99
|
productId: z.ZodString;
|
|
125
100
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
126
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
101
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
127
102
|
}, z.core.$strict>;
|
|
128
103
|
export type ComparisonProduct = z.infer<typeof ComparisonProductSchema>;
|
|
129
104
|
export declare const ProductListActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -151,14 +126,40 @@ export declare const ProductListStateSchema: z.ZodObject<{
|
|
|
151
126
|
}, z.core.$strict>>;
|
|
152
127
|
}, z.core.$strict>;
|
|
153
128
|
export type ProductListState = z.infer<typeof ProductListStateSchema>;
|
|
129
|
+
export declare const ProductSummaryActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
130
|
+
export type ProductSummaryActions = z.infer<typeof ProductSummaryActionsSchema>;
|
|
131
|
+
export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
132
|
+
categoryLabel: z.ZodString;
|
|
133
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
134
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
135
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
136
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
137
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
138
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
140
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
141
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
142
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
144
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
145
|
+
ec_name: z.ZodString;
|
|
146
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
149
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
150
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
151
|
+
permanentid: z.ZodString;
|
|
152
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
153
|
+
}, z.core.$strict>;
|
|
154
|
+
export type ProductSummaryState = z.infer<typeof ProductSummaryStateSchema>;
|
|
154
155
|
export declare const SelectPagePayloadSchema: z.ZodObject<{
|
|
155
156
|
page: z.ZodNumber;
|
|
156
157
|
}, z.core.$strict>;
|
|
157
158
|
export type SelectPagePayload = z.infer<typeof SelectPagePayloadSchema>;
|
|
158
|
-
export declare const
|
|
159
|
+
export declare const PayloadSchema: z.ZodObject<{
|
|
159
160
|
pageSize: z.ZodNumber;
|
|
160
161
|
}, z.core.$strict>;
|
|
161
|
-
export type
|
|
162
|
+
export type Payload = z.infer<typeof PayloadSchema>;
|
|
162
163
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
163
164
|
page: z.ZodNumber;
|
|
164
165
|
pageSize: z.ZodNumber;
|
|
@@ -176,14 +177,6 @@ export declare const SortCriterionSchema: z.ZodObject<{
|
|
|
176
177
|
sortCriteria: z.ZodString;
|
|
177
178
|
}, z.core.$strict>;
|
|
178
179
|
export type SortCriterion = z.infer<typeof SortCriterionSchema>;
|
|
179
|
-
export declare const SubmitQueryPayloadSchema: z.ZodObject<{
|
|
180
|
-
query: z.ZodString;
|
|
181
|
-
}, z.core.$strict>;
|
|
182
|
-
export type SubmitQueryPayload = z.infer<typeof SubmitQueryPayloadSchema>;
|
|
183
|
-
export declare const SearchBoxStateSchema: z.ZodObject<{
|
|
184
|
-
query: z.ZodString;
|
|
185
|
-
}, z.core.$strict>;
|
|
186
|
-
export type SearchBoxState = z.infer<typeof SearchBoxStateSchema>;
|
|
187
180
|
export declare const ActionSchema: z.ZodObject<{
|
|
188
181
|
payload: z.ZodUnknown;
|
|
189
182
|
}, z.core.$strict>;
|
|
@@ -324,12 +317,37 @@ export declare const CategoryFacetValuesSchema: z.ZodObject<{
|
|
|
324
317
|
export type CategoryFacetValues = z.infer<typeof CategoryFacetValuesSchema>;
|
|
325
318
|
export declare const FacetManagerActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
326
319
|
export type FacetManagerActions = z.infer<typeof FacetManagerActionsSchema>;
|
|
327
|
-
export declare const FacetManagerStateSchema: z.ZodObject<{
|
|
328
|
-
facetIds: z.ZodArray<z.ZodString>;
|
|
329
|
-
}, z.core.$strict>;
|
|
320
|
+
export declare const FacetManagerStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
330
321
|
export type FacetManagerState = z.infer<typeof FacetManagerStateSchema>;
|
|
322
|
+
export declare const CommerceSearchActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
323
|
+
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
324
|
+
export declare const CommerceSearchStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
325
|
+
export type CommerceSearchState = z.infer<typeof CommerceSearchStateSchema>;
|
|
326
|
+
export declare const LayoutStackActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
327
|
+
export type LayoutStackActions = z.infer<typeof LayoutStackActionsSchema>;
|
|
328
|
+
export declare const LayoutStackStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
329
|
+
export type LayoutStackState = z.infer<typeof LayoutStackStateSchema>;
|
|
330
|
+
export declare const QuerySummaryActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
331
|
+
export type QuerySummaryActions = z.infer<typeof QuerySummaryActionsSchema>;
|
|
332
|
+
export declare const QuerySummaryStateSchema: z.ZodObject<{
|
|
333
|
+
firstIndex: z.ZodNumber;
|
|
334
|
+
lastIndex: z.ZodNumber;
|
|
335
|
+
query: z.ZodString;
|
|
336
|
+
totalEntries: z.ZodNumber;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
export type QuerySummaryState = z.infer<typeof QuerySummaryStateSchema>;
|
|
339
|
+
export declare const SetPageSizePayloadSchema: z.ZodObject<{
|
|
340
|
+
pageSize: z.ZodNumber;
|
|
341
|
+
}, z.core.$strict>;
|
|
342
|
+
export type SetPageSizePayload = z.infer<typeof SetPageSizePayloadSchema>;
|
|
343
|
+
export declare const PageSizeStateSchema: z.ZodObject<{
|
|
344
|
+
pageSize: z.ZodNumber;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
331
347
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
332
348
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
349
|
+
child: z.ZodOptional<z.ZodString>;
|
|
350
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
333
351
|
componentType: z.ZodLiteral<"product-carousel">;
|
|
334
352
|
state: z.ZodObject<{
|
|
335
353
|
heading: z.ZodString;
|
|
@@ -356,26 +374,6 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
356
374
|
}, z.core.$strict>;
|
|
357
375
|
}, z.core.$strict>;
|
|
358
376
|
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
359
|
-
export declare const SetItemsPayloadSchema: z.ZodObject<{
|
|
360
|
-
items: z.ZodArray<z.ZodObject<{
|
|
361
|
-
name: z.ZodString;
|
|
362
|
-
price: z.ZodNumber;
|
|
363
|
-
productId: z.ZodString;
|
|
364
|
-
quantity: z.ZodNumber;
|
|
365
|
-
}, z.core.$strict>>;
|
|
366
|
-
}, z.core.$strict>;
|
|
367
|
-
export type SetItemsPayload = z.infer<typeof SetItemsPayloadSchema>;
|
|
368
|
-
export declare const UpdateItemQuantitySchema: z.ZodObject<{
|
|
369
|
-
payload: z.ZodObject<{
|
|
370
|
-
item: z.ZodObject<{
|
|
371
|
-
name: z.ZodString;
|
|
372
|
-
price: z.ZodNumber;
|
|
373
|
-
productId: z.ZodString;
|
|
374
|
-
quantity: z.ZodNumber;
|
|
375
|
-
}, z.core.$strict>;
|
|
376
|
-
}, z.core.$strict>;
|
|
377
|
-
}, z.core.$strict>;
|
|
378
|
-
export type UpdateItemQuantity = z.infer<typeof UpdateItemQuantitySchema>;
|
|
379
377
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
380
378
|
payload: z.ZodObject<{
|
|
381
379
|
text: z.ZodString;
|
|
@@ -401,7 +399,7 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
401
399
|
label: z.ZodString;
|
|
402
400
|
slots: z.ZodArray<z.ZodObject<{
|
|
403
401
|
categoryLabel: z.ZodString;
|
|
404
|
-
|
|
402
|
+
childId: z.ZodString;
|
|
405
403
|
}, z.core.$strict>>;
|
|
406
404
|
}, z.core.$strict>;
|
|
407
405
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
@@ -410,18 +408,22 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
410
408
|
key: z.ZodString;
|
|
411
409
|
label: z.ZodString;
|
|
412
410
|
}, z.core.$strict>>;
|
|
411
|
+
heading: z.ZodString;
|
|
413
412
|
products: z.ZodArray<z.ZodObject<{
|
|
414
413
|
imageUrl: z.ZodOptional<z.ZodURL>;
|
|
415
414
|
name: z.ZodString;
|
|
416
415
|
price: z.ZodOptional<z.ZodNumber>;
|
|
417
416
|
productId: z.ZodString;
|
|
418
417
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
419
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
418
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
420
419
|
}, z.core.$strict>>;
|
|
420
|
+
summary: z.ZodString;
|
|
421
421
|
}, z.core.$strict>;
|
|
422
422
|
export type ComparisonTableState = z.infer<typeof ComparisonTableStateSchema>;
|
|
423
423
|
export declare const ProductListSchema: z.ZodObject<{
|
|
424
424
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
425
|
+
child: z.ZodOptional<z.ZodString>;
|
|
426
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
425
427
|
componentType: z.ZodLiteral<"product-list">;
|
|
426
428
|
state: z.ZodObject<{
|
|
427
429
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -447,18 +449,48 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
447
449
|
}, z.core.$strict>;
|
|
448
450
|
}, z.core.$strict>;
|
|
449
451
|
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
452
|
+
export declare const ProductSummarySchema: z.ZodObject<{
|
|
453
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
454
|
+
child: z.ZodOptional<z.ZodString>;
|
|
455
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
456
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
457
|
+
state: z.ZodObject<{
|
|
458
|
+
categoryLabel: z.ZodString;
|
|
459
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
460
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
461
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
462
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
463
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
464
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
466
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
467
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
468
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
470
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
471
|
+
ec_name: z.ZodString;
|
|
472
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
475
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
476
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
477
|
+
permanentid: z.ZodString;
|
|
478
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
}, z.core.$strict>;
|
|
481
|
+
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
450
482
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
451
483
|
payload: z.ZodObject<{
|
|
452
484
|
page: z.ZodNumber;
|
|
453
485
|
}, z.core.$strict>;
|
|
454
486
|
}, z.core.$strict>;
|
|
455
487
|
export type SelectPage = z.infer<typeof SelectPageSchema>;
|
|
456
|
-
export declare const
|
|
488
|
+
export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
457
489
|
payload: z.ZodObject<{
|
|
458
490
|
pageSize: z.ZodNumber;
|
|
459
491
|
}, z.core.$strict>;
|
|
460
492
|
}, z.core.$strict>;
|
|
461
|
-
export type
|
|
493
|
+
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
462
494
|
export declare const SelectSortSchema: z.ZodObject<{
|
|
463
495
|
payload: z.ZodObject<{
|
|
464
496
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -477,12 +509,6 @@ export declare const SortStateSchema: z.ZodObject<{
|
|
|
477
509
|
}, z.core.$strict>>;
|
|
478
510
|
}, z.core.$strict>;
|
|
479
511
|
export type SortState = z.infer<typeof SortStateSchema>;
|
|
480
|
-
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
481
|
-
payload: z.ZodObject<{
|
|
482
|
-
query: z.ZodString;
|
|
483
|
-
}, z.core.$strict>;
|
|
484
|
-
}, z.core.$strict>;
|
|
485
|
-
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
486
512
|
export declare const SearchSchema: z.ZodObject<{
|
|
487
513
|
payload: z.ZodObject<{
|
|
488
514
|
query: z.ZodString;
|
|
@@ -636,23 +662,47 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
636
662
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
637
663
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
638
664
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
665
|
+
child: z.ZodOptional<z.ZodString>;
|
|
666
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
667
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
668
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
669
|
+
}, z.core.$strict>;
|
|
670
|
+
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
671
|
+
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
672
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
673
|
+
child: z.ZodOptional<z.ZodString>;
|
|
674
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
675
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
676
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
677
|
+
}, z.core.$strict>;
|
|
678
|
+
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
679
|
+
export declare const LayoutStackSchema: z.ZodObject<{
|
|
680
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
681
|
+
child: z.ZodOptional<z.ZodString>;
|
|
682
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
683
|
+
componentType: z.ZodLiteral<"layout-stack">;
|
|
684
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
685
|
+
}, z.core.$strict>;
|
|
686
|
+
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
687
|
+
export declare const QuerySummarySchema: z.ZodObject<{
|
|
688
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
689
|
+
child: z.ZodOptional<z.ZodString>;
|
|
690
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
691
|
+
componentType: z.ZodLiteral<"query-summary">;
|
|
640
692
|
state: z.ZodObject<{
|
|
641
|
-
|
|
693
|
+
firstIndex: z.ZodNumber;
|
|
694
|
+
lastIndex: z.ZodNumber;
|
|
695
|
+
query: z.ZodString;
|
|
696
|
+
totalEntries: z.ZodNumber;
|
|
642
697
|
}, z.core.$strict>;
|
|
643
698
|
}, z.core.$strict>;
|
|
644
|
-
export type
|
|
645
|
-
export declare const
|
|
699
|
+
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
700
|
+
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
646
701
|
payload: z.ZodObject<{
|
|
647
|
-
|
|
648
|
-
name: z.ZodString;
|
|
649
|
-
price: z.ZodNumber;
|
|
650
|
-
productId: z.ZodString;
|
|
651
|
-
quantity: z.ZodNumber;
|
|
652
|
-
}, z.core.$strict>>;
|
|
702
|
+
pageSize: z.ZodNumber;
|
|
653
703
|
}, z.core.$strict>;
|
|
654
704
|
}, z.core.$strict>;
|
|
655
|
-
export type
|
|
705
|
+
export type FluffySetPageSize = z.infer<typeof FluffySetPageSizeSchema>;
|
|
656
706
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
657
707
|
selectAction: z.ZodObject<{
|
|
658
708
|
payload: z.ZodObject<{
|
|
@@ -671,27 +721,31 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
671
721
|
label: z.ZodString;
|
|
672
722
|
slots: z.ZodArray<z.ZodObject<{
|
|
673
723
|
categoryLabel: z.ZodString;
|
|
674
|
-
|
|
724
|
+
childId: z.ZodString;
|
|
675
725
|
}, z.core.$strict>>;
|
|
676
726
|
}, z.core.$strict>>;
|
|
677
727
|
}, z.core.$strict>;
|
|
678
728
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
679
729
|
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
680
730
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
731
|
+
child: z.ZodOptional<z.ZodString>;
|
|
732
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
681
733
|
componentType: z.ZodLiteral<"comparison-table">;
|
|
682
734
|
state: z.ZodObject<{
|
|
683
735
|
attributes: z.ZodArray<z.ZodObject<{
|
|
684
736
|
key: z.ZodString;
|
|
685
737
|
label: z.ZodString;
|
|
686
738
|
}, z.core.$strict>>;
|
|
739
|
+
heading: z.ZodString;
|
|
687
740
|
products: z.ZodArray<z.ZodObject<{
|
|
688
741
|
imageUrl: z.ZodOptional<z.ZodURL>;
|
|
689
742
|
name: z.ZodString;
|
|
690
743
|
price: z.ZodOptional<z.ZodNumber>;
|
|
691
744
|
productId: z.ZodString;
|
|
692
745
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
693
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
746
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
694
747
|
}, z.core.$strict>>;
|
|
748
|
+
summary: z.ZodString;
|
|
695
749
|
}, z.core.$strict>;
|
|
696
750
|
}, z.core.$strict>;
|
|
697
751
|
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
@@ -717,14 +771,6 @@ export declare const SortActionsSchema: z.ZodObject<{
|
|
|
717
771
|
}, z.core.$strict>;
|
|
718
772
|
}, z.core.$strict>;
|
|
719
773
|
export type SortActions = z.infer<typeof SortActionsSchema>;
|
|
720
|
-
export declare const SearchBoxActionsSchema: z.ZodObject<{
|
|
721
|
-
submitQuery: z.ZodObject<{
|
|
722
|
-
payload: z.ZodObject<{
|
|
723
|
-
query: z.ZodString;
|
|
724
|
-
}, z.core.$strict>;
|
|
725
|
-
}, z.core.$strict>;
|
|
726
|
-
}, z.core.$strict>;
|
|
727
|
-
export type SearchBoxActions = z.infer<typeof SearchBoxActionsSchema>;
|
|
728
774
|
export declare const RegularFacetActionsSchema: z.ZodObject<{
|
|
729
775
|
clearAllActiveValues: z.ZodObject<{
|
|
730
776
|
payload: z.ZodUnknown;
|
|
@@ -914,29 +960,14 @@ export declare const CategoryFacetStateSchema: z.ZodObject<{
|
|
|
914
960
|
}, z.core.$strict>;
|
|
915
961
|
}, z.core.$strict>;
|
|
916
962
|
export type CategoryFacetState = z.infer<typeof CategoryFacetStateSchema>;
|
|
917
|
-
export declare const
|
|
918
|
-
|
|
919
|
-
payload: z.ZodObject<{
|
|
920
|
-
items: z.ZodArray<z.ZodObject<{
|
|
921
|
-
name: z.ZodString;
|
|
922
|
-
price: z.ZodNumber;
|
|
923
|
-
productId: z.ZodString;
|
|
924
|
-
quantity: z.ZodNumber;
|
|
925
|
-
}, z.core.$strict>>;
|
|
926
|
-
}, z.core.$strict>;
|
|
927
|
-
}, z.core.$strict>;
|
|
928
|
-
updateItemQuantity: z.ZodObject<{
|
|
963
|
+
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
964
|
+
setPageSize: z.ZodObject<{
|
|
929
965
|
payload: z.ZodObject<{
|
|
930
|
-
|
|
931
|
-
name: z.ZodString;
|
|
932
|
-
price: z.ZodNumber;
|
|
933
|
-
productId: z.ZodString;
|
|
934
|
-
quantity: z.ZodNumber;
|
|
935
|
-
}, z.core.$strict>;
|
|
966
|
+
pageSize: z.ZodNumber;
|
|
936
967
|
}, z.core.$strict>;
|
|
937
968
|
}, z.core.$strict>;
|
|
938
969
|
}, z.core.$strict>;
|
|
939
|
-
export type
|
|
970
|
+
export type PageSizeActions = z.infer<typeof PageSizeActionsSchema>;
|
|
940
971
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
941
972
|
actions: z.ZodObject<{
|
|
942
973
|
selectAction: z.ZodObject<{
|
|
@@ -949,6 +980,8 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
949
980
|
}, z.core.$strict>;
|
|
950
981
|
}, z.core.$strict>;
|
|
951
982
|
}, z.core.$strict>;
|
|
983
|
+
child: z.ZodOptional<z.ZodString>;
|
|
984
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
952
985
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
953
986
|
state: z.ZodObject<{
|
|
954
987
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -963,6 +996,8 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
963
996
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
964
997
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
965
998
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
999
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
966
1001
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
967
1002
|
state: z.ZodObject<{
|
|
968
1003
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -970,7 +1005,7 @@ export declare const BundleDisplaySchema: z.ZodObject<{
|
|
|
970
1005
|
label: z.ZodString;
|
|
971
1006
|
slots: z.ZodArray<z.ZodObject<{
|
|
972
1007
|
categoryLabel: z.ZodString;
|
|
973
|
-
|
|
1008
|
+
childId: z.ZodString;
|
|
974
1009
|
}, z.core.$strict>>;
|
|
975
1010
|
}, z.core.$strict>>;
|
|
976
1011
|
}, z.core.$strict>;
|
|
@@ -989,6 +1024,8 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
989
1024
|
}, z.core.$strict>;
|
|
990
1025
|
}, z.core.$strict>;
|
|
991
1026
|
}, z.core.$strict>;
|
|
1027
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
992
1029
|
componentType: z.ZodLiteral<"pagination">;
|
|
993
1030
|
state: z.ZodObject<{
|
|
994
1031
|
page: z.ZodNumber;
|
|
@@ -1007,6 +1044,8 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1007
1044
|
}, z.core.$strict>;
|
|
1008
1045
|
}, z.core.$strict>;
|
|
1009
1046
|
}, z.core.$strict>;
|
|
1047
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1010
1049
|
componentType: z.ZodLiteral<"sort">;
|
|
1011
1050
|
state: z.ZodObject<{
|
|
1012
1051
|
appliedSort: z.ZodObject<{
|
|
@@ -1020,20 +1059,6 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1020
1059
|
}, z.core.$strict>;
|
|
1021
1060
|
}, z.core.$strict>;
|
|
1022
1061
|
export type Sort = z.infer<typeof SortSchema>;
|
|
1023
|
-
export declare const SearchBoxSchema: z.ZodObject<{
|
|
1024
|
-
actions: z.ZodObject<{
|
|
1025
|
-
submitQuery: z.ZodObject<{
|
|
1026
|
-
payload: z.ZodObject<{
|
|
1027
|
-
query: z.ZodString;
|
|
1028
|
-
}, z.core.$strict>;
|
|
1029
|
-
}, z.core.$strict>;
|
|
1030
|
-
}, z.core.$strict>;
|
|
1031
|
-
componentType: z.ZodLiteral<"search-box">;
|
|
1032
|
-
state: z.ZodObject<{
|
|
1033
|
-
query: z.ZodString;
|
|
1034
|
-
}, z.core.$strict>;
|
|
1035
|
-
}, z.core.$strict>;
|
|
1036
|
-
export type SearchBox = z.infer<typeof SearchBoxSchema>;
|
|
1037
1062
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1038
1063
|
actions: z.ZodObject<{
|
|
1039
1064
|
clearAllActiveValues: z.ZodObject<{
|
|
@@ -1077,6 +1102,8 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1077
1102
|
}, z.core.$strict>;
|
|
1078
1103
|
}, z.core.$strict>;
|
|
1079
1104
|
}, z.core.$strict>;
|
|
1105
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1080
1107
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1081
1108
|
state: z.ZodObject<{
|
|
1082
1109
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1134,6 +1161,8 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1134
1161
|
}, z.core.$strict>;
|
|
1135
1162
|
}, z.core.$strict>;
|
|
1136
1163
|
}, z.core.$strict>;
|
|
1164
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1166
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1138
1167
|
state: z.ZodObject<{
|
|
1139
1168
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1192,6 +1221,8 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1192
1221
|
}, z.core.$strict>;
|
|
1193
1222
|
}, z.core.$strict>;
|
|
1194
1223
|
}, z.core.$strict>;
|
|
1224
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
1226
|
componentType: z.ZodLiteral<"date-facet">;
|
|
1196
1227
|
state: z.ZodObject<{
|
|
1197
1228
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1244,6 +1275,8 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1244
1275
|
payload: z.ZodUnknown;
|
|
1245
1276
|
}, z.core.$strict>;
|
|
1246
1277
|
}, z.core.$strict>;
|
|
1278
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1247
1280
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1248
1281
|
state: z.ZodObject<{
|
|
1249
1282
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1279,42 +1312,26 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1279
1312
|
}, z.core.$strict>;
|
|
1280
1313
|
}, z.core.$strict>;
|
|
1281
1314
|
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
1282
|
-
export declare const
|
|
1315
|
+
export declare const PageSizeSchema: z.ZodObject<{
|
|
1283
1316
|
actions: z.ZodObject<{
|
|
1284
|
-
|
|
1285
|
-
payload: z.ZodObject<{
|
|
1286
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1287
|
-
name: z.ZodString;
|
|
1288
|
-
price: z.ZodNumber;
|
|
1289
|
-
productId: z.ZodString;
|
|
1290
|
-
quantity: z.ZodNumber;
|
|
1291
|
-
}, z.core.$strict>>;
|
|
1292
|
-
}, z.core.$strict>;
|
|
1293
|
-
}, z.core.$strict>;
|
|
1294
|
-
updateItemQuantity: z.ZodObject<{
|
|
1317
|
+
setPageSize: z.ZodObject<{
|
|
1295
1318
|
payload: z.ZodObject<{
|
|
1296
|
-
|
|
1297
|
-
name: z.ZodString;
|
|
1298
|
-
price: z.ZodNumber;
|
|
1299
|
-
productId: z.ZodString;
|
|
1300
|
-
quantity: z.ZodNumber;
|
|
1301
|
-
}, z.core.$strict>;
|
|
1319
|
+
pageSize: z.ZodNumber;
|
|
1302
1320
|
}, z.core.$strict>;
|
|
1303
1321
|
}, z.core.$strict>;
|
|
1304
1322
|
}, z.core.$strict>;
|
|
1305
|
-
|
|
1323
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1325
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1306
1326
|
state: z.ZodObject<{
|
|
1307
|
-
|
|
1308
|
-
name: z.ZodString;
|
|
1309
|
-
price: z.ZodNumber;
|
|
1310
|
-
productId: z.ZodString;
|
|
1311
|
-
quantity: z.ZodNumber;
|
|
1312
|
-
}, z.core.$strict>>;
|
|
1327
|
+
pageSize: z.ZodNumber;
|
|
1313
1328
|
}, z.core.$strict>;
|
|
1314
1329
|
}, z.core.$strict>;
|
|
1315
|
-
export type
|
|
1330
|
+
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
1316
1331
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1317
1332
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1333
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1318
1335
|
componentType: z.ZodLiteral<"product-carousel">;
|
|
1319
1336
|
state: z.ZodObject<{
|
|
1320
1337
|
heading: z.ZodString;
|
|
@@ -1339,38 +1356,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1339
1356
|
permanentid: z.ZodString;
|
|
1340
1357
|
}, z.core.$strict>>;
|
|
1341
1358
|
}, z.core.$strict>;
|
|
1342
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1343
|
-
actions: z.ZodObject<{
|
|
1344
|
-
setItems: z.ZodObject<{
|
|
1345
|
-
payload: z.ZodObject<{
|
|
1346
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1347
|
-
name: z.ZodString;
|
|
1348
|
-
price: z.ZodNumber;
|
|
1349
|
-
productId: z.ZodString;
|
|
1350
|
-
quantity: z.ZodNumber;
|
|
1351
|
-
}, z.core.$strict>>;
|
|
1352
|
-
}, z.core.$strict>;
|
|
1353
|
-
}, z.core.$strict>;
|
|
1354
|
-
updateItemQuantity: z.ZodObject<{
|
|
1355
|
-
payload: z.ZodObject<{
|
|
1356
|
-
item: z.ZodObject<{
|
|
1357
|
-
name: z.ZodString;
|
|
1358
|
-
price: z.ZodNumber;
|
|
1359
|
-
productId: z.ZodString;
|
|
1360
|
-
quantity: z.ZodNumber;
|
|
1361
|
-
}, z.core.$strict>;
|
|
1362
|
-
}, z.core.$strict>;
|
|
1363
|
-
}, z.core.$strict>;
|
|
1364
|
-
}, z.core.$strict>;
|
|
1365
|
-
componentType: z.ZodLiteral<"cart">;
|
|
1366
|
-
state: z.ZodObject<{
|
|
1367
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1368
|
-
name: z.ZodString;
|
|
1369
|
-
price: z.ZodNumber;
|
|
1370
|
-
productId: z.ZodString;
|
|
1371
|
-
quantity: z.ZodNumber;
|
|
1372
|
-
}, z.core.$strict>>;
|
|
1373
|
-
}, z.core.$strict>;
|
|
1374
1359
|
}, z.core.$strict>, z.ZodObject<{
|
|
1375
1360
|
actions: z.ZodObject<{
|
|
1376
1361
|
selectAction: z.ZodObject<{
|
|
@@ -1383,6 +1368,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1383
1368
|
}, z.core.$strict>;
|
|
1384
1369
|
}, z.core.$strict>;
|
|
1385
1370
|
}, z.core.$strict>;
|
|
1371
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1386
1373
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
1387
1374
|
state: z.ZodObject<{
|
|
1388
1375
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -1395,6 +1382,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1395
1382
|
}, z.core.$strict>;
|
|
1396
1383
|
}, z.core.$strict>, z.ZodObject<{
|
|
1397
1384
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1385
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1398
1387
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
1399
1388
|
state: z.ZodObject<{
|
|
1400
1389
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1402,29 +1391,35 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1402
1391
|
label: z.ZodString;
|
|
1403
1392
|
slots: z.ZodArray<z.ZodObject<{
|
|
1404
1393
|
categoryLabel: z.ZodString;
|
|
1405
|
-
|
|
1394
|
+
childId: z.ZodString;
|
|
1406
1395
|
}, z.core.$strict>>;
|
|
1407
1396
|
}, z.core.$strict>>;
|
|
1408
1397
|
}, z.core.$strict>;
|
|
1409
1398
|
}, z.core.$strict>, z.ZodObject<{
|
|
1410
1399
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1400
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1411
1402
|
componentType: z.ZodLiteral<"comparison-table">;
|
|
1412
1403
|
state: z.ZodObject<{
|
|
1413
1404
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1414
1405
|
key: z.ZodString;
|
|
1415
1406
|
label: z.ZodString;
|
|
1416
1407
|
}, z.core.$strict>>;
|
|
1408
|
+
heading: z.ZodString;
|
|
1417
1409
|
products: z.ZodArray<z.ZodObject<{
|
|
1418
1410
|
imageUrl: z.ZodOptional<z.ZodURL>;
|
|
1419
1411
|
name: z.ZodString;
|
|
1420
1412
|
price: z.ZodOptional<z.ZodNumber>;
|
|
1421
1413
|
productId: z.ZodString;
|
|
1422
1414
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
1423
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
1415
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1424
1416
|
}, z.core.$strict>>;
|
|
1417
|
+
summary: z.ZodString;
|
|
1425
1418
|
}, z.core.$strict>;
|
|
1426
1419
|
}, z.core.$strict>, z.ZodObject<{
|
|
1427
1420
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1421
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1428
1423
|
componentType: z.ZodLiteral<"product-list">;
|
|
1429
1424
|
state: z.ZodObject<{
|
|
1430
1425
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1448,6 +1443,34 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1448
1443
|
permanentid: z.ZodString;
|
|
1449
1444
|
}, z.core.$strict>>;
|
|
1450
1445
|
}, z.core.$strict>;
|
|
1446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1447
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1448
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1450
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
1451
|
+
state: z.ZodObject<{
|
|
1452
|
+
categoryLabel: z.ZodString;
|
|
1453
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
1454
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1455
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1456
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
1457
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1458
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1459
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1462
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
ec_name: z.ZodString;
|
|
1466
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1467
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1468
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1469
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1471
|
+
permanentid: z.ZodString;
|
|
1472
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
1473
|
+
}, z.core.$strict>;
|
|
1451
1474
|
}, z.core.$strict>, z.ZodObject<{
|
|
1452
1475
|
actions: z.ZodObject<{
|
|
1453
1476
|
selectPage: z.ZodObject<{
|
|
@@ -1461,6 +1484,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1461
1484
|
}, z.core.$strict>;
|
|
1462
1485
|
}, z.core.$strict>;
|
|
1463
1486
|
}, z.core.$strict>;
|
|
1487
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1464
1489
|
componentType: z.ZodLiteral<"pagination">;
|
|
1465
1490
|
state: z.ZodObject<{
|
|
1466
1491
|
page: z.ZodNumber;
|
|
@@ -1477,6 +1502,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1477
1502
|
}, z.core.$strict>;
|
|
1478
1503
|
}, z.core.$strict>;
|
|
1479
1504
|
}, z.core.$strict>;
|
|
1505
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1480
1507
|
componentType: z.ZodLiteral<"sort">;
|
|
1481
1508
|
state: z.ZodObject<{
|
|
1482
1509
|
appliedSort: z.ZodObject<{
|
|
@@ -1488,18 +1515,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1488
1515
|
sortCriteria: z.ZodString;
|
|
1489
1516
|
}, z.core.$strict>>;
|
|
1490
1517
|
}, z.core.$strict>;
|
|
1491
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1492
|
-
actions: z.ZodObject<{
|
|
1493
|
-
submitQuery: z.ZodObject<{
|
|
1494
|
-
payload: z.ZodObject<{
|
|
1495
|
-
query: z.ZodString;
|
|
1496
|
-
}, z.core.$strict>;
|
|
1497
|
-
}, z.core.$strict>;
|
|
1498
|
-
}, z.core.$strict>;
|
|
1499
|
-
componentType: z.ZodLiteral<"search-box">;
|
|
1500
|
-
state: z.ZodObject<{
|
|
1501
|
-
query: z.ZodString;
|
|
1502
|
-
}, z.core.$strict>;
|
|
1503
1518
|
}, z.core.$strict>, z.ZodObject<{
|
|
1504
1519
|
actions: z.ZodObject<{
|
|
1505
1520
|
clearAllActiveValues: z.ZodObject<{
|
|
@@ -1543,6 +1558,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1543
1558
|
}, z.core.$strict>;
|
|
1544
1559
|
}, z.core.$strict>;
|
|
1545
1560
|
}, z.core.$strict>;
|
|
1561
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1546
1563
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1547
1564
|
state: z.ZodObject<{
|
|
1548
1565
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1598,6 +1615,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1598
1615
|
}, z.core.$strict>;
|
|
1599
1616
|
}, z.core.$strict>;
|
|
1600
1617
|
}, z.core.$strict>;
|
|
1618
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1601
1620
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1602
1621
|
state: z.ZodObject<{
|
|
1603
1622
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1654,6 +1673,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1654
1673
|
}, z.core.$strict>;
|
|
1655
1674
|
}, z.core.$strict>;
|
|
1656
1675
|
}, z.core.$strict>;
|
|
1676
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1657
1678
|
componentType: z.ZodLiteral<"date-facet">;
|
|
1658
1679
|
state: z.ZodObject<{
|
|
1659
1680
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1704,6 +1725,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1704
1725
|
payload: z.ZodUnknown;
|
|
1705
1726
|
}, z.core.$strict>;
|
|
1706
1727
|
}, z.core.$strict>;
|
|
1728
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1707
1730
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1708
1731
|
state: z.ZodObject<{
|
|
1709
1732
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1739,9 +1762,46 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1739
1762
|
}, z.core.$strict>;
|
|
1740
1763
|
}, z.core.$strict>, z.ZodObject<{
|
|
1741
1764
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1765
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1742
1767
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
1768
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1769
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1770
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1771
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1773
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
1774
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1776
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1777
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1778
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1779
|
+
componentType: z.ZodLiteral<"layout-stack">;
|
|
1780
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1782
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1783
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1785
|
+
componentType: z.ZodLiteral<"query-summary">;
|
|
1743
1786
|
state: z.ZodObject<{
|
|
1744
|
-
|
|
1787
|
+
firstIndex: z.ZodNumber;
|
|
1788
|
+
lastIndex: z.ZodNumber;
|
|
1789
|
+
query: z.ZodString;
|
|
1790
|
+
totalEntries: z.ZodNumber;
|
|
1791
|
+
}, z.core.$strict>;
|
|
1792
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1793
|
+
actions: z.ZodObject<{
|
|
1794
|
+
setPageSize: z.ZodObject<{
|
|
1795
|
+
payload: z.ZodObject<{
|
|
1796
|
+
pageSize: z.ZodNumber;
|
|
1797
|
+
}, z.core.$strict>;
|
|
1798
|
+
}, z.core.$strict>;
|
|
1799
|
+
}, z.core.$strict>;
|
|
1800
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1802
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1803
|
+
state: z.ZodObject<{
|
|
1804
|
+
pageSize: z.ZodNumber;
|
|
1745
1805
|
}, z.core.$strict>;
|
|
1746
1806
|
}, z.core.$strict>], "componentType">;
|
|
1747
1807
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
@@ -1756,16 +1816,16 @@ export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
|
1756
1816
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
1757
1817
|
}, z.core.$strip>;
|
|
1758
1818
|
export type BundleDisplayProps = z.infer<typeof BundleDisplayPropsSchema>;
|
|
1759
|
-
export declare const CartPropsSchema: z.ZodObject<{
|
|
1760
|
-
componentId: z.ZodString;
|
|
1761
|
-
componentType: z.ZodLiteral<"cart">;
|
|
1762
|
-
}, z.core.$strip>;
|
|
1763
|
-
export type CartProps = z.infer<typeof CartPropsSchema>;
|
|
1764
1819
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
1765
1820
|
componentId: z.ZodString;
|
|
1766
1821
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1767
1822
|
}, z.core.$strip>;
|
|
1768
1823
|
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
1824
|
+
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
1825
|
+
componentId: z.ZodString;
|
|
1826
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
1827
|
+
}, z.core.$strip>;
|
|
1828
|
+
export type CommerceSearchProps = z.infer<typeof CommerceSearchPropsSchema>;
|
|
1769
1829
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
1770
1830
|
componentId: z.ZodString;
|
|
1771
1831
|
componentType: z.ZodLiteral<"comparison-table">;
|
|
@@ -1781,6 +1841,11 @@ export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
|
1781
1841
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
1782
1842
|
}, z.core.$strip>;
|
|
1783
1843
|
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
1844
|
+
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
1845
|
+
componentId: z.ZodString;
|
|
1846
|
+
componentType: z.ZodLiteral<"layout-stack">;
|
|
1847
|
+
}, z.core.$strip>;
|
|
1848
|
+
export type LayoutStackProps = z.infer<typeof LayoutStackPropsSchema>;
|
|
1784
1849
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
1785
1850
|
componentId: z.ZodString;
|
|
1786
1851
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
@@ -1791,6 +1856,11 @@ export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
|
1791
1856
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1792
1857
|
}, z.core.$strip>;
|
|
1793
1858
|
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
1859
|
+
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
1860
|
+
componentId: z.ZodString;
|
|
1861
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1862
|
+
}, z.core.$strip>;
|
|
1863
|
+
export type PageSizeProps = z.infer<typeof PageSizePropsSchema>;
|
|
1794
1864
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
1795
1865
|
componentId: z.ZodString;
|
|
1796
1866
|
componentType: z.ZodLiteral<"pagination">;
|
|
@@ -1806,16 +1876,21 @@ export declare const ProductListPropsSchema: z.ZodObject<{
|
|
|
1806
1876
|
componentType: z.ZodLiteral<"product-list">;
|
|
1807
1877
|
}, z.core.$strip>;
|
|
1808
1878
|
export type ProductListProps = z.infer<typeof ProductListPropsSchema>;
|
|
1879
|
+
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
1880
|
+
componentId: z.ZodString;
|
|
1881
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
1882
|
+
}, z.core.$strip>;
|
|
1883
|
+
export type ProductSummaryProps = z.infer<typeof ProductSummaryPropsSchema>;
|
|
1884
|
+
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
1885
|
+
componentId: z.ZodString;
|
|
1886
|
+
componentType: z.ZodLiteral<"query-summary">;
|
|
1887
|
+
}, z.core.$strip>;
|
|
1888
|
+
export type QuerySummaryProps = z.infer<typeof QuerySummaryPropsSchema>;
|
|
1809
1889
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
1810
1890
|
componentId: z.ZodString;
|
|
1811
1891
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1812
1892
|
}, z.core.$strip>;
|
|
1813
1893
|
export type RegularFacetProps = z.infer<typeof RegularFacetPropsSchema>;
|
|
1814
|
-
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
1815
|
-
componentId: z.ZodString;
|
|
1816
|
-
componentType: z.ZodLiteral<"search-box">;
|
|
1817
|
-
}, z.core.$strip>;
|
|
1818
|
-
export type SearchBoxProps = z.infer<typeof SearchBoxPropsSchema>;
|
|
1819
1894
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
1820
1895
|
componentId: z.ZodString;
|
|
1821
1896
|
componentType: z.ZodLiteral<"sort">;
|