@coveo/thermidor-schema 1.0.0-beta.5 → 1.0.0-beta.6
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 +1027 -348
- package/dist/generated/schemas.js +445 -229
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +20 -19
- package/schema/base/catalog.schema.json +3 -2
- package/schema/base/component.schema.json +24 -33
- package/schema/component-contracts.schema.json +1 -1
- package/schema/components/bundle-display.schema.json +9 -13
- package/schema/components/cart.schema.json +5 -14
- package/schema/components/category-facet.schema.json +29 -13
- package/schema/components/commerce-search.schema.json +15 -14
- package/schema/components/comparison-table.schema.json +21 -13
- package/schema/components/date-facet.schema.json +33 -13
- package/schema/components/facet-manager.schema.json +12 -14
- package/schema/components/layout-stack.schema.json +18 -15
- package/schema/components/next-actions-bar.schema.json +12 -15
- package/schema/components/numeric-facet.schema.json +37 -13
- package/schema/components/page-size.schema.json +13 -15
- package/schema/components/pagination.schema.json +21 -13
- package/schema/components/product-carousel.schema.json +13 -13
- package/schema/components/product-list.schema.json +9 -13
- package/schema/components/product-summary.schema.json +15 -14
- package/schema/components/query-suggestions.schema.json +17 -13
- package/schema/components/query-summary.schema.json +23 -14
- package/schema/components/regular-facet.schema.json +33 -13
- package/schema/components/sort.schema.json +13 -13
- package/schema/definitions/bundle-tier.schema.json +6 -1
- package/schema/definitions/child-list.schema.json +32 -0
- package/schema/definitions/component-id.schema.json +9 -0
- package/schema/definitions/data-binding.schema.json +16 -0
- package/schema/definitions/child-ref.schema.json +0 -8
|
@@ -42,6 +42,15 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
42
42
|
permanentid: z.ZodString;
|
|
43
43
|
}, z.core.$strict>;
|
|
44
44
|
export type Product = z.infer<typeof ProductSchema>;
|
|
45
|
+
export declare const DataBindingSchema: z.ZodObject<{
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export type DataBinding = z.infer<typeof DataBindingSchema>;
|
|
49
|
+
export declare const ChildListClassSchema: z.ZodObject<{
|
|
50
|
+
componentId: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
45
54
|
export declare const ProductCarouselActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
46
55
|
export type ProductCarouselActions = z.infer<typeof ProductCarouselActionsSchema>;
|
|
47
56
|
export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
@@ -409,11 +418,10 @@ export declare const PageSizeStateSchema: z.ZodObject<{
|
|
|
409
418
|
}, z.core.$strict>;
|
|
410
419
|
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
411
420
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
412
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
state: z.ZodObject<{
|
|
421
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
422
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
417
425
|
heading: z.ZodString;
|
|
418
426
|
products: z.ZodArray<z.ZodObject<{
|
|
419
427
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -435,8 +443,8 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
435
443
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
436
444
|
permanentid: z.ZodString;
|
|
437
445
|
}, z.core.$strict>>;
|
|
438
|
-
}, z.core.$strict
|
|
439
|
-
}, z.core.$
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
}, z.core.$loose>;
|
|
440
448
|
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
441
449
|
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
442
450
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -510,7 +518,7 @@ export declare const SelectActionSchema: z.ZodObject<{
|
|
|
510
518
|
}, z.core.$strict>;
|
|
511
519
|
export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
512
520
|
export declare const NextActionsStateSchema: z.ZodObject<{
|
|
513
|
-
|
|
521
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
514
522
|
text: z.ZodString;
|
|
515
523
|
type: z.ZodEnum<{
|
|
516
524
|
followup: "followup";
|
|
@@ -526,6 +534,7 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
526
534
|
categoryLabel: z.ZodString;
|
|
527
535
|
childId: z.ZodString;
|
|
528
536
|
}, z.core.$strict>>;
|
|
537
|
+
total: z.ZodNumber;
|
|
529
538
|
}, z.core.$strict>;
|
|
530
539
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
531
540
|
export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
@@ -561,11 +570,10 @@ export declare const SelectProductsSchema: z.ZodObject<{
|
|
|
561
570
|
}, z.core.$strict>;
|
|
562
571
|
export type SelectProducts = z.infer<typeof SelectProductsSchema>;
|
|
563
572
|
export declare const ProductSummarySchema: z.ZodObject<{
|
|
564
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
state: z.ZodObject<{
|
|
573
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
574
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
569
577
|
categoryLabel: z.ZodString;
|
|
570
578
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
571
579
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -587,8 +595,8 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
587
595
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
588
596
|
permanentid: z.ZodString;
|
|
589
597
|
}, z.core.$strict>, z.ZodNull]>;
|
|
590
|
-
}, z.core.$strict
|
|
591
|
-
}, z.core.$
|
|
598
|
+
}, z.core.$strict>>;
|
|
599
|
+
}, z.core.$loose>;
|
|
592
600
|
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
593
601
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
594
602
|
payload: z.ZodObject<{
|
|
@@ -776,12 +784,11 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
776
784
|
}, z.core.$strict>;
|
|
777
785
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
778
786
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
779
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
}, z.core.$strict>;
|
|
787
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
788
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
791
|
+
}, z.core.$loose>;
|
|
785
792
|
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
786
793
|
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
787
794
|
payload: z.ZodObject<{
|
|
@@ -806,25 +813,23 @@ export declare const SubmitQuerySchema: z.ZodObject<{
|
|
|
806
813
|
}, z.core.$strict>;
|
|
807
814
|
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
808
815
|
export declare const LayoutStackSchema: z.ZodObject<{
|
|
809
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
}, z.core.$strict>;
|
|
816
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
817
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
818
|
+
id: z.ZodString;
|
|
819
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
820
|
+
}, z.core.$loose>;
|
|
815
821
|
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
816
822
|
export declare const QuerySummarySchema: z.ZodObject<{
|
|
817
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
state: z.ZodObject<{
|
|
823
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
824
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
825
|
+
id: z.ZodString;
|
|
826
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
822
827
|
firstIndex: z.ZodNumber;
|
|
823
828
|
lastIndex: z.ZodNumber;
|
|
824
829
|
query: z.ZodString;
|
|
825
830
|
totalEntries: z.ZodNumber;
|
|
826
|
-
}, z.core.$strict
|
|
827
|
-
}, z.core.$
|
|
831
|
+
}, z.core.$strict>>;
|
|
832
|
+
}, z.core.$loose>;
|
|
828
833
|
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
829
834
|
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
830
835
|
payload: z.ZodObject<{
|
|
@@ -875,15 +880,15 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
875
880
|
categoryLabel: z.ZodString;
|
|
876
881
|
childId: z.ZodString;
|
|
877
882
|
}, z.core.$strict>>;
|
|
883
|
+
total: z.ZodNumber;
|
|
878
884
|
}, z.core.$strict>>;
|
|
879
885
|
}, z.core.$strict>;
|
|
880
886
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
881
887
|
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
882
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
state: z.ZodObject<{
|
|
888
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
889
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
890
|
+
id: z.ZodString;
|
|
891
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
887
892
|
attributes: z.ZodArray<z.ZodObject<{
|
|
888
893
|
key: z.ZodString;
|
|
889
894
|
label: z.ZodString;
|
|
@@ -898,8 +903,8 @@ export declare const ComparisonTableSchema: z.ZodObject<{
|
|
|
898
903
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
899
904
|
}, z.core.$strict>>;
|
|
900
905
|
summary: z.ZodString;
|
|
901
|
-
}, z.core.$strict
|
|
902
|
-
}, z.core.$
|
|
906
|
+
}, z.core.$strict>>;
|
|
907
|
+
}, z.core.$loose>;
|
|
903
908
|
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
904
909
|
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
905
910
|
productClick: z.ZodObject<{
|
|
@@ -1187,17 +1192,16 @@ export declare const CartActionsSchema: z.ZodObject<{
|
|
|
1187
1192
|
}, z.core.$strict>;
|
|
1188
1193
|
export type CartActions = z.infer<typeof CartActionsSchema>;
|
|
1189
1194
|
export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
1190
|
-
actions: z.ZodObject<{
|
|
1195
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1191
1196
|
fetchSuggestions: z.ZodObject<{
|
|
1192
1197
|
payload: z.ZodObject<{
|
|
1193
1198
|
query: z.ZodString;
|
|
1194
1199
|
}, z.core.$strict>;
|
|
1195
1200
|
}, z.core.$strict>;
|
|
1196
|
-
}, z.core.$strict
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
state: z.ZodObject<{
|
|
1201
|
+
}, z.core.$strict>>;
|
|
1202
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1203
|
+
id: z.ZodString;
|
|
1204
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1201
1205
|
completions: z.ZodArray<z.ZodObject<{
|
|
1202
1206
|
expression: z.ZodString;
|
|
1203
1207
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1223,11 +1227,11 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1223
1227
|
permanentid: z.ZodString;
|
|
1224
1228
|
}, z.core.$strict>>;
|
|
1225
1229
|
query: z.ZodString;
|
|
1226
|
-
}, z.core.$strict
|
|
1227
|
-
}, z.core.$
|
|
1230
|
+
}, z.core.$strict>>;
|
|
1231
|
+
}, z.core.$loose>;
|
|
1228
1232
|
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
1229
1233
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
1230
|
-
actions: z.ZodObject<{
|
|
1234
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1231
1235
|
selectAction: z.ZodObject<{
|
|
1232
1236
|
payload: z.ZodObject<{
|
|
1233
1237
|
text: z.ZodString;
|
|
@@ -1237,27 +1241,25 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
1237
1241
|
}>;
|
|
1238
1242
|
}, z.core.$strict>;
|
|
1239
1243
|
}, z.core.$strict>;
|
|
1240
|
-
}, z.core.$strict
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
actions: z.ZodArray<z.ZodObject<{
|
|
1244
|
+
}, z.core.$strict>>;
|
|
1245
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1246
|
+
id: z.ZodString;
|
|
1247
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1248
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1246
1249
|
text: z.ZodString;
|
|
1247
1250
|
type: z.ZodEnum<{
|
|
1248
1251
|
followup: "followup";
|
|
1249
1252
|
search: "search";
|
|
1250
1253
|
}>;
|
|
1251
1254
|
}, z.core.$strict>>;
|
|
1252
|
-
}, z.core.$strict
|
|
1253
|
-
}, z.core.$
|
|
1255
|
+
}, z.core.$strict>>;
|
|
1256
|
+
}, z.core.$loose>;
|
|
1254
1257
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
1255
1258
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
1256
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
state: z.ZodObject<{
|
|
1259
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1260
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1261
|
+
id: z.ZodString;
|
|
1262
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1261
1263
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1262
1264
|
description: z.ZodString;
|
|
1263
1265
|
label: z.ZodString;
|
|
@@ -1265,12 +1267,13 @@ export declare const BundleDisplaySchema: z.ZodObject<{
|
|
|
1265
1267
|
categoryLabel: z.ZodString;
|
|
1266
1268
|
childId: z.ZodString;
|
|
1267
1269
|
}, z.core.$strict>>;
|
|
1270
|
+
total: z.ZodNumber;
|
|
1268
1271
|
}, z.core.$strict>>;
|
|
1269
|
-
}, z.core.$strict
|
|
1270
|
-
}, z.core.$
|
|
1272
|
+
}, z.core.$strict>>;
|
|
1273
|
+
}, z.core.$loose>;
|
|
1271
1274
|
export type BundleDisplay = z.infer<typeof BundleDisplaySchema>;
|
|
1272
1275
|
export declare const ProductListSchema: z.ZodObject<{
|
|
1273
|
-
actions: z.ZodObject<{
|
|
1276
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1274
1277
|
productClick: z.ZodObject<{
|
|
1275
1278
|
payload: z.ZodObject<{
|
|
1276
1279
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1284,11 +1287,10 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
1284
1287
|
productIds: z.ZodArray<z.ZodString>;
|
|
1285
1288
|
}, z.core.$strict>;
|
|
1286
1289
|
}, z.core.$strict>;
|
|
1287
|
-
}, z.core.$strict
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
state: z.ZodObject<{
|
|
1290
|
+
}, z.core.$strict>>;
|
|
1291
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1292
|
+
id: z.ZodString;
|
|
1293
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1292
1294
|
products: z.ZodArray<z.ZodObject<{
|
|
1293
1295
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1294
1296
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
@@ -1309,11 +1311,11 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
1309
1311
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1310
1312
|
permanentid: z.ZodString;
|
|
1311
1313
|
}, z.core.$strict>>;
|
|
1312
|
-
}, z.core.$strict
|
|
1313
|
-
}, z.core.$
|
|
1314
|
+
}, z.core.$strict>>;
|
|
1315
|
+
}, z.core.$loose>;
|
|
1314
1316
|
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
1315
1317
|
export declare const PaginationSchema: z.ZodObject<{
|
|
1316
|
-
actions: z.ZodObject<{
|
|
1318
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1317
1319
|
selectPage: z.ZodObject<{
|
|
1318
1320
|
payload: z.ZodObject<{
|
|
1319
1321
|
page: z.ZodNumber;
|
|
@@ -1327,31 +1329,29 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
1327
1329
|
showMore: z.ZodObject<{
|
|
1328
1330
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1329
1331
|
}, z.core.$strict>;
|
|
1330
|
-
}, z.core.$strict
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
state: z.ZodObject<{
|
|
1332
|
+
}, z.core.$strict>>;
|
|
1333
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1334
|
+
id: z.ZodString;
|
|
1335
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1335
1336
|
page: z.ZodNumber;
|
|
1336
1337
|
pageSize: z.ZodNumber;
|
|
1337
1338
|
totalEntries: z.ZodNumber;
|
|
1338
1339
|
totalPages: z.ZodNumber;
|
|
1339
|
-
}, z.core.$strict
|
|
1340
|
-
}, z.core.$
|
|
1340
|
+
}, z.core.$strict>>;
|
|
1341
|
+
}, z.core.$loose>;
|
|
1341
1342
|
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
1342
1343
|
export declare const SortSchema: z.ZodObject<{
|
|
1343
|
-
actions: z.ZodObject<{
|
|
1344
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1344
1345
|
selectSort: z.ZodObject<{
|
|
1345
1346
|
payload: z.ZodObject<{
|
|
1346
1347
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1347
1348
|
sortCriteria: z.ZodString;
|
|
1348
1349
|
}, z.core.$strict>;
|
|
1349
1350
|
}, z.core.$strict>;
|
|
1350
|
-
}, z.core.$strict
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
state: z.ZodObject<{
|
|
1351
|
+
}, z.core.$strict>>;
|
|
1352
|
+
component: z.ZodLiteral<"Sort">;
|
|
1353
|
+
id: z.ZodString;
|
|
1354
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1355
1355
|
appliedSort: z.ZodObject<{
|
|
1356
1356
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1357
1357
|
sortCriteria: z.ZodString;
|
|
@@ -1360,11 +1360,11 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1360
1360
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1361
1361
|
sortCriteria: z.ZodString;
|
|
1362
1362
|
}, z.core.$strict>>;
|
|
1363
|
-
}, z.core.$strict
|
|
1364
|
-
}, z.core.$
|
|
1363
|
+
}, z.core.$strict>>;
|
|
1364
|
+
}, z.core.$loose>;
|
|
1365
1365
|
export type Sort = z.infer<typeof SortSchema>;
|
|
1366
1366
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1367
|
-
actions: z.ZodObject<{
|
|
1367
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1368
1368
|
clearAllActiveValues: z.ZodObject<{
|
|
1369
1369
|
payload: z.ZodUnknown;
|
|
1370
1370
|
}, z.core.$strict>;
|
|
@@ -1405,11 +1405,10 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1405
1405
|
value: z.ZodString;
|
|
1406
1406
|
}, z.core.$strict>;
|
|
1407
1407
|
}, z.core.$strict>;
|
|
1408
|
-
}, z.core.$strict
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
state: z.ZodObject<{
|
|
1408
|
+
}, z.core.$strict>>;
|
|
1409
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
1410
|
+
id: z.ZodString;
|
|
1411
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1413
1412
|
canShowLessValues: z.ZodBoolean;
|
|
1414
1413
|
canShowMoreValues: z.ZodBoolean;
|
|
1415
1414
|
displayName: z.ZodString;
|
|
@@ -1432,11 +1431,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1432
1431
|
}>;
|
|
1433
1432
|
value: z.ZodString;
|
|
1434
1433
|
}, z.core.$strict>>;
|
|
1435
|
-
}, z.core.$strict
|
|
1436
|
-
}, z.core.$
|
|
1434
|
+
}, z.core.$strict>>;
|
|
1435
|
+
}, z.core.$loose>;
|
|
1437
1436
|
export type RegularFacet = z.infer<typeof RegularFacetSchema>;
|
|
1438
1437
|
export declare const NumericFacetSchema: z.ZodObject<{
|
|
1439
|
-
actions: z.ZodObject<{
|
|
1438
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1440
1439
|
applyCustomRange: z.ZodObject<{
|
|
1441
1440
|
payload: z.ZodObject<{
|
|
1442
1441
|
end: z.ZodNumber;
|
|
@@ -1464,11 +1463,10 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1464
1463
|
start: z.ZodNumber;
|
|
1465
1464
|
}, z.core.$strict>;
|
|
1466
1465
|
}, z.core.$strict>;
|
|
1467
|
-
}, z.core.$strict
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
state: z.ZodObject<{
|
|
1466
|
+
}, z.core.$strict>>;
|
|
1467
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
1468
|
+
id: z.ZodString;
|
|
1469
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1472
1470
|
canShowLessValues: z.ZodBoolean;
|
|
1473
1471
|
canShowMoreValues: z.ZodBoolean;
|
|
1474
1472
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1492,11 +1490,11 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1492
1490
|
selected: "selected";
|
|
1493
1491
|
}>;
|
|
1494
1492
|
}, z.core.$strict>>;
|
|
1495
|
-
}, z.core.$strict
|
|
1496
|
-
}, z.core.$
|
|
1493
|
+
}, z.core.$strict>>;
|
|
1494
|
+
}, z.core.$loose>;
|
|
1497
1495
|
export type NumericFacet = z.infer<typeof NumericFacetSchema>;
|
|
1498
1496
|
export declare const DateFacetSchema: z.ZodObject<{
|
|
1499
|
-
actions: z.ZodObject<{
|
|
1497
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1500
1498
|
applyCustomRange: z.ZodObject<{
|
|
1501
1499
|
payload: z.ZodObject<{
|
|
1502
1500
|
end: z.ZodString;
|
|
@@ -1524,11 +1522,10 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1524
1522
|
start: z.ZodString;
|
|
1525
1523
|
}, z.core.$strict>;
|
|
1526
1524
|
}, z.core.$strict>;
|
|
1527
|
-
}, z.core.$strict
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
state: z.ZodObject<{
|
|
1525
|
+
}, z.core.$strict>>;
|
|
1526
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
1527
|
+
id: z.ZodString;
|
|
1528
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1532
1529
|
canShowLessValues: z.ZodBoolean;
|
|
1533
1530
|
canShowMoreValues: z.ZodBoolean;
|
|
1534
1531
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1548,11 +1545,11 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1548
1545
|
selected: "selected";
|
|
1549
1546
|
}>;
|
|
1550
1547
|
}, z.core.$strict>>;
|
|
1551
|
-
}, z.core.$strict
|
|
1552
|
-
}, z.core.$
|
|
1548
|
+
}, z.core.$strict>>;
|
|
1549
|
+
}, z.core.$loose>;
|
|
1553
1550
|
export type DateFacet = z.infer<typeof DateFacetSchema>;
|
|
1554
1551
|
export declare const CategoryFacetSchema: z.ZodObject<{
|
|
1555
|
-
actions: z.ZodObject<{
|
|
1552
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1556
1553
|
clearSearch: z.ZodObject<{
|
|
1557
1554
|
payload: z.ZodUnknown;
|
|
1558
1555
|
}, z.core.$strict>;
|
|
@@ -1578,11 +1575,10 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1578
1575
|
showMoreValues: z.ZodObject<{
|
|
1579
1576
|
payload: z.ZodUnknown;
|
|
1580
1577
|
}, z.core.$strict>;
|
|
1581
|
-
}, z.core.$strict
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
state: z.ZodObject<{
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1579
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
1580
|
+
id: z.ZodString;
|
|
1581
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1586
1582
|
canShowLessValues: z.ZodBoolean;
|
|
1587
1583
|
canShowMoreValues: z.ZodBoolean;
|
|
1588
1584
|
displayName: z.ZodString;
|
|
@@ -1613,8 +1609,8 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1613
1609
|
value: z.ZodString;
|
|
1614
1610
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1615
1611
|
}, z.core.$strict>;
|
|
1616
|
-
}, z.core.$strict
|
|
1617
|
-
}, z.core.$
|
|
1612
|
+
}, z.core.$strict>>;
|
|
1613
|
+
}, z.core.$loose>;
|
|
1618
1614
|
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
1619
1615
|
export declare const RestoreStateSchema: z.ZodObject<{
|
|
1620
1616
|
payload: z.ZodObject<{
|
|
@@ -1636,23 +1632,22 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
1636
1632
|
}, z.core.$strict>;
|
|
1637
1633
|
export type RestoreState = z.infer<typeof RestoreStateSchema>;
|
|
1638
1634
|
export declare const PageSizeSchema: z.ZodObject<{
|
|
1639
|
-
actions: z.ZodObject<{
|
|
1635
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1640
1636
|
setPageSize: z.ZodObject<{
|
|
1641
1637
|
payload: z.ZodObject<{
|
|
1642
1638
|
pageSize: z.ZodNumber;
|
|
1643
1639
|
}, z.core.$strict>;
|
|
1644
1640
|
}, z.core.$strict>;
|
|
1645
|
-
}, z.core.$strict
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
state: z.ZodObject<{
|
|
1641
|
+
}, z.core.$strict>>;
|
|
1642
|
+
component: z.ZodLiteral<"PageSize">;
|
|
1643
|
+
id: z.ZodString;
|
|
1644
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1650
1645
|
pageSize: z.ZodNumber;
|
|
1651
|
-
}, z.core.$strict
|
|
1652
|
-
}, z.core.$
|
|
1646
|
+
}, z.core.$strict>>;
|
|
1647
|
+
}, z.core.$loose>;
|
|
1653
1648
|
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
1654
1649
|
export declare const CartSchema: z.ZodObject<{
|
|
1655
|
-
actions: z.ZodObject<{
|
|
1650
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1656
1651
|
purchase: z.ZodObject<{
|
|
1657
1652
|
payload: z.ZodObject<{
|
|
1658
1653
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1680,12 +1675,11 @@ export declare const CartSchema: z.ZodObject<{
|
|
|
1680
1675
|
quantity: z.ZodNumber;
|
|
1681
1676
|
}, z.core.$strict>;
|
|
1682
1677
|
}, z.core.$strict>;
|
|
1683
|
-
}, z.core.$strict
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
}, z.core.$strict>;
|
|
1678
|
+
}, z.core.$strict>>;
|
|
1679
|
+
component: z.ZodLiteral<"Cart">;
|
|
1680
|
+
id: z.ZodString;
|
|
1681
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1682
|
+
}, z.core.$loose>;
|
|
1689
1683
|
export type Cart = z.infer<typeof CartSchema>;
|
|
1690
1684
|
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
1691
1685
|
overrideCorrection: z.ZodObject<{
|
|
@@ -1719,7 +1713,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
1719
1713
|
}, z.core.$strict>;
|
|
1720
1714
|
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
1721
1715
|
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
1722
|
-
actions: z.ZodObject<{
|
|
1716
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1723
1717
|
overrideCorrection: z.ZodObject<{
|
|
1724
1718
|
payload: z.ZodObject<{
|
|
1725
1719
|
originalQuery: z.ZodString;
|
|
@@ -1748,19 +1742,17 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
1748
1742
|
query: z.ZodString;
|
|
1749
1743
|
}, z.core.$strict>;
|
|
1750
1744
|
}, z.core.$strict>;
|
|
1751
|
-
}, z.core.$strict
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
}, z.core.$strict>;
|
|
1745
|
+
}, z.core.$strict>>;
|
|
1746
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
1747
|
+
id: z.ZodString;
|
|
1748
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1749
|
+
}, z.core.$loose>;
|
|
1757
1750
|
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
1758
1751
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1759
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
state: z.ZodObject<{
|
|
1752
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1753
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1764
1756
|
heading: z.ZodString;
|
|
1765
1757
|
products: z.ZodArray<z.ZodObject<{
|
|
1766
1758
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1782,9 +1774,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1782
1774
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1783
1775
|
permanentid: z.ZodString;
|
|
1784
1776
|
}, z.core.$strict>>;
|
|
1785
|
-
}, z.core.$strict
|
|
1786
|
-
}, z.core.$
|
|
1787
|
-
actions: z.ZodObject<{
|
|
1777
|
+
}, z.core.$strict>>;
|
|
1778
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1779
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1788
1780
|
purchase: z.ZodObject<{
|
|
1789
1781
|
payload: z.ZodObject<{
|
|
1790
1782
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1812,23 +1804,21 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1812
1804
|
quantity: z.ZodNumber;
|
|
1813
1805
|
}, z.core.$strict>;
|
|
1814
1806
|
}, z.core.$strict>;
|
|
1815
|
-
}, z.core.$strict
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
actions: z.ZodObject<{
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
component: z.ZodLiteral<"Cart">;
|
|
1809
|
+
id: z.ZodString;
|
|
1810
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1811
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1812
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1822
1813
|
fetchSuggestions: z.ZodObject<{
|
|
1823
1814
|
payload: z.ZodObject<{
|
|
1824
1815
|
query: z.ZodString;
|
|
1825
1816
|
}, z.core.$strict>;
|
|
1826
1817
|
}, z.core.$strict>;
|
|
1827
|
-
}, z.core.$strict
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
state: z.ZodObject<{
|
|
1818
|
+
}, z.core.$strict>>;
|
|
1819
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1820
|
+
id: z.ZodString;
|
|
1821
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1832
1822
|
completions: z.ZodArray<z.ZodObject<{
|
|
1833
1823
|
expression: z.ZodString;
|
|
1834
1824
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1854,9 +1844,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1854
1844
|
permanentid: z.ZodString;
|
|
1855
1845
|
}, z.core.$strict>>;
|
|
1856
1846
|
query: z.ZodString;
|
|
1857
|
-
}, z.core.$strict
|
|
1858
|
-
}, z.core.$
|
|
1859
|
-
actions: z.ZodObject<{
|
|
1847
|
+
}, z.core.$strict>>;
|
|
1848
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1849
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1860
1850
|
selectAction: z.ZodObject<{
|
|
1861
1851
|
payload: z.ZodObject<{
|
|
1862
1852
|
text: z.ZodString;
|
|
@@ -1866,25 +1856,23 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1866
1856
|
}>;
|
|
1867
1857
|
}, z.core.$strict>;
|
|
1868
1858
|
}, z.core.$strict>;
|
|
1869
|
-
}, z.core.$strict
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
actions: z.ZodArray<z.ZodObject<{
|
|
1859
|
+
}, z.core.$strict>>;
|
|
1860
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1861
|
+
id: z.ZodString;
|
|
1862
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1863
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1875
1864
|
text: z.ZodString;
|
|
1876
1865
|
type: z.ZodEnum<{
|
|
1877
1866
|
followup: "followup";
|
|
1878
1867
|
search: "search";
|
|
1879
1868
|
}>;
|
|
1880
1869
|
}, z.core.$strict>>;
|
|
1881
|
-
}, z.core.$strict
|
|
1882
|
-
}, z.core.$
|
|
1883
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
state: z.ZodObject<{
|
|
1870
|
+
}, z.core.$strict>>;
|
|
1871
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1872
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1873
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1874
|
+
id: z.ZodString;
|
|
1875
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1888
1876
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1889
1877
|
description: z.ZodString;
|
|
1890
1878
|
label: z.ZodString;
|
|
@@ -1892,14 +1880,14 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1892
1880
|
categoryLabel: z.ZodString;
|
|
1893
1881
|
childId: z.ZodString;
|
|
1894
1882
|
}, z.core.$strict>>;
|
|
1883
|
+
total: z.ZodNumber;
|
|
1895
1884
|
}, z.core.$strict>>;
|
|
1896
|
-
}, z.core.$strict
|
|
1897
|
-
}, z.core.$
|
|
1898
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
state: z.ZodObject<{
|
|
1885
|
+
}, z.core.$strict>>;
|
|
1886
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1887
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1888
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1903
1891
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1904
1892
|
key: z.ZodString;
|
|
1905
1893
|
label: z.ZodString;
|
|
@@ -1914,9 +1902,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1914
1902
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1915
1903
|
}, z.core.$strict>>;
|
|
1916
1904
|
summary: z.ZodString;
|
|
1917
|
-
}, z.core.$strict
|
|
1918
|
-
}, z.core.$
|
|
1919
|
-
actions: z.ZodObject<{
|
|
1905
|
+
}, z.core.$strict>>;
|
|
1906
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1907
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1920
1908
|
productClick: z.ZodObject<{
|
|
1921
1909
|
payload: z.ZodObject<{
|
|
1922
1910
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1930,11 +1918,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1930
1918
|
productIds: z.ZodArray<z.ZodString>;
|
|
1931
1919
|
}, z.core.$strict>;
|
|
1932
1920
|
}, z.core.$strict>;
|
|
1933
|
-
}, z.core.$strict
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
state: z.ZodObject<{
|
|
1921
|
+
}, z.core.$strict>>;
|
|
1922
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1923
|
+
id: z.ZodString;
|
|
1924
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1938
1925
|
products: z.ZodArray<z.ZodObject<{
|
|
1939
1926
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1940
1927
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
@@ -1955,13 +1942,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1955
1942
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1956
1943
|
permanentid: z.ZodString;
|
|
1957
1944
|
}, z.core.$strict>>;
|
|
1958
|
-
}, z.core.$strict
|
|
1959
|
-
}, z.core.$
|
|
1960
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
state: z.ZodObject<{
|
|
1945
|
+
}, z.core.$strict>>;
|
|
1946
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1947
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1948
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
1949
|
+
id: z.ZodString;
|
|
1950
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1965
1951
|
categoryLabel: z.ZodString;
|
|
1966
1952
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
1967
1953
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1983,9 +1969,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1983
1969
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1984
1970
|
permanentid: z.ZodString;
|
|
1985
1971
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1986
|
-
}, z.core.$strict
|
|
1987
|
-
}, z.core.$
|
|
1988
|
-
actions: z.ZodObject<{
|
|
1972
|
+
}, z.core.$strict>>;
|
|
1973
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1974
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1989
1975
|
selectPage: z.ZodObject<{
|
|
1990
1976
|
payload: z.ZodObject<{
|
|
1991
1977
|
page: z.ZodNumber;
|
|
@@ -1999,29 +1985,27 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1999
1985
|
showMore: z.ZodObject<{
|
|
2000
1986
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2001
1987
|
}, z.core.$strict>;
|
|
2002
|
-
}, z.core.$strict
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
state: z.ZodObject<{
|
|
1988
|
+
}, z.core.$strict>>;
|
|
1989
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1990
|
+
id: z.ZodString;
|
|
1991
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2007
1992
|
page: z.ZodNumber;
|
|
2008
1993
|
pageSize: z.ZodNumber;
|
|
2009
1994
|
totalEntries: z.ZodNumber;
|
|
2010
1995
|
totalPages: z.ZodNumber;
|
|
2011
|
-
}, z.core.$strict
|
|
2012
|
-
}, z.core.$
|
|
2013
|
-
actions: z.ZodObject<{
|
|
1996
|
+
}, z.core.$strict>>;
|
|
1997
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1998
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2014
1999
|
selectSort: z.ZodObject<{
|
|
2015
2000
|
payload: z.ZodObject<{
|
|
2016
2001
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
2017
2002
|
sortCriteria: z.ZodString;
|
|
2018
2003
|
}, z.core.$strict>;
|
|
2019
2004
|
}, z.core.$strict>;
|
|
2020
|
-
}, z.core.$strict
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
state: z.ZodObject<{
|
|
2005
|
+
}, z.core.$strict>>;
|
|
2006
|
+
component: z.ZodLiteral<"Sort">;
|
|
2007
|
+
id: z.ZodString;
|
|
2008
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2025
2009
|
appliedSort: z.ZodObject<{
|
|
2026
2010
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
2027
2011
|
sortCriteria: z.ZodString;
|
|
@@ -2030,9 +2014,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2030
2014
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
2031
2015
|
sortCriteria: z.ZodString;
|
|
2032
2016
|
}, z.core.$strict>>;
|
|
2033
|
-
}, z.core.$strict
|
|
2034
|
-
}, z.core.$
|
|
2035
|
-
actions: z.ZodObject<{
|
|
2017
|
+
}, z.core.$strict>>;
|
|
2018
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2019
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2036
2020
|
clearAllActiveValues: z.ZodObject<{
|
|
2037
2021
|
payload: z.ZodUnknown;
|
|
2038
2022
|
}, z.core.$strict>;
|
|
@@ -2073,11 +2057,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2073
2057
|
value: z.ZodString;
|
|
2074
2058
|
}, z.core.$strict>;
|
|
2075
2059
|
}, z.core.$strict>;
|
|
2076
|
-
}, z.core.$strict
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
state: z.ZodObject<{
|
|
2060
|
+
}, z.core.$strict>>;
|
|
2061
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
2062
|
+
id: z.ZodString;
|
|
2063
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2081
2064
|
canShowLessValues: z.ZodBoolean;
|
|
2082
2065
|
canShowMoreValues: z.ZodBoolean;
|
|
2083
2066
|
displayName: z.ZodString;
|
|
@@ -2100,9 +2083,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2100
2083
|
}>;
|
|
2101
2084
|
value: z.ZodString;
|
|
2102
2085
|
}, z.core.$strict>>;
|
|
2103
|
-
}, z.core.$strict
|
|
2104
|
-
}, z.core.$
|
|
2105
|
-
actions: z.ZodObject<{
|
|
2086
|
+
}, z.core.$strict>>;
|
|
2087
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2088
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2106
2089
|
applyCustomRange: z.ZodObject<{
|
|
2107
2090
|
payload: z.ZodObject<{
|
|
2108
2091
|
end: z.ZodNumber;
|
|
@@ -2130,11 +2113,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2130
2113
|
start: z.ZodNumber;
|
|
2131
2114
|
}, z.core.$strict>;
|
|
2132
2115
|
}, z.core.$strict>;
|
|
2133
|
-
}, z.core.$strict
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
state: z.ZodObject<{
|
|
2116
|
+
}, z.core.$strict>>;
|
|
2117
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
2118
|
+
id: z.ZodString;
|
|
2119
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2138
2120
|
canShowLessValues: z.ZodBoolean;
|
|
2139
2121
|
canShowMoreValues: z.ZodBoolean;
|
|
2140
2122
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2158,9 +2140,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2158
2140
|
selected: "selected";
|
|
2159
2141
|
}>;
|
|
2160
2142
|
}, z.core.$strict>>;
|
|
2161
|
-
}, z.core.$strict
|
|
2162
|
-
}, z.core.$
|
|
2163
|
-
actions: z.ZodObject<{
|
|
2143
|
+
}, z.core.$strict>>;
|
|
2144
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2145
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2164
2146
|
applyCustomRange: z.ZodObject<{
|
|
2165
2147
|
payload: z.ZodObject<{
|
|
2166
2148
|
end: z.ZodString;
|
|
@@ -2188,11 +2170,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2188
2170
|
start: z.ZodString;
|
|
2189
2171
|
}, z.core.$strict>;
|
|
2190
2172
|
}, z.core.$strict>;
|
|
2191
|
-
}, z.core.$strict
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
state: z.ZodObject<{
|
|
2173
|
+
}, z.core.$strict>>;
|
|
2174
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
2175
|
+
id: z.ZodString;
|
|
2176
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2196
2177
|
canShowLessValues: z.ZodBoolean;
|
|
2197
2178
|
canShowMoreValues: z.ZodBoolean;
|
|
2198
2179
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2212,9 +2193,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2212
2193
|
selected: "selected";
|
|
2213
2194
|
}>;
|
|
2214
2195
|
}, z.core.$strict>>;
|
|
2215
|
-
}, z.core.$strict
|
|
2216
|
-
}, z.core.$
|
|
2217
|
-
actions: z.ZodObject<{
|
|
2196
|
+
}, z.core.$strict>>;
|
|
2197
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2198
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2218
2199
|
clearSearch: z.ZodObject<{
|
|
2219
2200
|
payload: z.ZodUnknown;
|
|
2220
2201
|
}, z.core.$strict>;
|
|
@@ -2240,11 +2221,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2240
2221
|
showMoreValues: z.ZodObject<{
|
|
2241
2222
|
payload: z.ZodUnknown;
|
|
2242
2223
|
}, z.core.$strict>;
|
|
2243
|
-
}, z.core.$strict
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
state: z.ZodObject<{
|
|
2224
|
+
}, z.core.$strict>>;
|
|
2225
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
2226
|
+
id: z.ZodString;
|
|
2227
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2248
2228
|
canShowLessValues: z.ZodBoolean;
|
|
2249
2229
|
canShowMoreValues: z.ZodBoolean;
|
|
2250
2230
|
displayName: z.ZodString;
|
|
@@ -2275,15 +2255,14 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2275
2255
|
value: z.ZodString;
|
|
2276
2256
|
}, z.core.$strict>, z.ZodNull]>;
|
|
2277
2257
|
}, z.core.$strict>;
|
|
2278
|
-
}, z.core.$strict
|
|
2279
|
-
}, z.core.$
|
|
2280
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
actions: z.ZodObject<{
|
|
2258
|
+
}, z.core.$strict>>;
|
|
2259
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2260
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2261
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
2262
|
+
id: z.ZodString;
|
|
2263
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2264
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2265
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2287
2266
|
overrideCorrection: z.ZodObject<{
|
|
2288
2267
|
payload: z.ZodObject<{
|
|
2289
2268
|
originalQuery: z.ZodString;
|
|
@@ -2312,142 +2291,842 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2312
2291
|
query: z.ZodString;
|
|
2313
2292
|
}, z.core.$strict>;
|
|
2314
2293
|
}, z.core.$strict>;
|
|
2315
|
-
}, z.core.$strict
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
}, z.core.$strict
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2330
|
-
componentType: z.ZodLiteral<"query-summary">;
|
|
2331
|
-
state: z.ZodObject<{
|
|
2294
|
+
}, z.core.$strict>>;
|
|
2295
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
2296
|
+
id: z.ZodString;
|
|
2297
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2298
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2299
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2300
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
2301
|
+
id: z.ZodString;
|
|
2302
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2303
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2304
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2305
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
2306
|
+
id: z.ZodString;
|
|
2307
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2332
2308
|
firstIndex: z.ZodNumber;
|
|
2333
2309
|
lastIndex: z.ZodNumber;
|
|
2334
2310
|
query: z.ZodString;
|
|
2335
2311
|
totalEntries: z.ZodNumber;
|
|
2336
|
-
}, z.core.$strict
|
|
2337
|
-
}, z.core.$
|
|
2338
|
-
actions: z.ZodObject<{
|
|
2312
|
+
}, z.core.$strict>>;
|
|
2313
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2314
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2339
2315
|
setPageSize: z.ZodObject<{
|
|
2340
2316
|
payload: z.ZodObject<{
|
|
2341
2317
|
pageSize: z.ZodNumber;
|
|
2342
2318
|
}, z.core.$strict>;
|
|
2343
2319
|
}, z.core.$strict>;
|
|
2344
|
-
}, z.core.$strict
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
state: z.ZodObject<{
|
|
2320
|
+
}, z.core.$strict>>;
|
|
2321
|
+
component: z.ZodLiteral<"PageSize">;
|
|
2322
|
+
id: z.ZodString;
|
|
2323
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2349
2324
|
pageSize: z.ZodNumber;
|
|
2350
|
-
}, z.core.$strict
|
|
2351
|
-
}, z.core.$
|
|
2325
|
+
}, z.core.$strict>>;
|
|
2326
|
+
}, z.core.$loose>], "component">;
|
|
2352
2327
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
2353
2328
|
/**
|
|
2354
|
-
*
|
|
2355
|
-
*
|
|
2356
|
-
*
|
|
2357
|
-
*
|
|
2329
|
+
* A2-UI dynamic-value building blocks (self-contained; no renderer / @a2ui/web_core dependency).
|
|
2330
|
+
* A bindable prop is an A2-UI Dynamic_Value: a union admitting a literal resolved value, an
|
|
2331
|
+
* A2-UI Data_Binding object { path }, or a function-call form. The frozen renderer's binder
|
|
2332
|
+
* classifies a field as resolvable only when its schema is such a union including DataBinding,
|
|
2333
|
+
* so it dereferences the { path } against the data model before the renderer sees it.
|
|
2334
|
+
*
|
|
2335
|
+
* `DataBindingSchema` is projected from the shared definitions/data-binding.schema.json (like
|
|
2336
|
+
* ComponentId / ChildList), so it is not re-declared here; the unions below reference it.
|
|
2358
2337
|
*/
|
|
2359
|
-
export declare const
|
|
2360
|
-
|
|
2361
|
-
|
|
2338
|
+
export declare const FunctionCallSchema: z.ZodObject<{
|
|
2339
|
+
functionName: z.ZodString;
|
|
2340
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2362
2341
|
}, z.core.$strip>;
|
|
2363
|
-
export type
|
|
2364
|
-
export declare const
|
|
2365
|
-
|
|
2366
|
-
|
|
2342
|
+
export type FunctionCall = z.infer<typeof FunctionCallSchema>;
|
|
2343
|
+
export declare const DynamicNumberSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2344
|
+
path: z.ZodString;
|
|
2345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2346
|
+
functionName: z.ZodString;
|
|
2347
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2348
|
+
}, z.core.$strip>]>;
|
|
2349
|
+
export type DynamicNumber = z.infer<typeof DynamicNumberSchema>;
|
|
2350
|
+
export declare const DynamicStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2351
|
+
path: z.ZodString;
|
|
2352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2353
|
+
functionName: z.ZodString;
|
|
2354
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2355
|
+
}, z.core.$strip>]>;
|
|
2356
|
+
export type DynamicString = z.infer<typeof DynamicStringSchema>;
|
|
2357
|
+
export declare const DynamicBooleanSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2358
|
+
path: z.ZodString;
|
|
2359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2360
|
+
functionName: z.ZodString;
|
|
2361
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2362
|
+
}, z.core.$strip>]>;
|
|
2363
|
+
export type DynamicBoolean = z.infer<typeof DynamicBooleanSchema>;
|
|
2364
|
+
export declare const DynamicStringListSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
2365
|
+
path: z.ZodString;
|
|
2366
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2367
|
+
functionName: z.ZodString;
|
|
2368
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2369
|
+
}, z.core.$strip>]>;
|
|
2370
|
+
export type DynamicStringList = z.infer<typeof DynamicStringListSchema>;
|
|
2371
|
+
export declare const DynamicValueSchema: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2372
|
+
path: z.ZodString;
|
|
2373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2374
|
+
functionName: z.ZodString;
|
|
2375
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2376
|
+
}, z.core.$strip>]>;
|
|
2377
|
+
export type DynamicValue = z.infer<typeof DynamicValueSchema>;
|
|
2378
|
+
/**
|
|
2379
|
+
* The A2-UI Action schema for an action-typed prop: the standard A2-UI event shape
|
|
2380
|
+
* { event: { name; context } }. Named DynamicAction to stay distinct from the generated base
|
|
2381
|
+
* action-contract ActionSchema and from a component's dispatchable *Actions contract.
|
|
2382
|
+
*/
|
|
2383
|
+
export declare const DynamicActionSchema: z.ZodObject<{
|
|
2384
|
+
event: z.ZodObject<{
|
|
2385
|
+
name: z.ZodString;
|
|
2386
|
+
context: z.ZodOptional<z.ZodUnknown>;
|
|
2387
|
+
}, z.core.$strip>;
|
|
2367
2388
|
}, z.core.$strip>;
|
|
2368
|
-
export type
|
|
2389
|
+
export type DynamicAction = z.infer<typeof DynamicActionSchema>;
|
|
2390
|
+
/**
|
|
2391
|
+
* Per-component props schemas for the renderer catalog (one per component), passed to
|
|
2392
|
+
* `createCatalog` as each component's `{ props }` schema. Each bindable prop is an A2-UI
|
|
2393
|
+
* Dynamic_Value, so the renderer's binder resolves its `{ path }` binding against the A2-UI
|
|
2394
|
+
* data model; composition child-ref props stay static so child ids reach the renderer
|
|
2395
|
+
* untouched. The resolved shape a renderer actually reads is the `XxxProps` type.
|
|
2396
|
+
*/
|
|
2397
|
+
export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
2398
|
+
tiers: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2399
|
+
path: z.ZodString;
|
|
2400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2401
|
+
functionName: z.ZodString;
|
|
2402
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2403
|
+
}, z.core.$strip>]>;
|
|
2404
|
+
}, z.core.$strip>;
|
|
2405
|
+
export declare const CartPropsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2369
2406
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
2370
|
-
|
|
2371
|
-
|
|
2407
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2408
|
+
path: z.ZodString;
|
|
2409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2410
|
+
functionName: z.ZodString;
|
|
2411
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2412
|
+
}, z.core.$strip>]>;
|
|
2413
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2414
|
+
path: z.ZodString;
|
|
2415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2416
|
+
functionName: z.ZodString;
|
|
2417
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2418
|
+
}, z.core.$strip>]>;
|
|
2419
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2420
|
+
path: z.ZodString;
|
|
2421
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2422
|
+
functionName: z.ZodString;
|
|
2423
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2424
|
+
}, z.core.$strip>]>;
|
|
2425
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2426
|
+
path: z.ZodString;
|
|
2427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2428
|
+
functionName: z.ZodString;
|
|
2429
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2430
|
+
}, z.core.$strip>]>;
|
|
2431
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2432
|
+
path: z.ZodString;
|
|
2433
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2434
|
+
functionName: z.ZodString;
|
|
2435
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2436
|
+
}, z.core.$strip>]>;
|
|
2437
|
+
facetSearch: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2438
|
+
path: z.ZodString;
|
|
2439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2440
|
+
functionName: z.ZodString;
|
|
2441
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2442
|
+
}, z.core.$strip>]>;
|
|
2372
2443
|
}, z.core.$strip>;
|
|
2373
|
-
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
2374
2444
|
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
2375
|
-
|
|
2376
|
-
|
|
2445
|
+
sidebarChild: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
mainChild: z.ZodOptional<z.ZodString>;
|
|
2377
2447
|
}, z.core.$strip>;
|
|
2378
|
-
export type CommerceSearchProps = z.infer<typeof CommerceSearchPropsSchema>;
|
|
2379
2448
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
2380
|
-
|
|
2381
|
-
|
|
2449
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2450
|
+
path: z.ZodString;
|
|
2451
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2452
|
+
functionName: z.ZodString;
|
|
2453
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2454
|
+
}, z.core.$strip>]>;
|
|
2455
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2456
|
+
path: z.ZodString;
|
|
2457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2458
|
+
functionName: z.ZodString;
|
|
2459
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2460
|
+
}, z.core.$strip>]>;
|
|
2461
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2462
|
+
path: z.ZodString;
|
|
2463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2464
|
+
functionName: z.ZodString;
|
|
2465
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2466
|
+
}, z.core.$strip>]>;
|
|
2467
|
+
attributes: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2468
|
+
path: z.ZodString;
|
|
2469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2470
|
+
functionName: z.ZodString;
|
|
2471
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2472
|
+
}, z.core.$strip>]>;
|
|
2382
2473
|
}, z.core.$strip>;
|
|
2383
|
-
export type ComparisonTableProps = z.infer<typeof ComparisonTablePropsSchema>;
|
|
2384
2474
|
export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
2385
|
-
|
|
2386
|
-
|
|
2475
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2476
|
+
path: z.ZodString;
|
|
2477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2478
|
+
functionName: z.ZodString;
|
|
2479
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2480
|
+
}, z.core.$strip>]>;
|
|
2481
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2482
|
+
path: z.ZodString;
|
|
2483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2484
|
+
functionName: z.ZodString;
|
|
2485
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2486
|
+
}, z.core.$strip>]>;
|
|
2487
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2488
|
+
path: z.ZodString;
|
|
2489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2490
|
+
functionName: z.ZodString;
|
|
2491
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2492
|
+
}, z.core.$strip>]>;
|
|
2493
|
+
customRange: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2494
|
+
path: z.ZodString;
|
|
2495
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2496
|
+
functionName: z.ZodString;
|
|
2497
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2498
|
+
}, z.core.$strip>]>;
|
|
2499
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2500
|
+
path: z.ZodString;
|
|
2501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2502
|
+
functionName: z.ZodString;
|
|
2503
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2504
|
+
}, z.core.$strip>]>;
|
|
2505
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2506
|
+
path: z.ZodString;
|
|
2507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2508
|
+
functionName: z.ZodString;
|
|
2509
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2510
|
+
}, z.core.$strip>]>;
|
|
2511
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2512
|
+
path: z.ZodString;
|
|
2513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2514
|
+
functionName: z.ZodString;
|
|
2515
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2516
|
+
}, z.core.$strip>]>;
|
|
2387
2517
|
}, z.core.$strip>;
|
|
2388
|
-
export type DateFacetProps = z.infer<typeof DateFacetPropsSchema>;
|
|
2389
2518
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
2390
|
-
|
|
2391
|
-
componentType: z.ZodLiteral<"facet-manager">;
|
|
2519
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2392
2520
|
}, z.core.$strip>;
|
|
2393
|
-
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
2394
2521
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
2395
|
-
|
|
2396
|
-
|
|
2522
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2397
2524
|
}, z.core.$strip>;
|
|
2398
|
-
export type LayoutStackProps = z.infer<typeof LayoutStackPropsSchema>;
|
|
2399
2525
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
2400
|
-
|
|
2401
|
-
|
|
2526
|
+
suggestedActions: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2527
|
+
path: z.ZodString;
|
|
2528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2529
|
+
functionName: z.ZodString;
|
|
2530
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2531
|
+
}, z.core.$strip>]>;
|
|
2402
2532
|
}, z.core.$strip>;
|
|
2403
|
-
export type NextActionsBarProps = z.infer<typeof NextActionsBarPropsSchema>;
|
|
2404
2533
|
export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
2405
|
-
|
|
2406
|
-
|
|
2534
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2535
|
+
path: z.ZodString;
|
|
2536
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2537
|
+
functionName: z.ZodString;
|
|
2538
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2539
|
+
}, z.core.$strip>]>;
|
|
2540
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2541
|
+
path: z.ZodString;
|
|
2542
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2543
|
+
functionName: z.ZodString;
|
|
2544
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2545
|
+
}, z.core.$strip>]>;
|
|
2546
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2547
|
+
path: z.ZodString;
|
|
2548
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2549
|
+
functionName: z.ZodString;
|
|
2550
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2551
|
+
}, z.core.$strip>]>;
|
|
2552
|
+
customRange: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2553
|
+
path: z.ZodString;
|
|
2554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2555
|
+
functionName: z.ZodString;
|
|
2556
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2557
|
+
}, z.core.$strip>]>;
|
|
2558
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2559
|
+
path: z.ZodString;
|
|
2560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2561
|
+
functionName: z.ZodString;
|
|
2562
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2563
|
+
}, z.core.$strip>]>;
|
|
2564
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2565
|
+
path: z.ZodString;
|
|
2566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2567
|
+
functionName: z.ZodString;
|
|
2568
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2569
|
+
}, z.core.$strip>]>;
|
|
2570
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2571
|
+
path: z.ZodString;
|
|
2572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2573
|
+
functionName: z.ZodString;
|
|
2574
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2575
|
+
}, z.core.$strip>]>;
|
|
2576
|
+
domain: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2577
|
+
path: z.ZodString;
|
|
2578
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2579
|
+
functionName: z.ZodString;
|
|
2580
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2581
|
+
}, z.core.$strip>]>;
|
|
2407
2582
|
}, z.core.$strip>;
|
|
2408
|
-
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
2409
2583
|
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
2410
|
-
|
|
2411
|
-
|
|
2584
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2585
|
+
path: z.ZodString;
|
|
2586
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2587
|
+
functionName: z.ZodString;
|
|
2588
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2589
|
+
}, z.core.$strip>]>;
|
|
2412
2590
|
}, z.core.$strip>;
|
|
2413
|
-
export type PageSizeProps = z.infer<typeof PageSizePropsSchema>;
|
|
2414
2591
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
2415
|
-
|
|
2416
|
-
|
|
2592
|
+
page: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2593
|
+
path: z.ZodString;
|
|
2594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2595
|
+
functionName: z.ZodString;
|
|
2596
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2597
|
+
}, z.core.$strip>]>;
|
|
2598
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2599
|
+
path: z.ZodString;
|
|
2600
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2601
|
+
functionName: z.ZodString;
|
|
2602
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2603
|
+
}, z.core.$strip>]>;
|
|
2604
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2605
|
+
path: z.ZodString;
|
|
2606
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2607
|
+
functionName: z.ZodString;
|
|
2608
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2609
|
+
}, z.core.$strip>]>;
|
|
2610
|
+
totalPages: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2611
|
+
path: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2613
|
+
functionName: z.ZodString;
|
|
2614
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2615
|
+
}, z.core.$strip>]>;
|
|
2417
2616
|
}, z.core.$strip>;
|
|
2418
|
-
export type PaginationProps = z.infer<typeof PaginationPropsSchema>;
|
|
2419
2617
|
export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
2420
|
-
|
|
2421
|
-
|
|
2618
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2619
|
+
path: z.ZodString;
|
|
2620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2621
|
+
functionName: z.ZodString;
|
|
2622
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2623
|
+
}, z.core.$strip>]>;
|
|
2624
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2625
|
+
path: z.ZodString;
|
|
2626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2627
|
+
functionName: z.ZodString;
|
|
2628
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2629
|
+
}, z.core.$strip>]>;
|
|
2422
2630
|
}, z.core.$strip>;
|
|
2423
|
-
export type ProductCarouselProps = z.infer<typeof ProductCarouselPropsSchema>;
|
|
2424
2631
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
2425
|
-
|
|
2426
|
-
|
|
2632
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2633
|
+
path: z.ZodString;
|
|
2634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2635
|
+
functionName: z.ZodString;
|
|
2636
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2637
|
+
}, z.core.$strip>]>;
|
|
2427
2638
|
}, z.core.$strip>;
|
|
2428
|
-
export type ProductListProps = z.infer<typeof ProductListPropsSchema>;
|
|
2429
2639
|
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
2430
|
-
|
|
2431
|
-
|
|
2640
|
+
categoryLabel: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2641
|
+
path: z.ZodString;
|
|
2642
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2643
|
+
functionName: z.ZodString;
|
|
2644
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2645
|
+
}, z.core.$strip>]>;
|
|
2646
|
+
product: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2647
|
+
path: z.ZodString;
|
|
2648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2649
|
+
functionName: z.ZodString;
|
|
2650
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2651
|
+
}, z.core.$strip>]>;
|
|
2432
2652
|
}, z.core.$strip>;
|
|
2433
|
-
export type ProductSummaryProps = z.infer<typeof ProductSummaryPropsSchema>;
|
|
2434
2653
|
export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
2435
|
-
|
|
2436
|
-
|
|
2654
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2655
|
+
path: z.ZodString;
|
|
2656
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2657
|
+
functionName: z.ZodString;
|
|
2658
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2659
|
+
}, z.core.$strip>]>;
|
|
2660
|
+
completions: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2661
|
+
path: z.ZodString;
|
|
2662
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2663
|
+
functionName: z.ZodString;
|
|
2664
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2665
|
+
}, z.core.$strip>]>;
|
|
2666
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2667
|
+
path: z.ZodString;
|
|
2668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2669
|
+
functionName: z.ZodString;
|
|
2670
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2671
|
+
}, z.core.$strip>]>;
|
|
2437
2672
|
}, z.core.$strip>;
|
|
2438
|
-
export type QuerySuggestionsProps = z.infer<typeof QuerySuggestionsPropsSchema>;
|
|
2439
2673
|
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
2440
|
-
|
|
2441
|
-
|
|
2674
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2675
|
+
path: z.ZodString;
|
|
2676
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2677
|
+
functionName: z.ZodString;
|
|
2678
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2679
|
+
}, z.core.$strip>]>;
|
|
2680
|
+
firstIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2681
|
+
path: z.ZodString;
|
|
2682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2683
|
+
functionName: z.ZodString;
|
|
2684
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2685
|
+
}, z.core.$strip>]>;
|
|
2686
|
+
lastIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2687
|
+
path: z.ZodString;
|
|
2688
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2689
|
+
functionName: z.ZodString;
|
|
2690
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2691
|
+
}, z.core.$strip>]>;
|
|
2692
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2693
|
+
path: z.ZodString;
|
|
2694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2695
|
+
functionName: z.ZodString;
|
|
2696
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2697
|
+
}, z.core.$strip>]>;
|
|
2442
2698
|
}, z.core.$strip>;
|
|
2443
|
-
export type QuerySummaryProps = z.infer<typeof QuerySummaryPropsSchema>;
|
|
2444
2699
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
2445
|
-
|
|
2446
|
-
|
|
2700
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2701
|
+
path: z.ZodString;
|
|
2702
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2703
|
+
functionName: z.ZodString;
|
|
2704
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2705
|
+
}, z.core.$strip>]>;
|
|
2706
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2707
|
+
path: z.ZodString;
|
|
2708
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2709
|
+
functionName: z.ZodString;
|
|
2710
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2711
|
+
}, z.core.$strip>]>;
|
|
2712
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2713
|
+
path: z.ZodString;
|
|
2714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2715
|
+
functionName: z.ZodString;
|
|
2716
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2717
|
+
}, z.core.$strip>]>;
|
|
2718
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2719
|
+
path: z.ZodString;
|
|
2720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2721
|
+
functionName: z.ZodString;
|
|
2722
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2723
|
+
}, z.core.$strip>]>;
|
|
2724
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2725
|
+
path: z.ZodString;
|
|
2726
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2727
|
+
functionName: z.ZodString;
|
|
2728
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2729
|
+
}, z.core.$strip>]>;
|
|
2730
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2731
|
+
path: z.ZodString;
|
|
2732
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2733
|
+
functionName: z.ZodString;
|
|
2734
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2735
|
+
}, z.core.$strip>]>;
|
|
2736
|
+
facetSearch: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2737
|
+
path: z.ZodString;
|
|
2738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2739
|
+
functionName: z.ZodString;
|
|
2740
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2741
|
+
}, z.core.$strip>]>;
|
|
2447
2742
|
}, z.core.$strip>;
|
|
2448
|
-
export type RegularFacetProps = z.infer<typeof RegularFacetPropsSchema>;
|
|
2449
2743
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
2450
|
-
|
|
2451
|
-
|
|
2744
|
+
appliedSort: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2745
|
+
path: z.ZodString;
|
|
2746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2747
|
+
functionName: z.ZodString;
|
|
2748
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2749
|
+
}, z.core.$strip>]>;
|
|
2750
|
+
availableSorts: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2751
|
+
path: z.ZodString;
|
|
2752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2753
|
+
functionName: z.ZodString;
|
|
2754
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2755
|
+
}, z.core.$strip>]>;
|
|
2452
2756
|
}, z.core.$strip>;
|
|
2453
|
-
|
|
2757
|
+
/**
|
|
2758
|
+
* Per-component action unions in the standard A2-UI event shape
|
|
2759
|
+
* { event: { name: <literal>; context: <typed payload> } }, one member per declared action.
|
|
2760
|
+
* Derived from each component's *Actions contract (action-map key -> payload), NOT from
|
|
2761
|
+
* quicktype's auto-named payload wrappers. A component with no actions has `type XxxAction =
|
|
2762
|
+
* never`. The wire field is `context`; the internal validation layer calls the same data
|
|
2763
|
+
* `payload` (see design: Action typing).
|
|
2764
|
+
*/
|
|
2765
|
+
export declare const BundleDisplayActionSchema: z.ZodNever;
|
|
2766
|
+
export type BundleDisplayAction = never;
|
|
2767
|
+
export declare const CartActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2768
|
+
event: z.ZodObject<{
|
|
2769
|
+
name: z.ZodLiteral<"updateCart">;
|
|
2770
|
+
context: z.ZodObject<{
|
|
2771
|
+
productId: z.ZodString;
|
|
2772
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
2774
|
+
quantity: z.ZodNumber;
|
|
2775
|
+
operation: z.ZodEnum<{
|
|
2776
|
+
add: "add";
|
|
2777
|
+
remove: "remove";
|
|
2778
|
+
setQuantity: "setQuantity";
|
|
2779
|
+
}>;
|
|
2780
|
+
}, z.core.$strict>;
|
|
2781
|
+
}, z.core.$strip>;
|
|
2782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2783
|
+
event: z.ZodObject<{
|
|
2784
|
+
name: z.ZodLiteral<"purchase">;
|
|
2785
|
+
context: z.ZodObject<{
|
|
2786
|
+
products: z.ZodArray<z.ZodUnknown>;
|
|
2787
|
+
transaction: z.ZodUnknown;
|
|
2788
|
+
}, z.core.$strict>;
|
|
2789
|
+
}, z.core.$strip>;
|
|
2790
|
+
}, z.core.$strip>]>;
|
|
2791
|
+
export type CartAction = z.infer<typeof CartActionSchema>;
|
|
2792
|
+
export declare const CategoryFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2793
|
+
event: z.ZodObject<{
|
|
2794
|
+
name: z.ZodLiteral<"selectPath">;
|
|
2795
|
+
context: z.ZodObject<{
|
|
2796
|
+
path: z.ZodArray<z.ZodString>;
|
|
2797
|
+
}, z.core.$strict>;
|
|
2798
|
+
}, z.core.$strip>;
|
|
2799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2800
|
+
event: z.ZodObject<{
|
|
2801
|
+
name: z.ZodLiteral<"clearSelectedPath">;
|
|
2802
|
+
context: z.ZodUnknown;
|
|
2803
|
+
}, z.core.$strip>;
|
|
2804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2805
|
+
event: z.ZodObject<{
|
|
2806
|
+
name: z.ZodLiteral<"search">;
|
|
2807
|
+
context: z.ZodObject<{
|
|
2808
|
+
query: z.ZodString;
|
|
2809
|
+
}, z.core.$strict>;
|
|
2810
|
+
}, z.core.$strip>;
|
|
2811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2812
|
+
event: z.ZodObject<{
|
|
2813
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
2814
|
+
context: z.ZodUnknown;
|
|
2815
|
+
}, z.core.$strip>;
|
|
2816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2817
|
+
event: z.ZodObject<{
|
|
2818
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
2819
|
+
context: z.ZodUnknown;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2822
|
+
event: z.ZodObject<{
|
|
2823
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2824
|
+
context: z.ZodUnknown;
|
|
2825
|
+
}, z.core.$strip>;
|
|
2826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2827
|
+
event: z.ZodObject<{
|
|
2828
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2829
|
+
context: z.ZodUnknown;
|
|
2830
|
+
}, z.core.$strip>;
|
|
2831
|
+
}, z.core.$strip>]>;
|
|
2832
|
+
export type CategoryFacetAction = z.infer<typeof CategoryFacetActionSchema>;
|
|
2833
|
+
export declare const CommerceSearchActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2834
|
+
event: z.ZodObject<{
|
|
2835
|
+
name: z.ZodLiteral<"submitQuery">;
|
|
2836
|
+
context: z.ZodObject<{
|
|
2837
|
+
query: z.ZodString;
|
|
2838
|
+
}, z.core.$strict>;
|
|
2839
|
+
}, z.core.$strip>;
|
|
2840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2841
|
+
event: z.ZodObject<{
|
|
2842
|
+
name: z.ZodLiteral<"restoreState">;
|
|
2843
|
+
context: z.ZodObject<{
|
|
2844
|
+
query: z.ZodString;
|
|
2845
|
+
page: z.ZodNumber;
|
|
2846
|
+
pageSize: z.ZodNumber;
|
|
2847
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2849
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2850
|
+
}, z.core.$strict>;
|
|
2851
|
+
}, z.core.$strip>;
|
|
2852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2853
|
+
event: z.ZodObject<{
|
|
2854
|
+
name: z.ZodLiteral<"overrideCorrection">;
|
|
2855
|
+
context: z.ZodObject<{
|
|
2856
|
+
originalQuery: z.ZodString;
|
|
2857
|
+
}, z.core.$strict>;
|
|
2858
|
+
}, z.core.$strip>;
|
|
2859
|
+
}, z.core.$strip>]>;
|
|
2860
|
+
export type CommerceSearchAction = z.infer<typeof CommerceSearchActionSchema>;
|
|
2861
|
+
export declare const ComparisonTableActionSchema: z.ZodNever;
|
|
2862
|
+
export type ComparisonTableAction = never;
|
|
2863
|
+
export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2864
|
+
event: z.ZodObject<{
|
|
2865
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
2866
|
+
context: z.ZodObject<{
|
|
2867
|
+
start: z.ZodString;
|
|
2868
|
+
end: z.ZodString;
|
|
2869
|
+
}, z.core.$strict>;
|
|
2870
|
+
}, z.core.$strip>;
|
|
2871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2872
|
+
event: z.ZodObject<{
|
|
2873
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
2874
|
+
context: z.ZodObject<{
|
|
2875
|
+
start: z.ZodString;
|
|
2876
|
+
end: z.ZodString;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
}, z.core.$strip>;
|
|
2879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2880
|
+
event: z.ZodObject<{
|
|
2881
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
2882
|
+
context: z.ZodUnknown;
|
|
2883
|
+
}, z.core.$strip>;
|
|
2884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2885
|
+
event: z.ZodObject<{
|
|
2886
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
2887
|
+
context: z.ZodObject<{
|
|
2888
|
+
start: z.ZodString;
|
|
2889
|
+
end: z.ZodString;
|
|
2890
|
+
}, z.core.$strict>;
|
|
2891
|
+
}, z.core.$strip>;
|
|
2892
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2893
|
+
event: z.ZodObject<{
|
|
2894
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2895
|
+
context: z.ZodUnknown;
|
|
2896
|
+
}, z.core.$strip>;
|
|
2897
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2898
|
+
event: z.ZodObject<{
|
|
2899
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2900
|
+
context: z.ZodUnknown;
|
|
2901
|
+
}, z.core.$strip>;
|
|
2902
|
+
}, z.core.$strip>]>;
|
|
2903
|
+
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
2904
|
+
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
2905
|
+
export type FacetManagerAction = never;
|
|
2906
|
+
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
2907
|
+
export type LayoutStackAction = never;
|
|
2908
|
+
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2909
|
+
event: z.ZodObject<{
|
|
2910
|
+
name: z.ZodLiteral<"selectAction">;
|
|
2911
|
+
context: z.ZodObject<{
|
|
2912
|
+
text: z.ZodString;
|
|
2913
|
+
type: z.ZodEnum<{
|
|
2914
|
+
followup: "followup";
|
|
2915
|
+
search: "search";
|
|
2916
|
+
}>;
|
|
2917
|
+
}, z.core.$strict>;
|
|
2918
|
+
}, z.core.$strip>;
|
|
2919
|
+
}, z.core.$strip>]>;
|
|
2920
|
+
export type NextActionsBarAction = z.infer<typeof NextActionsBarActionSchema>;
|
|
2921
|
+
export declare const NumericFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2922
|
+
event: z.ZodObject<{
|
|
2923
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
2924
|
+
context: z.ZodObject<{
|
|
2925
|
+
start: z.ZodNumber;
|
|
2926
|
+
end: z.ZodNumber;
|
|
2927
|
+
}, z.core.$strict>;
|
|
2928
|
+
}, z.core.$strip>;
|
|
2929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2930
|
+
event: z.ZodObject<{
|
|
2931
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
2932
|
+
context: z.ZodObject<{
|
|
2933
|
+
start: z.ZodNumber;
|
|
2934
|
+
end: z.ZodNumber;
|
|
2935
|
+
}, z.core.$strict>;
|
|
2936
|
+
}, z.core.$strip>;
|
|
2937
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2938
|
+
event: z.ZodObject<{
|
|
2939
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
2940
|
+
context: z.ZodUnknown;
|
|
2941
|
+
}, z.core.$strip>;
|
|
2942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2943
|
+
event: z.ZodObject<{
|
|
2944
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
2945
|
+
context: z.ZodObject<{
|
|
2946
|
+
start: z.ZodNumber;
|
|
2947
|
+
end: z.ZodNumber;
|
|
2948
|
+
}, z.core.$strict>;
|
|
2949
|
+
}, z.core.$strip>;
|
|
2950
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2951
|
+
event: z.ZodObject<{
|
|
2952
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2953
|
+
context: z.ZodUnknown;
|
|
2954
|
+
}, z.core.$strip>;
|
|
2955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2956
|
+
event: z.ZodObject<{
|
|
2957
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2958
|
+
context: z.ZodUnknown;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
}, z.core.$strip>]>;
|
|
2961
|
+
export type NumericFacetAction = z.infer<typeof NumericFacetActionSchema>;
|
|
2962
|
+
export declare const PageSizeActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2963
|
+
event: z.ZodObject<{
|
|
2964
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
2965
|
+
context: z.ZodObject<{
|
|
2966
|
+
pageSize: z.ZodNumber;
|
|
2967
|
+
}, z.core.$strict>;
|
|
2968
|
+
}, z.core.$strip>;
|
|
2969
|
+
}, z.core.$strip>]>;
|
|
2970
|
+
export type PageSizeAction = z.infer<typeof PageSizeActionSchema>;
|
|
2971
|
+
export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2972
|
+
event: z.ZodObject<{
|
|
2973
|
+
name: z.ZodLiteral<"selectPage">;
|
|
2974
|
+
context: z.ZodObject<{
|
|
2975
|
+
page: z.ZodNumber;
|
|
2976
|
+
}, z.core.$strict>;
|
|
2977
|
+
}, z.core.$strip>;
|
|
2978
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2979
|
+
event: z.ZodObject<{
|
|
2980
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
2981
|
+
context: z.ZodObject<{
|
|
2982
|
+
pageSize: z.ZodNumber;
|
|
2983
|
+
}, z.core.$strict>;
|
|
2984
|
+
}, z.core.$strip>;
|
|
2985
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2986
|
+
event: z.ZodObject<{
|
|
2987
|
+
name: z.ZodLiteral<"showMore">;
|
|
2988
|
+
context: z.ZodObject<{}, z.core.$strict>;
|
|
2989
|
+
}, z.core.$strip>;
|
|
2990
|
+
}, z.core.$strip>]>;
|
|
2991
|
+
export type PaginationAction = z.infer<typeof PaginationActionSchema>;
|
|
2992
|
+
export declare const ProductCarouselActionSchema: z.ZodNever;
|
|
2993
|
+
export type ProductCarouselAction = never;
|
|
2994
|
+
export declare const ProductListActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2995
|
+
event: z.ZodObject<{
|
|
2996
|
+
name: z.ZodLiteral<"selectProducts">;
|
|
2997
|
+
context: z.ZodObject<{
|
|
2998
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
2999
|
+
}, z.core.$strict>;
|
|
3000
|
+
}, z.core.$strip>;
|
|
3001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3002
|
+
event: z.ZodObject<{
|
|
3003
|
+
name: z.ZodLiteral<"productClick">;
|
|
3004
|
+
context: z.ZodObject<{
|
|
3005
|
+
productId: z.ZodString;
|
|
3006
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
3008
|
+
position: z.ZodNumber;
|
|
3009
|
+
}, z.core.$strict>;
|
|
3010
|
+
}, z.core.$strip>;
|
|
3011
|
+
}, z.core.$strip>]>;
|
|
3012
|
+
export type ProductListAction = z.infer<typeof ProductListActionSchema>;
|
|
3013
|
+
export declare const ProductSummaryActionSchema: z.ZodNever;
|
|
3014
|
+
export type ProductSummaryAction = never;
|
|
3015
|
+
export declare const QuerySuggestionsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3016
|
+
event: z.ZodObject<{
|
|
3017
|
+
name: z.ZodLiteral<"fetchSuggestions">;
|
|
3018
|
+
context: z.ZodObject<{
|
|
3019
|
+
query: z.ZodString;
|
|
3020
|
+
}, z.core.$strict>;
|
|
3021
|
+
}, z.core.$strip>;
|
|
3022
|
+
}, z.core.$strip>]>;
|
|
3023
|
+
export type QuerySuggestionsAction = z.infer<typeof QuerySuggestionsActionSchema>;
|
|
3024
|
+
export declare const QuerySummaryActionSchema: z.ZodNever;
|
|
3025
|
+
export type QuerySummaryAction = never;
|
|
3026
|
+
export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3027
|
+
event: z.ZodObject<{
|
|
3028
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
3029
|
+
context: z.ZodObject<{
|
|
3030
|
+
value: z.ZodString;
|
|
3031
|
+
}, z.core.$strict>;
|
|
3032
|
+
}, z.core.$strip>;
|
|
3033
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3034
|
+
event: z.ZodObject<{
|
|
3035
|
+
name: z.ZodLiteral<"toggleExclude">;
|
|
3036
|
+
context: z.ZodObject<{
|
|
3037
|
+
value: z.ZodString;
|
|
3038
|
+
}, z.core.$strict>;
|
|
3039
|
+
}, z.core.$strip>;
|
|
3040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3041
|
+
event: z.ZodObject<{
|
|
3042
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
3043
|
+
context: z.ZodObject<{
|
|
3044
|
+
value: z.ZodString;
|
|
3045
|
+
}, z.core.$strict>;
|
|
3046
|
+
}, z.core.$strip>;
|
|
3047
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3048
|
+
event: z.ZodObject<{
|
|
3049
|
+
name: z.ZodLiteral<"toggleSingleExclude">;
|
|
3050
|
+
context: z.ZodObject<{
|
|
3051
|
+
value: z.ZodString;
|
|
3052
|
+
}, z.core.$strict>;
|
|
3053
|
+
}, z.core.$strip>;
|
|
3054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3055
|
+
event: z.ZodObject<{
|
|
3056
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
3057
|
+
context: z.ZodUnknown;
|
|
3058
|
+
}, z.core.$strip>;
|
|
3059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3060
|
+
event: z.ZodObject<{
|
|
3061
|
+
name: z.ZodLiteral<"search">;
|
|
3062
|
+
context: z.ZodObject<{
|
|
3063
|
+
query: z.ZodString;
|
|
3064
|
+
}, z.core.$strict>;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3067
|
+
event: z.ZodObject<{
|
|
3068
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
3069
|
+
context: z.ZodUnknown;
|
|
3070
|
+
}, z.core.$strip>;
|
|
3071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3072
|
+
event: z.ZodObject<{
|
|
3073
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
3074
|
+
context: z.ZodUnknown;
|
|
3075
|
+
}, z.core.$strip>;
|
|
3076
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3077
|
+
event: z.ZodObject<{
|
|
3078
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3079
|
+
context: z.ZodUnknown;
|
|
3080
|
+
}, z.core.$strip>;
|
|
3081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
+
event: z.ZodObject<{
|
|
3083
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3084
|
+
context: z.ZodUnknown;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
}, z.core.$strip>]>;
|
|
3087
|
+
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
3088
|
+
export declare const SortActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3089
|
+
event: z.ZodObject<{
|
|
3090
|
+
name: z.ZodLiteral<"selectSort">;
|
|
3091
|
+
context: z.ZodObject<{
|
|
3092
|
+
sortCriteria: z.ZodString;
|
|
3093
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
3094
|
+
}, z.core.$strict>;
|
|
3095
|
+
}, z.core.$strip>;
|
|
3096
|
+
}, z.core.$strip>]>;
|
|
3097
|
+
export type SortAction = z.infer<typeof SortActionSchema>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Per-component RESOLVED props — the values a renderer receives in `props` after the A2-UI
|
|
3100
|
+
* binder resolves each `{ path }` Data_Binding against the data model populated by
|
|
3101
|
+
* `updateDataModel`. For a leaf component this is its `XxxState`; for a container it also
|
|
3102
|
+
* carries the static composition child-ref fields (e.g. `sidebarChild` / `mainChild` /
|
|
3103
|
+
* `children`) declared on the component's props contract. Use this to type your renderer's
|
|
3104
|
+
* `props`. The matching bindable schema you pass to the renderer catalog is `XxxPropsSchema`
|
|
3105
|
+
* (its fields may still be `{ path }` bindings; this resolved type is what the renderer reads).
|
|
3106
|
+
*/
|
|
3107
|
+
export type BundleDisplayProps = BundleDisplayState;
|
|
3108
|
+
export type CartProps = CartState;
|
|
3109
|
+
export type CategoryFacetProps = CategoryFacetState;
|
|
3110
|
+
export type CommerceSearchProps = CommerceSearchState & {
|
|
3111
|
+
sidebarChild?: string;
|
|
3112
|
+
mainChild?: string;
|
|
3113
|
+
};
|
|
3114
|
+
export type ComparisonTableProps = ComparisonTableState;
|
|
3115
|
+
export type DateFacetProps = DateFacetState;
|
|
3116
|
+
export type FacetManagerProps = FacetManagerState & {
|
|
3117
|
+
children?: string[];
|
|
3118
|
+
};
|
|
3119
|
+
export type LayoutStackProps = LayoutStackState & {
|
|
3120
|
+
children?: string[];
|
|
3121
|
+
};
|
|
3122
|
+
export type NextActionsBarProps = NextActionsState;
|
|
3123
|
+
export type NumericFacetProps = NumericFacetState;
|
|
3124
|
+
export type PageSizeProps = PageSizeState;
|
|
3125
|
+
export type PaginationProps = PaginationState;
|
|
3126
|
+
export type ProductCarouselProps = ProductCarouselState;
|
|
3127
|
+
export type ProductListProps = ProductListState;
|
|
3128
|
+
export type ProductSummaryProps = ProductSummaryState;
|
|
3129
|
+
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
3130
|
+
export type QuerySummaryProps = QuerySummaryState;
|
|
3131
|
+
export type RegularFacetProps = RegularFacetState;
|
|
3132
|
+
export type SortProps = SortState;
|