@coveo/thermidor-schema 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schemas.d.ts +304 -201
- package/dist/generated/schemas.js +176 -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/{search-box.schema.json → commerce-search.schema.json} +22 -24
- 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/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,39 @@ 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 SubmitQueryPayloadSchema: z.ZodObject<{
|
|
323
|
+
query: z.ZodString;
|
|
324
|
+
}, z.core.$strict>;
|
|
325
|
+
export type SubmitQueryPayload = z.infer<typeof SubmitQueryPayloadSchema>;
|
|
326
|
+
export declare const CommerceSearchStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
327
|
+
export type CommerceSearchState = z.infer<typeof CommerceSearchStateSchema>;
|
|
328
|
+
export declare const LayoutStackActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
329
|
+
export type LayoutStackActions = z.infer<typeof LayoutStackActionsSchema>;
|
|
330
|
+
export declare const LayoutStackStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
331
|
+
export type LayoutStackState = z.infer<typeof LayoutStackStateSchema>;
|
|
332
|
+
export declare const QuerySummaryActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
333
|
+
export type QuerySummaryActions = z.infer<typeof QuerySummaryActionsSchema>;
|
|
334
|
+
export declare const QuerySummaryStateSchema: z.ZodObject<{
|
|
335
|
+
firstIndex: z.ZodNumber;
|
|
336
|
+
lastIndex: z.ZodNumber;
|
|
337
|
+
query: z.ZodString;
|
|
338
|
+
totalEntries: z.ZodNumber;
|
|
339
|
+
}, z.core.$strict>;
|
|
340
|
+
export type QuerySummaryState = z.infer<typeof QuerySummaryStateSchema>;
|
|
341
|
+
export declare const SetPageSizePayloadSchema: z.ZodObject<{
|
|
342
|
+
pageSize: z.ZodNumber;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
export type SetPageSizePayload = z.infer<typeof SetPageSizePayloadSchema>;
|
|
345
|
+
export declare const PageSizeStateSchema: z.ZodObject<{
|
|
346
|
+
pageSize: z.ZodNumber;
|
|
347
|
+
}, z.core.$strict>;
|
|
348
|
+
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
331
349
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
332
350
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
351
|
+
child: z.ZodOptional<z.ZodString>;
|
|
352
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
333
353
|
componentType: z.ZodLiteral<"product-carousel">;
|
|
334
354
|
state: z.ZodObject<{
|
|
335
355
|
heading: z.ZodString;
|
|
@@ -356,26 +376,6 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
356
376
|
}, z.core.$strict>;
|
|
357
377
|
}, z.core.$strict>;
|
|
358
378
|
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
379
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
380
380
|
payload: z.ZodObject<{
|
|
381
381
|
text: z.ZodString;
|
|
@@ -401,7 +401,7 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
401
401
|
label: z.ZodString;
|
|
402
402
|
slots: z.ZodArray<z.ZodObject<{
|
|
403
403
|
categoryLabel: z.ZodString;
|
|
404
|
-
|
|
404
|
+
childId: z.ZodString;
|
|
405
405
|
}, z.core.$strict>>;
|
|
406
406
|
}, z.core.$strict>;
|
|
407
407
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
@@ -410,18 +410,22 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
410
410
|
key: z.ZodString;
|
|
411
411
|
label: z.ZodString;
|
|
412
412
|
}, z.core.$strict>>;
|
|
413
|
+
heading: z.ZodString;
|
|
413
414
|
products: z.ZodArray<z.ZodObject<{
|
|
414
415
|
imageUrl: z.ZodOptional<z.ZodURL>;
|
|
415
416
|
name: z.ZodString;
|
|
416
417
|
price: z.ZodOptional<z.ZodNumber>;
|
|
417
418
|
productId: z.ZodString;
|
|
418
419
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
419
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
420
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
420
421
|
}, z.core.$strict>>;
|
|
422
|
+
summary: z.ZodString;
|
|
421
423
|
}, z.core.$strict>;
|
|
422
424
|
export type ComparisonTableState = z.infer<typeof ComparisonTableStateSchema>;
|
|
423
425
|
export declare const ProductListSchema: z.ZodObject<{
|
|
424
426
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
427
|
+
child: z.ZodOptional<z.ZodString>;
|
|
428
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
425
429
|
componentType: z.ZodLiteral<"product-list">;
|
|
426
430
|
state: z.ZodObject<{
|
|
427
431
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -447,18 +451,48 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
447
451
|
}, z.core.$strict>;
|
|
448
452
|
}, z.core.$strict>;
|
|
449
453
|
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
454
|
+
export declare const ProductSummarySchema: z.ZodObject<{
|
|
455
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
456
|
+
child: z.ZodOptional<z.ZodString>;
|
|
457
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
458
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
459
|
+
state: z.ZodObject<{
|
|
460
|
+
categoryLabel: z.ZodString;
|
|
461
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
462
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
463
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
464
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
465
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
466
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
467
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
468
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
469
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
470
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
471
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
472
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
473
|
+
ec_name: z.ZodString;
|
|
474
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
477
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
478
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
479
|
+
permanentid: z.ZodString;
|
|
480
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
481
|
+
}, z.core.$strict>;
|
|
482
|
+
}, z.core.$strict>;
|
|
483
|
+
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
450
484
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
451
485
|
payload: z.ZodObject<{
|
|
452
486
|
page: z.ZodNumber;
|
|
453
487
|
}, z.core.$strict>;
|
|
454
488
|
}, z.core.$strict>;
|
|
455
489
|
export type SelectPage = z.infer<typeof SelectPageSchema>;
|
|
456
|
-
export declare const
|
|
490
|
+
export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
457
491
|
payload: z.ZodObject<{
|
|
458
492
|
pageSize: z.ZodNumber;
|
|
459
493
|
}, z.core.$strict>;
|
|
460
494
|
}, z.core.$strict>;
|
|
461
|
-
export type
|
|
495
|
+
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
462
496
|
export declare const SelectSortSchema: z.ZodObject<{
|
|
463
497
|
payload: z.ZodObject<{
|
|
464
498
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -477,12 +511,6 @@ export declare const SortStateSchema: z.ZodObject<{
|
|
|
477
511
|
}, z.core.$strict>>;
|
|
478
512
|
}, z.core.$strict>;
|
|
479
513
|
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
514
|
export declare const SearchSchema: z.ZodObject<{
|
|
487
515
|
payload: z.ZodObject<{
|
|
488
516
|
query: z.ZodString;
|
|
@@ -636,23 +664,45 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
636
664
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
637
665
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
638
666
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
667
|
+
child: z.ZodOptional<z.ZodString>;
|
|
668
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
669
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
670
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
671
|
+
}, z.core.$strict>;
|
|
672
|
+
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
673
|
+
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
674
|
+
payload: z.ZodObject<{
|
|
675
|
+
query: z.ZodString;
|
|
676
|
+
}, z.core.$strict>;
|
|
677
|
+
}, z.core.$strict>;
|
|
678
|
+
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
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,22 @@ 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
|
-
|
|
963
|
+
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
964
|
+
submitQuery: z.ZodObject<{
|
|
919
965
|
payload: z.ZodObject<{
|
|
920
|
-
|
|
921
|
-
name: z.ZodString;
|
|
922
|
-
price: z.ZodNumber;
|
|
923
|
-
productId: z.ZodString;
|
|
924
|
-
quantity: z.ZodNumber;
|
|
925
|
-
}, z.core.$strict>>;
|
|
966
|
+
query: z.ZodString;
|
|
926
967
|
}, z.core.$strict>;
|
|
927
968
|
}, z.core.$strict>;
|
|
928
|
-
|
|
969
|
+
}, z.core.$strict>;
|
|
970
|
+
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
971
|
+
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
972
|
+
setPageSize: z.ZodObject<{
|
|
929
973
|
payload: z.ZodObject<{
|
|
930
|
-
|
|
931
|
-
name: z.ZodString;
|
|
932
|
-
price: z.ZodNumber;
|
|
933
|
-
productId: z.ZodString;
|
|
934
|
-
quantity: z.ZodNumber;
|
|
935
|
-
}, z.core.$strict>;
|
|
974
|
+
pageSize: z.ZodNumber;
|
|
936
975
|
}, z.core.$strict>;
|
|
937
976
|
}, z.core.$strict>;
|
|
938
977
|
}, z.core.$strict>;
|
|
939
|
-
export type
|
|
978
|
+
export type PageSizeActions = z.infer<typeof PageSizeActionsSchema>;
|
|
940
979
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
941
980
|
actions: z.ZodObject<{
|
|
942
981
|
selectAction: z.ZodObject<{
|
|
@@ -949,6 +988,8 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
949
988
|
}, z.core.$strict>;
|
|
950
989
|
}, z.core.$strict>;
|
|
951
990
|
}, z.core.$strict>;
|
|
991
|
+
child: z.ZodOptional<z.ZodString>;
|
|
992
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
952
993
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
953
994
|
state: z.ZodObject<{
|
|
954
995
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -963,6 +1004,8 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
963
1004
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
964
1005
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
965
1006
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1007
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
966
1009
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
967
1010
|
state: z.ZodObject<{
|
|
968
1011
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -970,7 +1013,7 @@ export declare const BundleDisplaySchema: z.ZodObject<{
|
|
|
970
1013
|
label: z.ZodString;
|
|
971
1014
|
slots: z.ZodArray<z.ZodObject<{
|
|
972
1015
|
categoryLabel: z.ZodString;
|
|
973
|
-
|
|
1016
|
+
childId: z.ZodString;
|
|
974
1017
|
}, z.core.$strict>>;
|
|
975
1018
|
}, z.core.$strict>>;
|
|
976
1019
|
}, z.core.$strict>;
|
|
@@ -989,6 +1032,8 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
989
1032
|
}, z.core.$strict>;
|
|
990
1033
|
}, z.core.$strict>;
|
|
991
1034
|
}, z.core.$strict>;
|
|
1035
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
992
1037
|
componentType: z.ZodLiteral<"pagination">;
|
|
993
1038
|
state: z.ZodObject<{
|
|
994
1039
|
page: z.ZodNumber;
|
|
@@ -1007,6 +1052,8 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1007
1052
|
}, z.core.$strict>;
|
|
1008
1053
|
}, z.core.$strict>;
|
|
1009
1054
|
}, z.core.$strict>;
|
|
1055
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1010
1057
|
componentType: z.ZodLiteral<"sort">;
|
|
1011
1058
|
state: z.ZodObject<{
|
|
1012
1059
|
appliedSort: z.ZodObject<{
|
|
@@ -1020,20 +1067,6 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1020
1067
|
}, z.core.$strict>;
|
|
1021
1068
|
}, z.core.$strict>;
|
|
1022
1069
|
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
1070
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1038
1071
|
actions: z.ZodObject<{
|
|
1039
1072
|
clearAllActiveValues: z.ZodObject<{
|
|
@@ -1077,6 +1110,8 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1077
1110
|
}, z.core.$strict>;
|
|
1078
1111
|
}, z.core.$strict>;
|
|
1079
1112
|
}, z.core.$strict>;
|
|
1113
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1080
1115
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1081
1116
|
state: z.ZodObject<{
|
|
1082
1117
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1134,6 +1169,8 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1134
1169
|
}, z.core.$strict>;
|
|
1135
1170
|
}, z.core.$strict>;
|
|
1136
1171
|
}, z.core.$strict>;
|
|
1172
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1174
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1138
1175
|
state: z.ZodObject<{
|
|
1139
1176
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1192,6 +1229,8 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1192
1229
|
}, z.core.$strict>;
|
|
1193
1230
|
}, z.core.$strict>;
|
|
1194
1231
|
}, z.core.$strict>;
|
|
1232
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
1234
|
componentType: z.ZodLiteral<"date-facet">;
|
|
1196
1235
|
state: z.ZodObject<{
|
|
1197
1236
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1244,6 +1283,8 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1244
1283
|
payload: z.ZodUnknown;
|
|
1245
1284
|
}, z.core.$strict>;
|
|
1246
1285
|
}, z.core.$strict>;
|
|
1286
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1247
1288
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1248
1289
|
state: z.ZodObject<{
|
|
1249
1290
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1279,42 +1320,40 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1279
1320
|
}, z.core.$strict>;
|
|
1280
1321
|
}, z.core.$strict>;
|
|
1281
1322
|
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
1282
|
-
export declare const
|
|
1323
|
+
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
1283
1324
|
actions: z.ZodObject<{
|
|
1284
|
-
|
|
1325
|
+
submitQuery: z.ZodObject<{
|
|
1285
1326
|
payload: z.ZodObject<{
|
|
1286
|
-
|
|
1287
|
-
name: z.ZodString;
|
|
1288
|
-
price: z.ZodNumber;
|
|
1289
|
-
productId: z.ZodString;
|
|
1290
|
-
quantity: z.ZodNumber;
|
|
1291
|
-
}, z.core.$strict>>;
|
|
1327
|
+
query: z.ZodString;
|
|
1292
1328
|
}, z.core.$strict>;
|
|
1293
1329
|
}, z.core.$strict>;
|
|
1294
|
-
|
|
1330
|
+
}, z.core.$strict>;
|
|
1331
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
1334
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1335
|
+
}, z.core.$strict>;
|
|
1336
|
+
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
1337
|
+
export declare const PageSizeSchema: z.ZodObject<{
|
|
1338
|
+
actions: z.ZodObject<{
|
|
1339
|
+
setPageSize: z.ZodObject<{
|
|
1295
1340
|
payload: z.ZodObject<{
|
|
1296
|
-
|
|
1297
|
-
name: z.ZodString;
|
|
1298
|
-
price: z.ZodNumber;
|
|
1299
|
-
productId: z.ZodString;
|
|
1300
|
-
quantity: z.ZodNumber;
|
|
1301
|
-
}, z.core.$strict>;
|
|
1341
|
+
pageSize: z.ZodNumber;
|
|
1302
1342
|
}, z.core.$strict>;
|
|
1303
1343
|
}, z.core.$strict>;
|
|
1304
1344
|
}, z.core.$strict>;
|
|
1305
|
-
|
|
1345
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1347
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1306
1348
|
state: z.ZodObject<{
|
|
1307
|
-
|
|
1308
|
-
name: z.ZodString;
|
|
1309
|
-
price: z.ZodNumber;
|
|
1310
|
-
productId: z.ZodString;
|
|
1311
|
-
quantity: z.ZodNumber;
|
|
1312
|
-
}, z.core.$strict>>;
|
|
1349
|
+
pageSize: z.ZodNumber;
|
|
1313
1350
|
}, z.core.$strict>;
|
|
1314
1351
|
}, z.core.$strict>;
|
|
1315
|
-
export type
|
|
1352
|
+
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
1316
1353
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1317
1354
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1355
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1318
1357
|
componentType: z.ZodLiteral<"product-carousel">;
|
|
1319
1358
|
state: z.ZodObject<{
|
|
1320
1359
|
heading: z.ZodString;
|
|
@@ -1339,38 +1378,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1339
1378
|
permanentid: z.ZodString;
|
|
1340
1379
|
}, z.core.$strict>>;
|
|
1341
1380
|
}, 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
1381
|
}, z.core.$strict>, z.ZodObject<{
|
|
1375
1382
|
actions: z.ZodObject<{
|
|
1376
1383
|
selectAction: z.ZodObject<{
|
|
@@ -1383,6 +1390,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1383
1390
|
}, z.core.$strict>;
|
|
1384
1391
|
}, z.core.$strict>;
|
|
1385
1392
|
}, z.core.$strict>;
|
|
1393
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1386
1395
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
1387
1396
|
state: z.ZodObject<{
|
|
1388
1397
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -1395,6 +1404,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1395
1404
|
}, z.core.$strict>;
|
|
1396
1405
|
}, z.core.$strict>, z.ZodObject<{
|
|
1397
1406
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1407
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1398
1409
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
1399
1410
|
state: z.ZodObject<{
|
|
1400
1411
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1402,29 +1413,35 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1402
1413
|
label: z.ZodString;
|
|
1403
1414
|
slots: z.ZodArray<z.ZodObject<{
|
|
1404
1415
|
categoryLabel: z.ZodString;
|
|
1405
|
-
|
|
1416
|
+
childId: z.ZodString;
|
|
1406
1417
|
}, z.core.$strict>>;
|
|
1407
1418
|
}, z.core.$strict>>;
|
|
1408
1419
|
}, z.core.$strict>;
|
|
1409
1420
|
}, z.core.$strict>, z.ZodObject<{
|
|
1410
1421
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1422
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1411
1424
|
componentType: z.ZodLiteral<"comparison-table">;
|
|
1412
1425
|
state: z.ZodObject<{
|
|
1413
1426
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1414
1427
|
key: z.ZodString;
|
|
1415
1428
|
label: z.ZodString;
|
|
1416
1429
|
}, z.core.$strict>>;
|
|
1430
|
+
heading: z.ZodString;
|
|
1417
1431
|
products: z.ZodArray<z.ZodObject<{
|
|
1418
1432
|
imageUrl: z.ZodOptional<z.ZodURL>;
|
|
1419
1433
|
name: z.ZodString;
|
|
1420
1434
|
price: z.ZodOptional<z.ZodNumber>;
|
|
1421
1435
|
productId: z.ZodString;
|
|
1422
1436
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
1423
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
1437
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1424
1438
|
}, z.core.$strict>>;
|
|
1439
|
+
summary: z.ZodString;
|
|
1425
1440
|
}, z.core.$strict>;
|
|
1426
1441
|
}, z.core.$strict>, z.ZodObject<{
|
|
1427
1442
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1443
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1428
1445
|
componentType: z.ZodLiteral<"product-list">;
|
|
1429
1446
|
state: z.ZodObject<{
|
|
1430
1447
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1448,6 +1465,34 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1448
1465
|
permanentid: z.ZodString;
|
|
1449
1466
|
}, z.core.$strict>>;
|
|
1450
1467
|
}, z.core.$strict>;
|
|
1468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1469
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1470
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1472
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
1473
|
+
state: z.ZodObject<{
|
|
1474
|
+
categoryLabel: z.ZodString;
|
|
1475
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
1476
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1477
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1478
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
1479
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1481
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1484
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1485
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
ec_name: z.ZodString;
|
|
1488
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1489
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1490
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1491
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1493
|
+
permanentid: z.ZodString;
|
|
1494
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
1495
|
+
}, z.core.$strict>;
|
|
1451
1496
|
}, z.core.$strict>, z.ZodObject<{
|
|
1452
1497
|
actions: z.ZodObject<{
|
|
1453
1498
|
selectPage: z.ZodObject<{
|
|
@@ -1461,6 +1506,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1461
1506
|
}, z.core.$strict>;
|
|
1462
1507
|
}, z.core.$strict>;
|
|
1463
1508
|
}, z.core.$strict>;
|
|
1509
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1510
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1464
1511
|
componentType: z.ZodLiteral<"pagination">;
|
|
1465
1512
|
state: z.ZodObject<{
|
|
1466
1513
|
page: z.ZodNumber;
|
|
@@ -1477,6 +1524,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1477
1524
|
}, z.core.$strict>;
|
|
1478
1525
|
}, z.core.$strict>;
|
|
1479
1526
|
}, z.core.$strict>;
|
|
1527
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1480
1529
|
componentType: z.ZodLiteral<"sort">;
|
|
1481
1530
|
state: z.ZodObject<{
|
|
1482
1531
|
appliedSort: z.ZodObject<{
|
|
@@ -1488,18 +1537,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1488
1537
|
sortCriteria: z.ZodString;
|
|
1489
1538
|
}, z.core.$strict>>;
|
|
1490
1539
|
}, 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
1540
|
}, z.core.$strict>, z.ZodObject<{
|
|
1504
1541
|
actions: z.ZodObject<{
|
|
1505
1542
|
clearAllActiveValues: z.ZodObject<{
|
|
@@ -1543,6 +1580,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1543
1580
|
}, z.core.$strict>;
|
|
1544
1581
|
}, z.core.$strict>;
|
|
1545
1582
|
}, z.core.$strict>;
|
|
1583
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1546
1585
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1547
1586
|
state: z.ZodObject<{
|
|
1548
1587
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1598,6 +1637,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1598
1637
|
}, z.core.$strict>;
|
|
1599
1638
|
}, z.core.$strict>;
|
|
1600
1639
|
}, z.core.$strict>;
|
|
1640
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1641
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1601
1642
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1602
1643
|
state: z.ZodObject<{
|
|
1603
1644
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1654,6 +1695,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1654
1695
|
}, z.core.$strict>;
|
|
1655
1696
|
}, z.core.$strict>;
|
|
1656
1697
|
}, z.core.$strict>;
|
|
1698
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1657
1700
|
componentType: z.ZodLiteral<"date-facet">;
|
|
1658
1701
|
state: z.ZodObject<{
|
|
1659
1702
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1704,6 +1747,8 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1704
1747
|
payload: z.ZodUnknown;
|
|
1705
1748
|
}, z.core.$strict>;
|
|
1706
1749
|
}, z.core.$strict>;
|
|
1750
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1751
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1707
1752
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1708
1753
|
state: z.ZodObject<{
|
|
1709
1754
|
canShowLessValues: z.ZodBoolean;
|
|
@@ -1739,9 +1784,52 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1739
1784
|
}, z.core.$strict>;
|
|
1740
1785
|
}, z.core.$strict>, z.ZodObject<{
|
|
1741
1786
|
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1787
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1788
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1742
1789
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
1790
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1791
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1792
|
+
actions: z.ZodObject<{
|
|
1793
|
+
submitQuery: z.ZodObject<{
|
|
1794
|
+
payload: z.ZodObject<{
|
|
1795
|
+
query: z.ZodString;
|
|
1796
|
+
}, z.core.$strict>;
|
|
1797
|
+
}, z.core.$strict>;
|
|
1798
|
+
}, z.core.$strict>;
|
|
1799
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1801
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
1802
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1804
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1805
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1807
|
+
componentType: z.ZodLiteral<"layout-stack">;
|
|
1808
|
+
state: z.ZodObject<{}, z.core.$strict>;
|
|
1809
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1810
|
+
actions: z.ZodObject<{}, z.core.$strict>;
|
|
1811
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1813
|
+
componentType: z.ZodLiteral<"query-summary">;
|
|
1743
1814
|
state: z.ZodObject<{
|
|
1744
|
-
|
|
1815
|
+
firstIndex: z.ZodNumber;
|
|
1816
|
+
lastIndex: z.ZodNumber;
|
|
1817
|
+
query: z.ZodString;
|
|
1818
|
+
totalEntries: z.ZodNumber;
|
|
1819
|
+
}, z.core.$strict>;
|
|
1820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1821
|
+
actions: z.ZodObject<{
|
|
1822
|
+
setPageSize: z.ZodObject<{
|
|
1823
|
+
payload: z.ZodObject<{
|
|
1824
|
+
pageSize: z.ZodNumber;
|
|
1825
|
+
}, z.core.$strict>;
|
|
1826
|
+
}, z.core.$strict>;
|
|
1827
|
+
}, z.core.$strict>;
|
|
1828
|
+
child: z.ZodOptional<z.ZodString>;
|
|
1829
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1830
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1831
|
+
state: z.ZodObject<{
|
|
1832
|
+
pageSize: z.ZodNumber;
|
|
1745
1833
|
}, z.core.$strict>;
|
|
1746
1834
|
}, z.core.$strict>], "componentType">;
|
|
1747
1835
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
@@ -1756,16 +1844,16 @@ export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
|
1756
1844
|
componentType: z.ZodLiteral<"bundle-display">;
|
|
1757
1845
|
}, z.core.$strip>;
|
|
1758
1846
|
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
1847
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
1765
1848
|
componentId: z.ZodString;
|
|
1766
1849
|
componentType: z.ZodLiteral<"category-facet">;
|
|
1767
1850
|
}, z.core.$strip>;
|
|
1768
1851
|
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
1852
|
+
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
1853
|
+
componentId: z.ZodString;
|
|
1854
|
+
componentType: z.ZodLiteral<"commerce-search">;
|
|
1855
|
+
}, z.core.$strip>;
|
|
1856
|
+
export type CommerceSearchProps = z.infer<typeof CommerceSearchPropsSchema>;
|
|
1769
1857
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
1770
1858
|
componentId: z.ZodString;
|
|
1771
1859
|
componentType: z.ZodLiteral<"comparison-table">;
|
|
@@ -1781,6 +1869,11 @@ export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
|
1781
1869
|
componentType: z.ZodLiteral<"facet-manager">;
|
|
1782
1870
|
}, z.core.$strip>;
|
|
1783
1871
|
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
1872
|
+
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
1873
|
+
componentId: z.ZodString;
|
|
1874
|
+
componentType: z.ZodLiteral<"layout-stack">;
|
|
1875
|
+
}, z.core.$strip>;
|
|
1876
|
+
export type LayoutStackProps = z.infer<typeof LayoutStackPropsSchema>;
|
|
1784
1877
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
1785
1878
|
componentId: z.ZodString;
|
|
1786
1879
|
componentType: z.ZodLiteral<"next-actions-bar">;
|
|
@@ -1791,6 +1884,11 @@ export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
|
1791
1884
|
componentType: z.ZodLiteral<"numeric-facet">;
|
|
1792
1885
|
}, z.core.$strip>;
|
|
1793
1886
|
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
1887
|
+
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
1888
|
+
componentId: z.ZodString;
|
|
1889
|
+
componentType: z.ZodLiteral<"page-size">;
|
|
1890
|
+
}, z.core.$strip>;
|
|
1891
|
+
export type PageSizeProps = z.infer<typeof PageSizePropsSchema>;
|
|
1794
1892
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
1795
1893
|
componentId: z.ZodString;
|
|
1796
1894
|
componentType: z.ZodLiteral<"pagination">;
|
|
@@ -1806,16 +1904,21 @@ export declare const ProductListPropsSchema: z.ZodObject<{
|
|
|
1806
1904
|
componentType: z.ZodLiteral<"product-list">;
|
|
1807
1905
|
}, z.core.$strip>;
|
|
1808
1906
|
export type ProductListProps = z.infer<typeof ProductListPropsSchema>;
|
|
1907
|
+
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
1908
|
+
componentId: z.ZodString;
|
|
1909
|
+
componentType: z.ZodLiteral<"product-summary">;
|
|
1910
|
+
}, z.core.$strip>;
|
|
1911
|
+
export type ProductSummaryProps = z.infer<typeof ProductSummaryPropsSchema>;
|
|
1912
|
+
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
1913
|
+
componentId: z.ZodString;
|
|
1914
|
+
componentType: z.ZodLiteral<"query-summary">;
|
|
1915
|
+
}, z.core.$strip>;
|
|
1916
|
+
export type QuerySummaryProps = z.infer<typeof QuerySummaryPropsSchema>;
|
|
1809
1917
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
1810
1918
|
componentId: z.ZodString;
|
|
1811
1919
|
componentType: z.ZodLiteral<"regular-facet">;
|
|
1812
1920
|
}, z.core.$strip>;
|
|
1813
1921
|
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
1922
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
1820
1923
|
componentId: z.ZodString;
|
|
1821
1924
|
componentType: z.ZodLiteral<"sort">;
|