@coveo/thermidor-schema 1.0.0-beta.38 → 1.0.0-beta.39
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 +12 -44
- package/dist/generated/schemas.js +11 -24
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +12 -262
- package/dist/generated/zod3/schemas.js +11 -24
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/components/category-facet.schema.json +1 -1
- package/schema/components/layout-stack.schema.json +1 -0
- package/schema/components/pagination.schema.json +1 -27
- package/schema/components/regular-facet.schema.json +4 -4
- package/schema/definitions/child-list.schema.json +1 -0
|
@@ -78,11 +78,11 @@ export declare const SearchOptionActionItemSchema: z.ZodObject<{
|
|
|
78
78
|
type: z.ZodLiteral<"searchOption">;
|
|
79
79
|
}, z.core.$strict>;
|
|
80
80
|
export type SearchOptionActionItem = z.infer<typeof SearchOptionActionItemSchema>;
|
|
81
|
-
export declare const
|
|
81
|
+
export declare const ChildListTemplateSchema: z.ZodObject<{
|
|
82
82
|
componentId: z.ZodString;
|
|
83
83
|
path: z.ZodString;
|
|
84
84
|
}, z.core.$strict>;
|
|
85
|
-
export type
|
|
85
|
+
export type ChildListTemplate = z.infer<typeof ChildListTemplateSchema>;
|
|
86
86
|
export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
|
|
87
87
|
state: z.ZodLiteral<"selected">;
|
|
88
88
|
value: z.ZodString;
|
|
@@ -395,10 +395,6 @@ export declare const SelectPagePayloadSchema: z.ZodObject<{
|
|
|
395
395
|
page: z.ZodNumber;
|
|
396
396
|
}, z.core.$strict>;
|
|
397
397
|
export type SelectPagePayload = z.infer<typeof SelectPagePayloadSchema>;
|
|
398
|
-
export declare const PayloadSchema: z.ZodObject<{
|
|
399
|
-
pageSize: z.ZodNumber;
|
|
400
|
-
}, z.core.$strict>;
|
|
401
|
-
export type Payload = z.infer<typeof PayloadSchema>;
|
|
402
398
|
export declare const ShowMorePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
403
399
|
export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
|
|
404
400
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
@@ -422,10 +418,10 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
422
418
|
payload: z.ZodUnknown;
|
|
423
419
|
}, z.core.$strict>;
|
|
424
420
|
export type Action = z.infer<typeof ActionSchema>;
|
|
425
|
-
export declare const
|
|
421
|
+
export declare const RegularFacetSearchPayloadSchema: z.ZodObject<{
|
|
426
422
|
query: z.ZodString;
|
|
427
423
|
}, z.core.$strict>;
|
|
428
|
-
export type
|
|
424
|
+
export type RegularFacetSearchPayload = z.infer<typeof RegularFacetSearchPayloadSchema>;
|
|
429
425
|
export declare const RegularFacetToggleSelectPayloadSchema: z.ZodObject<{
|
|
430
426
|
value: z.ZodString;
|
|
431
427
|
}, z.core.$strict>;
|
|
@@ -917,12 +913,6 @@ export declare const SelectPageSchema: z.ZodObject<{
|
|
|
917
913
|
}, z.core.$strict>;
|
|
918
914
|
}, z.core.$strict>;
|
|
919
915
|
export type SelectPage = z.infer<typeof SelectPageSchema>;
|
|
920
|
-
export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
921
|
-
payload: z.ZodObject<{
|
|
922
|
-
pageSize: z.ZodNumber;
|
|
923
|
-
}, z.core.$strict>;
|
|
924
|
-
}, z.core.$strict>;
|
|
925
|
-
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
926
916
|
export declare const ShowMoreSchema: z.ZodObject<{
|
|
927
917
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
928
918
|
}, z.core.$strict>;
|
|
@@ -945,12 +935,12 @@ export declare const SortStateSchema: z.ZodObject<{
|
|
|
945
935
|
}, z.core.$strict>>;
|
|
946
936
|
}, z.core.$strict>;
|
|
947
937
|
export type SortState = z.infer<typeof SortStateSchema>;
|
|
948
|
-
export declare const
|
|
938
|
+
export declare const RegularFacetSearchSchema: z.ZodObject<{
|
|
949
939
|
payload: z.ZodObject<{
|
|
950
940
|
query: z.ZodString;
|
|
951
941
|
}, z.core.$strict>;
|
|
952
942
|
}, z.core.$strict>;
|
|
953
|
-
export type
|
|
943
|
+
export type RegularFacetSearch = z.infer<typeof RegularFacetSearchSchema>;
|
|
954
944
|
export declare const RegularFacetToggleSelectSchema: z.ZodObject<{
|
|
955
945
|
payload: z.ZodObject<{
|
|
956
946
|
value: z.ZodString;
|
|
@@ -963,7 +953,7 @@ export declare const RegularFacetToggleSingleSelectSchema: z.ZodObject<{
|
|
|
963
953
|
}, z.core.$strict>;
|
|
964
954
|
}, z.core.$strict>;
|
|
965
955
|
export type RegularFacetToggleSingleSelect = z.infer<typeof RegularFacetToggleSingleSelectSchema>;
|
|
966
|
-
export declare const
|
|
956
|
+
export declare const RegularFacetSearchStateSchema: z.ZodObject<{
|
|
967
957
|
canShowMoreResults: z.ZodBoolean;
|
|
968
958
|
query: z.ZodString;
|
|
969
959
|
results: z.ZodArray<z.ZodObject<{
|
|
@@ -971,7 +961,7 @@ export declare const RegularFacetSearchSchema: z.ZodObject<{
|
|
|
971
961
|
value: z.ZodString;
|
|
972
962
|
}, z.core.$strict>>;
|
|
973
963
|
}, z.core.$strict>;
|
|
974
|
-
export type
|
|
964
|
+
export type RegularFacetSearchState = z.infer<typeof RegularFacetSearchStateSchema>;
|
|
975
965
|
export declare const NumericFacetApplyCustomRangeSchema: z.ZodObject<{
|
|
976
966
|
payload: z.ZodObject<{
|
|
977
967
|
end: z.ZodNumber;
|
|
@@ -1074,7 +1064,7 @@ export declare const CategoryFacetSelectPathSchema: z.ZodObject<{
|
|
|
1074
1064
|
}, z.core.$strict>;
|
|
1075
1065
|
}, z.core.$strict>;
|
|
1076
1066
|
export type CategoryFacetSelectPath = z.infer<typeof CategoryFacetSelectPathSchema>;
|
|
1077
|
-
export declare const
|
|
1067
|
+
export declare const CategoryFacetSearchStateSchema: z.ZodObject<{
|
|
1078
1068
|
canShowMoreResults: z.ZodBoolean;
|
|
1079
1069
|
query: z.ZodString;
|
|
1080
1070
|
results: z.ZodArray<z.ZodObject<{
|
|
@@ -1083,7 +1073,7 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
1083
1073
|
value: z.ZodString;
|
|
1084
1074
|
}, z.core.$strict>>;
|
|
1085
1075
|
}, z.core.$strict>;
|
|
1086
|
-
export type
|
|
1076
|
+
export type CategoryFacetSearchState = z.infer<typeof CategoryFacetSearchStateSchema>;
|
|
1087
1077
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
1088
1078
|
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1089
1079
|
component: z.ZodLiteral<"FacetManager">;
|
|
@@ -1194,12 +1184,12 @@ export declare const QuerySummarySchema: z.ZodObject<{
|
|
|
1194
1184
|
}, z.core.$strict>>;
|
|
1195
1185
|
}, z.core.$loose>;
|
|
1196
1186
|
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
1197
|
-
export declare const
|
|
1187
|
+
export declare const SetPageSizeSchema: z.ZodObject<{
|
|
1198
1188
|
payload: z.ZodObject<{
|
|
1199
1189
|
pageSize: z.ZodNumber;
|
|
1200
1190
|
}, z.core.$strict>;
|
|
1201
1191
|
}, z.core.$strict>;
|
|
1202
|
-
export type
|
|
1192
|
+
export type SetPageSize = z.infer<typeof SetPageSizeSchema>;
|
|
1203
1193
|
export declare const PurchaseSchema: z.ZodObject<{
|
|
1204
1194
|
payload: z.ZodObject<{
|
|
1205
1195
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1357,11 +1347,6 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
1357
1347
|
page: z.ZodNumber;
|
|
1358
1348
|
}, z.core.$strict>;
|
|
1359
1349
|
}, z.core.$strict>;
|
|
1360
|
-
setPageSize: z.ZodObject<{
|
|
1361
|
-
payload: z.ZodObject<{
|
|
1362
|
-
pageSize: z.ZodNumber;
|
|
1363
|
-
}, z.core.$strict>;
|
|
1364
|
-
}, z.core.$strict>;
|
|
1365
1350
|
showMore: z.ZodObject<{
|
|
1366
1351
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1367
1352
|
}, z.core.$strict>;
|
|
@@ -1854,11 +1839,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
1854
1839
|
page: z.ZodNumber;
|
|
1855
1840
|
}, z.core.$strict>;
|
|
1856
1841
|
}, z.core.$strict>;
|
|
1857
|
-
setPageSize: z.ZodObject<{
|
|
1858
|
-
payload: z.ZodObject<{
|
|
1859
|
-
pageSize: z.ZodNumber;
|
|
1860
|
-
}, z.core.$strict>;
|
|
1861
|
-
}, z.core.$strict>;
|
|
1862
1842
|
showMore: z.ZodObject<{
|
|
1863
1843
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1864
1844
|
}, z.core.$strict>;
|
|
@@ -2694,11 +2674,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2694
2674
|
page: z.ZodNumber;
|
|
2695
2675
|
}, z.core.$strict>;
|
|
2696
2676
|
}, z.core.$strict>;
|
|
2697
|
-
setPageSize: z.ZodObject<{
|
|
2698
|
-
payload: z.ZodObject<{
|
|
2699
|
-
pageSize: z.ZodNumber;
|
|
2700
|
-
}, z.core.$strict>;
|
|
2701
|
-
}, z.core.$strict>;
|
|
2702
2677
|
showMore: z.ZodObject<{
|
|
2703
2678
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2704
2679
|
}, z.core.$strict>;
|
|
@@ -4738,13 +4713,6 @@ export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4738
4713
|
page: z.ZodNumber;
|
|
4739
4714
|
}, z.core.$strict>;
|
|
4740
4715
|
}, z.core.$strip>;
|
|
4741
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4742
|
-
event: z.ZodObject<{
|
|
4743
|
-
name: z.ZodLiteral<"setPageSize">;
|
|
4744
|
-
context: z.ZodObject<{
|
|
4745
|
-
pageSize: z.ZodNumber;
|
|
4746
|
-
}, z.core.$strict>;
|
|
4747
|
-
}, z.core.$strip>;
|
|
4748
4716
|
}, z.core.$strip>, z.ZodObject<{
|
|
4749
4717
|
event: z.ZodObject<{
|
|
4750
4718
|
name: z.ZodLiteral<"showMore">;
|
|
@@ -56,7 +56,7 @@ export const SearchOptionActionItemSchema = z.strictObject({
|
|
|
56
56
|
text: z.string(),
|
|
57
57
|
type: z.literal('searchOption'),
|
|
58
58
|
});
|
|
59
|
-
export const
|
|
59
|
+
export const ChildListTemplateSchema = z.strictObject({
|
|
60
60
|
componentId: z.string().regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
61
61
|
path: z.string(),
|
|
62
62
|
});
|
|
@@ -205,9 +205,6 @@ export const ProductSummaryStateSchema = z.strictObject({
|
|
|
205
205
|
export const SelectPagePayloadSchema = z.strictObject({
|
|
206
206
|
page: z.number().int().min(0),
|
|
207
207
|
});
|
|
208
|
-
export const PayloadSchema = z.strictObject({
|
|
209
|
-
pageSize: z.number().int().min(1),
|
|
210
|
-
});
|
|
211
208
|
export const ShowMorePayloadSchema = z.strictObject({});
|
|
212
209
|
export const PaginationStateSchema = z.strictObject({
|
|
213
210
|
page: z.number().int().min(0),
|
|
@@ -226,7 +223,7 @@ export const SortCriterionSchema = z.strictObject({
|
|
|
226
223
|
export const ActionSchema = z.strictObject({
|
|
227
224
|
payload: z.unknown(),
|
|
228
225
|
});
|
|
229
|
-
export const
|
|
226
|
+
export const RegularFacetSearchPayloadSchema = z.strictObject({
|
|
230
227
|
query: z.string(),
|
|
231
228
|
});
|
|
232
229
|
export const RegularFacetToggleSelectPayloadSchema = z.strictObject({
|
|
@@ -449,9 +446,6 @@ export const ProductSummarySchema = z.looseObject({
|
|
|
449
446
|
export const SelectPageSchema = z.strictObject({
|
|
450
447
|
payload: SelectPagePayloadSchema,
|
|
451
448
|
});
|
|
452
|
-
export const PurpleSetPageSizeSchema = z.strictObject({
|
|
453
|
-
payload: PayloadSchema,
|
|
454
|
-
});
|
|
455
449
|
export const ShowMoreSchema = z.strictObject({
|
|
456
450
|
payload: ShowMorePayloadSchema,
|
|
457
451
|
});
|
|
@@ -462,8 +456,8 @@ export const SortStateSchema = z.strictObject({
|
|
|
462
456
|
appliedSort: SortCriterionSchema,
|
|
463
457
|
availableSorts: z.array(SortCriterionSchema),
|
|
464
458
|
});
|
|
465
|
-
export const
|
|
466
|
-
payload:
|
|
459
|
+
export const RegularFacetSearchSchema = z.strictObject({
|
|
460
|
+
payload: RegularFacetSearchPayloadSchema,
|
|
467
461
|
});
|
|
468
462
|
export const RegularFacetToggleSelectSchema = z.strictObject({
|
|
469
463
|
payload: RegularFacetToggleSelectPayloadSchema,
|
|
@@ -471,7 +465,7 @@ export const RegularFacetToggleSelectSchema = z.strictObject({
|
|
|
471
465
|
export const RegularFacetToggleSingleSelectSchema = z.strictObject({
|
|
472
466
|
payload: RegularFacetToggleSingleSelectPayloadSchema,
|
|
473
467
|
});
|
|
474
|
-
export const
|
|
468
|
+
export const RegularFacetSearchStateSchema = z.strictObject({
|
|
475
469
|
canShowMoreResults: z.boolean(),
|
|
476
470
|
query: z.string(),
|
|
477
471
|
results: z.array(RegularFacetSearchResultSchema),
|
|
@@ -519,7 +513,7 @@ export const CategoryFacetSearchSchema = z.strictObject({
|
|
|
519
513
|
export const CategoryFacetSelectPathSchema = z.strictObject({
|
|
520
514
|
payload: CategoryFacetSelectPathPayloadSchema,
|
|
521
515
|
});
|
|
522
|
-
export const
|
|
516
|
+
export const CategoryFacetSearchStateSchema = z.strictObject({
|
|
523
517
|
canShowMoreResults: z.boolean(),
|
|
524
518
|
query: z.string(),
|
|
525
519
|
results: z.array(CategoryFacetValueSchema),
|
|
@@ -566,7 +560,7 @@ export const QuerySummarySchema = z.looseObject({
|
|
|
566
560
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
567
561
|
state: QuerySummaryStateSchema.optional(),
|
|
568
562
|
});
|
|
569
|
-
export const
|
|
563
|
+
export const SetPageSizeSchema = z.strictObject({
|
|
570
564
|
payload: SetPageSizePayloadSchema,
|
|
571
565
|
});
|
|
572
566
|
export const PurchaseSchema = z.strictObject({
|
|
@@ -604,7 +598,6 @@ export const ProductListActionsSchema = z.strictObject({
|
|
|
604
598
|
});
|
|
605
599
|
export const PaginationActionsSchema = z.strictObject({
|
|
606
600
|
selectPage: SelectPageSchema,
|
|
607
|
-
setPageSize: PurpleSetPageSizeSchema,
|
|
608
601
|
showMore: ShowMoreSchema,
|
|
609
602
|
});
|
|
610
603
|
export const SortActionsSchema = z.strictObject({
|
|
@@ -613,7 +606,7 @@ export const SortActionsSchema = z.strictObject({
|
|
|
613
606
|
export const RegularFacetActionsSchema = z.strictObject({
|
|
614
607
|
clearAllActiveValues: ActionSchema,
|
|
615
608
|
clearSearch: ActionSchema,
|
|
616
|
-
search:
|
|
609
|
+
search: RegularFacetSearchSchema,
|
|
617
610
|
showLessValues: ActionSchema,
|
|
618
611
|
showMoreSearchResults: ActionSchema,
|
|
619
612
|
showMoreValues: ActionSchema,
|
|
@@ -624,7 +617,7 @@ export const RegularFacetStateSchema = z.strictObject({
|
|
|
624
617
|
canShowLessValues: z.boolean(),
|
|
625
618
|
canShowMoreValues: z.boolean(),
|
|
626
619
|
displayName: z.string(),
|
|
627
|
-
facetSearch:
|
|
620
|
+
facetSearch: RegularFacetSearchStateSchema,
|
|
628
621
|
field: z.string().min(1),
|
|
629
622
|
hasActiveValues: z.boolean(),
|
|
630
623
|
values: z.array(RegularFacetValueSchema),
|
|
@@ -658,7 +651,7 @@ export const CategoryFacetStateSchema = z.strictObject({
|
|
|
658
651
|
canShowLessValues: z.boolean(),
|
|
659
652
|
canShowMoreValues: z.boolean(),
|
|
660
653
|
displayName: z.string(),
|
|
661
|
-
facetSearch:
|
|
654
|
+
facetSearch: CategoryFacetSearchStateSchema,
|
|
662
655
|
field: z.string(),
|
|
663
656
|
values: CategoryFacetValuesSchema,
|
|
664
657
|
});
|
|
@@ -681,7 +674,7 @@ export const RestoreStatePayloadSchema = z.strictObject({
|
|
|
681
674
|
sortCriteria: z.string().optional(),
|
|
682
675
|
});
|
|
683
676
|
export const PageSizeActionsSchema = z.strictObject({
|
|
684
|
-
setPageSize:
|
|
677
|
+
setPageSize: SetPageSizeSchema,
|
|
685
678
|
});
|
|
686
679
|
export const CartActionsSchema = z.strictObject({
|
|
687
680
|
purchase: PurchaseSchema,
|
|
@@ -1209,12 +1202,6 @@ export const PaginationActionSchema = z.union([
|
|
|
1209
1202
|
context: z.strictObject({ page: z.number().int().min(0) }),
|
|
1210
1203
|
}),
|
|
1211
1204
|
}),
|
|
1212
|
-
z.object({
|
|
1213
|
-
event: z.object({
|
|
1214
|
-
name: z.literal('setPageSize'),
|
|
1215
|
-
context: z.strictObject({ pageSize: z.number().int().min(1) }),
|
|
1216
|
-
}),
|
|
1217
|
-
}),
|
|
1218
1205
|
z.object({ event: z.object({ name: z.literal('showMore'), context: z.strictObject({}) }) }),
|
|
1219
1206
|
]);
|
|
1220
1207
|
export const ProductCarouselActionSchema = z.never();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const THERMIDOR_CATALOG_ID = "https://schema.thermidor.coveo.com/a2-ui/catalog.json";
|
|
2
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
3
|
-
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, InstantProducts, InstantProductsActions, InstantProductsState, FetchInstantProducts, FetchInstantProductsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, LayoutStack, LayoutStackState, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Badge, BadgePlacement, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductResearchRelatedDocument, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchResult, RegularFacetState, RegularFacetToggleSelectPayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, InstantProductsAction, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, InstantProductsProps, LayoutStackProps, SearchBoxProps, SessionShellProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './schemas.js';
|
|
2
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSearchStateSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchPayloadSchema, RegularFacetSearchResultSchema, RegularFacetSearchStateSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
3
|
+
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, InstantProducts, InstantProductsActions, InstantProductsState, FetchInstantProducts, FetchInstantProductsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSearchState, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, LayoutStack, LayoutStackState, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Badge, BadgePlacement, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductResearchRelatedDocument, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchPayload, RegularFacetSearchResult, RegularFacetSearchState, RegularFacetState, RegularFacetToggleSelectPayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, InstantProductsAction, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, InstantProductsProps, LayoutStackProps, SearchBoxProps, SessionShellProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './schemas.js';
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// of the default entry point against the Zod 3 schema build.
|
|
3
3
|
// Do not edit it directly; run `mise run generate` from the repository root.
|
|
4
4
|
export const THERMIDOR_CATALOG_ID = 'https://schema.thermidor.coveo.com/a2-ui/catalog.json';
|
|
5
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
5
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSearchStateSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchPayloadSchema, RegularFacetSearchResultSchema, RegularFacetSearchStateSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
@@ -165,7 +165,7 @@ export declare const SearchOptionActionItemSchema: z.ZodObject<{
|
|
|
165
165
|
type: "searchOption";
|
|
166
166
|
}>;
|
|
167
167
|
export type SearchOptionActionItem = z.infer<typeof SearchOptionActionItemSchema>;
|
|
168
|
-
export declare const
|
|
168
|
+
export declare const ChildListTemplateSchema: z.ZodObject<{
|
|
169
169
|
componentId: z.ZodString;
|
|
170
170
|
path: z.ZodString;
|
|
171
171
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -175,7 +175,7 @@ export declare const ChildListClassSchema: z.ZodObject<{
|
|
|
175
175
|
componentId: string;
|
|
176
176
|
path: string;
|
|
177
177
|
}>;
|
|
178
|
-
export type
|
|
178
|
+
export type ChildListTemplate = z.infer<typeof ChildListTemplateSchema>;
|
|
179
179
|
export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
|
|
180
180
|
state: z.ZodLiteral<"selected">;
|
|
181
181
|
value: z.ZodString;
|
|
@@ -1281,14 +1281,6 @@ export declare const SelectPagePayloadSchema: z.ZodObject<{
|
|
|
1281
1281
|
page: number;
|
|
1282
1282
|
}>;
|
|
1283
1283
|
export type SelectPagePayload = z.infer<typeof SelectPagePayloadSchema>;
|
|
1284
|
-
export declare const PayloadSchema: z.ZodObject<{
|
|
1285
|
-
pageSize: z.ZodNumber;
|
|
1286
|
-
}, "strict", z.ZodTypeAny, {
|
|
1287
|
-
pageSize: number;
|
|
1288
|
-
}, {
|
|
1289
|
-
pageSize: number;
|
|
1290
|
-
}>;
|
|
1291
|
-
export type Payload = z.infer<typeof PayloadSchema>;
|
|
1292
1284
|
export declare const ShowMorePayloadSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1293
1285
|
export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
|
|
1294
1286
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
@@ -1338,14 +1330,14 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
1338
1330
|
payload?: unknown;
|
|
1339
1331
|
}>;
|
|
1340
1332
|
export type Action = z.infer<typeof ActionSchema>;
|
|
1341
|
-
export declare const
|
|
1333
|
+
export declare const RegularFacetSearchPayloadSchema: z.ZodObject<{
|
|
1342
1334
|
query: z.ZodString;
|
|
1343
1335
|
}, "strict", z.ZodTypeAny, {
|
|
1344
1336
|
query: string;
|
|
1345
1337
|
}, {
|
|
1346
1338
|
query: string;
|
|
1347
1339
|
}>;
|
|
1348
|
-
export type
|
|
1340
|
+
export type RegularFacetSearchPayload = z.infer<typeof RegularFacetSearchPayloadSchema>;
|
|
1349
1341
|
export declare const RegularFacetToggleSelectPayloadSchema: z.ZodObject<{
|
|
1350
1342
|
value: z.ZodString;
|
|
1351
1343
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3695,24 +3687,6 @@ export declare const SelectPageSchema: z.ZodObject<{
|
|
|
3695
3687
|
};
|
|
3696
3688
|
}>;
|
|
3697
3689
|
export type SelectPage = z.infer<typeof SelectPageSchema>;
|
|
3698
|
-
export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
3699
|
-
payload: z.ZodObject<{
|
|
3700
|
-
pageSize: z.ZodNumber;
|
|
3701
|
-
}, "strict", z.ZodTypeAny, {
|
|
3702
|
-
pageSize: number;
|
|
3703
|
-
}, {
|
|
3704
|
-
pageSize: number;
|
|
3705
|
-
}>;
|
|
3706
|
-
}, "strict", z.ZodTypeAny, {
|
|
3707
|
-
payload: {
|
|
3708
|
-
pageSize: number;
|
|
3709
|
-
};
|
|
3710
|
-
}, {
|
|
3711
|
-
payload: {
|
|
3712
|
-
pageSize: number;
|
|
3713
|
-
};
|
|
3714
|
-
}>;
|
|
3715
|
-
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
3716
3690
|
export declare const ShowMoreSchema: z.ZodObject<{
|
|
3717
3691
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
3718
3692
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3785,7 +3759,7 @@ export declare const SortStateSchema: z.ZodObject<{
|
|
|
3785
3759
|
}[];
|
|
3786
3760
|
}>;
|
|
3787
3761
|
export type SortState = z.infer<typeof SortStateSchema>;
|
|
3788
|
-
export declare const
|
|
3762
|
+
export declare const RegularFacetSearchSchema: z.ZodObject<{
|
|
3789
3763
|
payload: z.ZodObject<{
|
|
3790
3764
|
query: z.ZodString;
|
|
3791
3765
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3802,7 +3776,7 @@ export declare const SearchSchema: z.ZodObject<{
|
|
|
3802
3776
|
query: string;
|
|
3803
3777
|
};
|
|
3804
3778
|
}>;
|
|
3805
|
-
export type
|
|
3779
|
+
export type RegularFacetSearch = z.infer<typeof RegularFacetSearchSchema>;
|
|
3806
3780
|
export declare const RegularFacetToggleSelectSchema: z.ZodObject<{
|
|
3807
3781
|
payload: z.ZodObject<{
|
|
3808
3782
|
value: z.ZodString;
|
|
@@ -3839,7 +3813,7 @@ export declare const RegularFacetToggleSingleSelectSchema: z.ZodObject<{
|
|
|
3839
3813
|
};
|
|
3840
3814
|
}>;
|
|
3841
3815
|
export type RegularFacetToggleSingleSelect = z.infer<typeof RegularFacetToggleSingleSelectSchema>;
|
|
3842
|
-
export declare const
|
|
3816
|
+
export declare const RegularFacetSearchStateSchema: z.ZodObject<{
|
|
3843
3817
|
canShowMoreResults: z.ZodBoolean;
|
|
3844
3818
|
query: z.ZodString;
|
|
3845
3819
|
results: z.ZodArray<z.ZodObject<{
|
|
@@ -3867,7 +3841,7 @@ export declare const RegularFacetSearchSchema: z.ZodObject<{
|
|
|
3867
3841
|
value: string;
|
|
3868
3842
|
}[];
|
|
3869
3843
|
}>;
|
|
3870
|
-
export type
|
|
3844
|
+
export type RegularFacetSearchState = z.infer<typeof RegularFacetSearchStateSchema>;
|
|
3871
3845
|
export declare const NumericFacetApplyCustomRangeSchema: z.ZodObject<{
|
|
3872
3846
|
payload: z.ZodObject<{
|
|
3873
3847
|
end: z.ZodNumber;
|
|
@@ -4202,7 +4176,7 @@ export declare const CategoryFacetSelectPathSchema: z.ZodObject<{
|
|
|
4202
4176
|
};
|
|
4203
4177
|
}>;
|
|
4204
4178
|
export type CategoryFacetSelectPath = z.infer<typeof CategoryFacetSelectPathSchema>;
|
|
4205
|
-
export declare const
|
|
4179
|
+
export declare const CategoryFacetSearchStateSchema: z.ZodObject<{
|
|
4206
4180
|
canShowMoreResults: z.ZodBoolean;
|
|
4207
4181
|
query: z.ZodString;
|
|
4208
4182
|
results: z.ZodArray<z.ZodObject<{
|
|
@@ -4235,7 +4209,7 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
4235
4209
|
value: string;
|
|
4236
4210
|
}[];
|
|
4237
4211
|
}>;
|
|
4238
|
-
export type
|
|
4212
|
+
export type CategoryFacetSearchState = z.infer<typeof CategoryFacetSearchStateSchema>;
|
|
4239
4213
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
4240
4214
|
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
4241
4215
|
component: z.ZodLiteral<"FacetManager">;
|
|
@@ -4630,7 +4604,7 @@ export declare const QuerySummarySchema: z.ZodObject<{
|
|
|
4630
4604
|
}>>;
|
|
4631
4605
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4632
4606
|
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
4633
|
-
export declare const
|
|
4607
|
+
export declare const SetPageSizeSchema: z.ZodObject<{
|
|
4634
4608
|
payload: z.ZodObject<{
|
|
4635
4609
|
pageSize: z.ZodNumber;
|
|
4636
4610
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4647,7 +4621,7 @@ export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
|
4647
4621
|
pageSize: number;
|
|
4648
4622
|
};
|
|
4649
4623
|
}>;
|
|
4650
|
-
export type
|
|
4624
|
+
export type SetPageSize = z.infer<typeof SetPageSizeSchema>;
|
|
4651
4625
|
export declare const PurchaseSchema: z.ZodObject<{
|
|
4652
4626
|
payload: z.ZodObject<{
|
|
4653
4627
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -5986,23 +5960,6 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
5986
5960
|
page: number;
|
|
5987
5961
|
};
|
|
5988
5962
|
}>;
|
|
5989
|
-
setPageSize: z.ZodObject<{
|
|
5990
|
-
payload: z.ZodObject<{
|
|
5991
|
-
pageSize: z.ZodNumber;
|
|
5992
|
-
}, "strict", z.ZodTypeAny, {
|
|
5993
|
-
pageSize: number;
|
|
5994
|
-
}, {
|
|
5995
|
-
pageSize: number;
|
|
5996
|
-
}>;
|
|
5997
|
-
}, "strict", z.ZodTypeAny, {
|
|
5998
|
-
payload: {
|
|
5999
|
-
pageSize: number;
|
|
6000
|
-
};
|
|
6001
|
-
}, {
|
|
6002
|
-
payload: {
|
|
6003
|
-
pageSize: number;
|
|
6004
|
-
};
|
|
6005
|
-
}>;
|
|
6006
5963
|
showMore: z.ZodObject<{
|
|
6007
5964
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
6008
5965
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -6016,11 +5973,6 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
6016
5973
|
page: number;
|
|
6017
5974
|
};
|
|
6018
5975
|
};
|
|
6019
|
-
setPageSize: {
|
|
6020
|
-
payload: {
|
|
6021
|
-
pageSize: number;
|
|
6022
|
-
};
|
|
6023
|
-
};
|
|
6024
5976
|
showMore: {
|
|
6025
5977
|
payload: {};
|
|
6026
5978
|
};
|
|
@@ -6030,11 +5982,6 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
6030
5982
|
page: number;
|
|
6031
5983
|
};
|
|
6032
5984
|
};
|
|
6033
|
-
setPageSize: {
|
|
6034
|
-
payload: {
|
|
6035
|
-
pageSize: number;
|
|
6036
|
-
};
|
|
6037
|
-
};
|
|
6038
5985
|
showMore: {
|
|
6039
5986
|
payload: {};
|
|
6040
5987
|
};
|
|
@@ -9725,23 +9672,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9725
9672
|
page: number;
|
|
9726
9673
|
};
|
|
9727
9674
|
}>;
|
|
9728
|
-
setPageSize: z.ZodObject<{
|
|
9729
|
-
payload: z.ZodObject<{
|
|
9730
|
-
pageSize: z.ZodNumber;
|
|
9731
|
-
}, "strict", z.ZodTypeAny, {
|
|
9732
|
-
pageSize: number;
|
|
9733
|
-
}, {
|
|
9734
|
-
pageSize: number;
|
|
9735
|
-
}>;
|
|
9736
|
-
}, "strict", z.ZodTypeAny, {
|
|
9737
|
-
payload: {
|
|
9738
|
-
pageSize: number;
|
|
9739
|
-
};
|
|
9740
|
-
}, {
|
|
9741
|
-
payload: {
|
|
9742
|
-
pageSize: number;
|
|
9743
|
-
};
|
|
9744
|
-
}>;
|
|
9745
9675
|
showMore: z.ZodObject<{
|
|
9746
9676
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
9747
9677
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -9755,11 +9685,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9755
9685
|
page: number;
|
|
9756
9686
|
};
|
|
9757
9687
|
};
|
|
9758
|
-
setPageSize: {
|
|
9759
|
-
payload: {
|
|
9760
|
-
pageSize: number;
|
|
9761
|
-
};
|
|
9762
|
-
};
|
|
9763
9688
|
showMore: {
|
|
9764
9689
|
payload: {};
|
|
9765
9690
|
};
|
|
@@ -9769,11 +9694,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9769
9694
|
page: number;
|
|
9770
9695
|
};
|
|
9771
9696
|
};
|
|
9772
|
-
setPageSize: {
|
|
9773
|
-
payload: {
|
|
9774
|
-
pageSize: number;
|
|
9775
|
-
};
|
|
9776
|
-
};
|
|
9777
9697
|
showMore: {
|
|
9778
9698
|
payload: {};
|
|
9779
9699
|
};
|
|
@@ -9815,23 +9735,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9815
9735
|
page: number;
|
|
9816
9736
|
};
|
|
9817
9737
|
}>;
|
|
9818
|
-
setPageSize: z.ZodObject<{
|
|
9819
|
-
payload: z.ZodObject<{
|
|
9820
|
-
pageSize: z.ZodNumber;
|
|
9821
|
-
}, "strict", z.ZodTypeAny, {
|
|
9822
|
-
pageSize: number;
|
|
9823
|
-
}, {
|
|
9824
|
-
pageSize: number;
|
|
9825
|
-
}>;
|
|
9826
|
-
}, "strict", z.ZodTypeAny, {
|
|
9827
|
-
payload: {
|
|
9828
|
-
pageSize: number;
|
|
9829
|
-
};
|
|
9830
|
-
}, {
|
|
9831
|
-
payload: {
|
|
9832
|
-
pageSize: number;
|
|
9833
|
-
};
|
|
9834
|
-
}>;
|
|
9835
9738
|
showMore: z.ZodObject<{
|
|
9836
9739
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
9837
9740
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -9845,11 +9748,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9845
9748
|
page: number;
|
|
9846
9749
|
};
|
|
9847
9750
|
};
|
|
9848
|
-
setPageSize: {
|
|
9849
|
-
payload: {
|
|
9850
|
-
pageSize: number;
|
|
9851
|
-
};
|
|
9852
|
-
};
|
|
9853
9751
|
showMore: {
|
|
9854
9752
|
payload: {};
|
|
9855
9753
|
};
|
|
@@ -9859,11 +9757,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9859
9757
|
page: number;
|
|
9860
9758
|
};
|
|
9861
9759
|
};
|
|
9862
|
-
setPageSize: {
|
|
9863
|
-
payload: {
|
|
9864
|
-
pageSize: number;
|
|
9865
|
-
};
|
|
9866
|
-
};
|
|
9867
9760
|
showMore: {
|
|
9868
9761
|
payload: {};
|
|
9869
9762
|
};
|
|
@@ -9905,23 +9798,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9905
9798
|
page: number;
|
|
9906
9799
|
};
|
|
9907
9800
|
}>;
|
|
9908
|
-
setPageSize: z.ZodObject<{
|
|
9909
|
-
payload: z.ZodObject<{
|
|
9910
|
-
pageSize: z.ZodNumber;
|
|
9911
|
-
}, "strict", z.ZodTypeAny, {
|
|
9912
|
-
pageSize: number;
|
|
9913
|
-
}, {
|
|
9914
|
-
pageSize: number;
|
|
9915
|
-
}>;
|
|
9916
|
-
}, "strict", z.ZodTypeAny, {
|
|
9917
|
-
payload: {
|
|
9918
|
-
pageSize: number;
|
|
9919
|
-
};
|
|
9920
|
-
}, {
|
|
9921
|
-
payload: {
|
|
9922
|
-
pageSize: number;
|
|
9923
|
-
};
|
|
9924
|
-
}>;
|
|
9925
9801
|
showMore: z.ZodObject<{
|
|
9926
9802
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
9927
9803
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -9935,11 +9811,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9935
9811
|
page: number;
|
|
9936
9812
|
};
|
|
9937
9813
|
};
|
|
9938
|
-
setPageSize: {
|
|
9939
|
-
payload: {
|
|
9940
|
-
pageSize: number;
|
|
9941
|
-
};
|
|
9942
|
-
};
|
|
9943
9814
|
showMore: {
|
|
9944
9815
|
payload: {};
|
|
9945
9816
|
};
|
|
@@ -9949,11 +9820,6 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
9949
9820
|
page: number;
|
|
9950
9821
|
};
|
|
9951
9822
|
};
|
|
9952
|
-
setPageSize: {
|
|
9953
|
-
payload: {
|
|
9954
|
-
pageSize: number;
|
|
9955
|
-
};
|
|
9956
|
-
};
|
|
9957
9823
|
showMore: {
|
|
9958
9824
|
payload: {};
|
|
9959
9825
|
};
|
|
@@ -20655,23 +20521,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20655
20521
|
page: number;
|
|
20656
20522
|
};
|
|
20657
20523
|
}>;
|
|
20658
|
-
setPageSize: z.ZodObject<{
|
|
20659
|
-
payload: z.ZodObject<{
|
|
20660
|
-
pageSize: z.ZodNumber;
|
|
20661
|
-
}, "strict", z.ZodTypeAny, {
|
|
20662
|
-
pageSize: number;
|
|
20663
|
-
}, {
|
|
20664
|
-
pageSize: number;
|
|
20665
|
-
}>;
|
|
20666
|
-
}, "strict", z.ZodTypeAny, {
|
|
20667
|
-
payload: {
|
|
20668
|
-
pageSize: number;
|
|
20669
|
-
};
|
|
20670
|
-
}, {
|
|
20671
|
-
payload: {
|
|
20672
|
-
pageSize: number;
|
|
20673
|
-
};
|
|
20674
|
-
}>;
|
|
20675
20524
|
showMore: z.ZodObject<{
|
|
20676
20525
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
20677
20526
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -20685,11 +20534,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20685
20534
|
page: number;
|
|
20686
20535
|
};
|
|
20687
20536
|
};
|
|
20688
|
-
setPageSize: {
|
|
20689
|
-
payload: {
|
|
20690
|
-
pageSize: number;
|
|
20691
|
-
};
|
|
20692
|
-
};
|
|
20693
20537
|
showMore: {
|
|
20694
20538
|
payload: {};
|
|
20695
20539
|
};
|
|
@@ -20699,11 +20543,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20699
20543
|
page: number;
|
|
20700
20544
|
};
|
|
20701
20545
|
};
|
|
20702
|
-
setPageSize: {
|
|
20703
|
-
payload: {
|
|
20704
|
-
pageSize: number;
|
|
20705
|
-
};
|
|
20706
|
-
};
|
|
20707
20546
|
showMore: {
|
|
20708
20547
|
payload: {};
|
|
20709
20548
|
};
|
|
@@ -20745,23 +20584,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20745
20584
|
page: number;
|
|
20746
20585
|
};
|
|
20747
20586
|
}>;
|
|
20748
|
-
setPageSize: z.ZodObject<{
|
|
20749
|
-
payload: z.ZodObject<{
|
|
20750
|
-
pageSize: z.ZodNumber;
|
|
20751
|
-
}, "strict", z.ZodTypeAny, {
|
|
20752
|
-
pageSize: number;
|
|
20753
|
-
}, {
|
|
20754
|
-
pageSize: number;
|
|
20755
|
-
}>;
|
|
20756
|
-
}, "strict", z.ZodTypeAny, {
|
|
20757
|
-
payload: {
|
|
20758
|
-
pageSize: number;
|
|
20759
|
-
};
|
|
20760
|
-
}, {
|
|
20761
|
-
payload: {
|
|
20762
|
-
pageSize: number;
|
|
20763
|
-
};
|
|
20764
|
-
}>;
|
|
20765
20587
|
showMore: z.ZodObject<{
|
|
20766
20588
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
20767
20589
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -20775,11 +20597,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20775
20597
|
page: number;
|
|
20776
20598
|
};
|
|
20777
20599
|
};
|
|
20778
|
-
setPageSize: {
|
|
20779
|
-
payload: {
|
|
20780
|
-
pageSize: number;
|
|
20781
|
-
};
|
|
20782
|
-
};
|
|
20783
20600
|
showMore: {
|
|
20784
20601
|
payload: {};
|
|
20785
20602
|
};
|
|
@@ -20789,11 +20606,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20789
20606
|
page: number;
|
|
20790
20607
|
};
|
|
20791
20608
|
};
|
|
20792
|
-
setPageSize: {
|
|
20793
|
-
payload: {
|
|
20794
|
-
pageSize: number;
|
|
20795
|
-
};
|
|
20796
|
-
};
|
|
20797
20609
|
showMore: {
|
|
20798
20610
|
payload: {};
|
|
20799
20611
|
};
|
|
@@ -20835,23 +20647,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20835
20647
|
page: number;
|
|
20836
20648
|
};
|
|
20837
20649
|
}>;
|
|
20838
|
-
setPageSize: z.ZodObject<{
|
|
20839
|
-
payload: z.ZodObject<{
|
|
20840
|
-
pageSize: z.ZodNumber;
|
|
20841
|
-
}, "strict", z.ZodTypeAny, {
|
|
20842
|
-
pageSize: number;
|
|
20843
|
-
}, {
|
|
20844
|
-
pageSize: number;
|
|
20845
|
-
}>;
|
|
20846
|
-
}, "strict", z.ZodTypeAny, {
|
|
20847
|
-
payload: {
|
|
20848
|
-
pageSize: number;
|
|
20849
|
-
};
|
|
20850
|
-
}, {
|
|
20851
|
-
payload: {
|
|
20852
|
-
pageSize: number;
|
|
20853
|
-
};
|
|
20854
|
-
}>;
|
|
20855
20650
|
showMore: z.ZodObject<{
|
|
20856
20651
|
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
20857
20652
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -20865,11 +20660,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20865
20660
|
page: number;
|
|
20866
20661
|
};
|
|
20867
20662
|
};
|
|
20868
|
-
setPageSize: {
|
|
20869
|
-
payload: {
|
|
20870
|
-
pageSize: number;
|
|
20871
|
-
};
|
|
20872
|
-
};
|
|
20873
20663
|
showMore: {
|
|
20874
20664
|
payload: {};
|
|
20875
20665
|
};
|
|
@@ -20879,11 +20669,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
20879
20669
|
page: number;
|
|
20880
20670
|
};
|
|
20881
20671
|
};
|
|
20882
|
-
setPageSize: {
|
|
20883
|
-
payload: {
|
|
20884
|
-
pageSize: number;
|
|
20885
|
-
};
|
|
20886
|
-
};
|
|
20887
20672
|
showMore: {
|
|
20888
20673
|
payload: {};
|
|
20889
20674
|
};
|
|
@@ -31124,41 +30909,6 @@ export declare const PaginationActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
31124
30909
|
page: number;
|
|
31125
30910
|
};
|
|
31126
30911
|
};
|
|
31127
|
-
}>, z.ZodObject<{
|
|
31128
|
-
event: z.ZodObject<{
|
|
31129
|
-
name: z.ZodLiteral<"setPageSize">;
|
|
31130
|
-
context: z.ZodObject<{
|
|
31131
|
-
pageSize: z.ZodNumber;
|
|
31132
|
-
}, "strict", z.ZodTypeAny, {
|
|
31133
|
-
pageSize: number;
|
|
31134
|
-
}, {
|
|
31135
|
-
pageSize: number;
|
|
31136
|
-
}>;
|
|
31137
|
-
}, "strip", z.ZodTypeAny, {
|
|
31138
|
-
name: "setPageSize";
|
|
31139
|
-
context: {
|
|
31140
|
-
pageSize: number;
|
|
31141
|
-
};
|
|
31142
|
-
}, {
|
|
31143
|
-
name: "setPageSize";
|
|
31144
|
-
context: {
|
|
31145
|
-
pageSize: number;
|
|
31146
|
-
};
|
|
31147
|
-
}>;
|
|
31148
|
-
}, "strip", z.ZodTypeAny, {
|
|
31149
|
-
event: {
|
|
31150
|
-
name: "setPageSize";
|
|
31151
|
-
context: {
|
|
31152
|
-
pageSize: number;
|
|
31153
|
-
};
|
|
31154
|
-
};
|
|
31155
|
-
}, {
|
|
31156
|
-
event: {
|
|
31157
|
-
name: "setPageSize";
|
|
31158
|
-
context: {
|
|
31159
|
-
pageSize: number;
|
|
31160
|
-
};
|
|
31161
|
-
};
|
|
31162
30912
|
}>, z.ZodObject<{
|
|
31163
30913
|
event: z.ZodObject<{
|
|
31164
30914
|
name: z.ZodLiteral<"showMore">;
|
|
@@ -58,7 +58,7 @@ export const SearchOptionActionItemSchema = z.strictObject({
|
|
|
58
58
|
text: z.string(),
|
|
59
59
|
type: z.literal('searchOption'),
|
|
60
60
|
});
|
|
61
|
-
export const
|
|
61
|
+
export const ChildListTemplateSchema = z.strictObject({
|
|
62
62
|
componentId: z.string().regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
63
63
|
path: z.string(),
|
|
64
64
|
});
|
|
@@ -207,9 +207,6 @@ export const ProductSummaryStateSchema = z.strictObject({
|
|
|
207
207
|
export const SelectPagePayloadSchema = z.strictObject({
|
|
208
208
|
page: z.number().int().min(0),
|
|
209
209
|
});
|
|
210
|
-
export const PayloadSchema = z.strictObject({
|
|
211
|
-
pageSize: z.number().int().min(1),
|
|
212
|
-
});
|
|
213
210
|
export const ShowMorePayloadSchema = z.strictObject({});
|
|
214
211
|
export const PaginationStateSchema = z.strictObject({
|
|
215
212
|
page: z.number().int().min(0),
|
|
@@ -228,7 +225,7 @@ export const SortCriterionSchema = z.strictObject({
|
|
|
228
225
|
export const ActionSchema = z.strictObject({
|
|
229
226
|
payload: z.unknown(),
|
|
230
227
|
});
|
|
231
|
-
export const
|
|
228
|
+
export const RegularFacetSearchPayloadSchema = z.strictObject({
|
|
232
229
|
query: z.string(),
|
|
233
230
|
});
|
|
234
231
|
export const RegularFacetToggleSelectPayloadSchema = z.strictObject({
|
|
@@ -451,9 +448,6 @@ export const ProductSummarySchema = z.looseObject({
|
|
|
451
448
|
export const SelectPageSchema = z.strictObject({
|
|
452
449
|
payload: SelectPagePayloadSchema,
|
|
453
450
|
});
|
|
454
|
-
export const PurpleSetPageSizeSchema = z.strictObject({
|
|
455
|
-
payload: PayloadSchema,
|
|
456
|
-
});
|
|
457
451
|
export const ShowMoreSchema = z.strictObject({
|
|
458
452
|
payload: ShowMorePayloadSchema,
|
|
459
453
|
});
|
|
@@ -464,8 +458,8 @@ export const SortStateSchema = z.strictObject({
|
|
|
464
458
|
appliedSort: SortCriterionSchema,
|
|
465
459
|
availableSorts: z.array(SortCriterionSchema),
|
|
466
460
|
});
|
|
467
|
-
export const
|
|
468
|
-
payload:
|
|
461
|
+
export const RegularFacetSearchSchema = z.strictObject({
|
|
462
|
+
payload: RegularFacetSearchPayloadSchema,
|
|
469
463
|
});
|
|
470
464
|
export const RegularFacetToggleSelectSchema = z.strictObject({
|
|
471
465
|
payload: RegularFacetToggleSelectPayloadSchema,
|
|
@@ -473,7 +467,7 @@ export const RegularFacetToggleSelectSchema = z.strictObject({
|
|
|
473
467
|
export const RegularFacetToggleSingleSelectSchema = z.strictObject({
|
|
474
468
|
payload: RegularFacetToggleSingleSelectPayloadSchema,
|
|
475
469
|
});
|
|
476
|
-
export const
|
|
470
|
+
export const RegularFacetSearchStateSchema = z.strictObject({
|
|
477
471
|
canShowMoreResults: z.boolean(),
|
|
478
472
|
query: z.string(),
|
|
479
473
|
results: z.array(RegularFacetSearchResultSchema),
|
|
@@ -521,7 +515,7 @@ export const CategoryFacetSearchSchema = z.strictObject({
|
|
|
521
515
|
export const CategoryFacetSelectPathSchema = z.strictObject({
|
|
522
516
|
payload: CategoryFacetSelectPathPayloadSchema,
|
|
523
517
|
});
|
|
524
|
-
export const
|
|
518
|
+
export const CategoryFacetSearchStateSchema = z.strictObject({
|
|
525
519
|
canShowMoreResults: z.boolean(),
|
|
526
520
|
query: z.string(),
|
|
527
521
|
results: z.array(CategoryFacetValueSchema),
|
|
@@ -568,7 +562,7 @@ export const QuerySummarySchema = z.looseObject({
|
|
|
568
562
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
569
563
|
state: QuerySummaryStateSchema.optional(),
|
|
570
564
|
});
|
|
571
|
-
export const
|
|
565
|
+
export const SetPageSizeSchema = z.strictObject({
|
|
572
566
|
payload: SetPageSizePayloadSchema,
|
|
573
567
|
});
|
|
574
568
|
export const PurchaseSchema = z.strictObject({
|
|
@@ -606,7 +600,6 @@ export const ProductListActionsSchema = z.strictObject({
|
|
|
606
600
|
});
|
|
607
601
|
export const PaginationActionsSchema = z.strictObject({
|
|
608
602
|
selectPage: SelectPageSchema,
|
|
609
|
-
setPageSize: PurpleSetPageSizeSchema,
|
|
610
603
|
showMore: ShowMoreSchema,
|
|
611
604
|
});
|
|
612
605
|
export const SortActionsSchema = z.strictObject({
|
|
@@ -615,7 +608,7 @@ export const SortActionsSchema = z.strictObject({
|
|
|
615
608
|
export const RegularFacetActionsSchema = z.strictObject({
|
|
616
609
|
clearAllActiveValues: ActionSchema,
|
|
617
610
|
clearSearch: ActionSchema,
|
|
618
|
-
search:
|
|
611
|
+
search: RegularFacetSearchSchema,
|
|
619
612
|
showLessValues: ActionSchema,
|
|
620
613
|
showMoreSearchResults: ActionSchema,
|
|
621
614
|
showMoreValues: ActionSchema,
|
|
@@ -626,7 +619,7 @@ export const RegularFacetStateSchema = z.strictObject({
|
|
|
626
619
|
canShowLessValues: z.boolean(),
|
|
627
620
|
canShowMoreValues: z.boolean(),
|
|
628
621
|
displayName: z.string(),
|
|
629
|
-
facetSearch:
|
|
622
|
+
facetSearch: RegularFacetSearchStateSchema,
|
|
630
623
|
field: z.string().min(1),
|
|
631
624
|
hasActiveValues: z.boolean(),
|
|
632
625
|
values: z.array(RegularFacetValueSchema),
|
|
@@ -660,7 +653,7 @@ export const CategoryFacetStateSchema = z.strictObject({
|
|
|
660
653
|
canShowLessValues: z.boolean(),
|
|
661
654
|
canShowMoreValues: z.boolean(),
|
|
662
655
|
displayName: z.string(),
|
|
663
|
-
facetSearch:
|
|
656
|
+
facetSearch: CategoryFacetSearchStateSchema,
|
|
664
657
|
field: z.string(),
|
|
665
658
|
values: CategoryFacetValuesSchema,
|
|
666
659
|
});
|
|
@@ -683,7 +676,7 @@ export const RestoreStatePayloadSchema = z.strictObject({
|
|
|
683
676
|
sortCriteria: z.string().optional(),
|
|
684
677
|
});
|
|
685
678
|
export const PageSizeActionsSchema = z.strictObject({
|
|
686
|
-
setPageSize:
|
|
679
|
+
setPageSize: SetPageSizeSchema,
|
|
687
680
|
});
|
|
688
681
|
export const CartActionsSchema = z.strictObject({
|
|
689
682
|
purchase: PurchaseSchema,
|
|
@@ -1211,12 +1204,6 @@ export const PaginationActionSchema = z.union([
|
|
|
1211
1204
|
context: z.strictObject({ page: z.number().int().min(0) }),
|
|
1212
1205
|
}),
|
|
1213
1206
|
}),
|
|
1214
|
-
z.object({
|
|
1215
|
-
event: z.object({
|
|
1216
|
-
name: z.literal('setPageSize'),
|
|
1217
|
-
context: z.strictObject({ pageSize: z.number().int().min(1) }),
|
|
1218
|
-
}),
|
|
1219
|
-
}),
|
|
1220
1207
|
z.object({ event: z.object({ name: z.literal('showMore'), context: z.strictObject({}) }) }),
|
|
1221
1208
|
]);
|
|
1222
1209
|
export const ProductCarouselActionSchema = z.never();
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const THERMIDOR_CATALOG_ID = "https://schema.thermidor.coveo.com/a2-ui/catalog.json";
|
|
2
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './generated/schemas.js';
|
|
3
|
-
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, InstantProducts, InstantProductsActions, InstantProductsState, FetchInstantProducts, FetchInstantProductsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, LayoutStack, LayoutStackState, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Badge, BadgePlacement, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductResearchRelatedDocument, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchResult, RegularFacetState, RegularFacetToggleSelectPayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, InstantProductsAction, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, InstantProductsProps, LayoutStackProps, SearchBoxProps, SessionShellProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './generated/schemas.js';
|
|
2
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSearchStateSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchPayloadSchema, RegularFacetSearchResultSchema, RegularFacetSearchStateSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './generated/schemas.js';
|
|
3
|
+
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, InstantProducts, InstantProductsActions, InstantProductsState, FetchInstantProducts, FetchInstantProductsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSearchState, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, LayoutStack, LayoutStackState, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Badge, BadgePlacement, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductResearchRelatedDocument, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchPayload, RegularFacetSearchResult, RegularFacetSearchState, RegularFacetState, RegularFacetToggleSelectPayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, InstantProductsAction, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, InstantProductsProps, LayoutStackProps, SearchBoxProps, SessionShellProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './generated/schemas.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const THERMIDOR_CATALOG_ID = 'https://schema.thermidor.coveo.com/a2-ui/catalog.json';
|
|
2
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './generated/schemas.js';
|
|
2
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSearchStateSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductResearchRelatedDocumentSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchPayloadSchema, RegularFacetSearchResultSchema, RegularFacetSearchStateSchema, RegularFacetStateSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './generated/schemas.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/thermidor-schema",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.39",
|
|
4
4
|
"description": "Zod and TypeScript projections of the Thermidor JSON Schema contract.",
|
|
5
5
|
"homepage": "https://github.com/coveo-platform/thermidor-schema#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"additionalProperties": false
|
|
158
158
|
},
|
|
159
159
|
"CategoryFacetSearch": {
|
|
160
|
-
"title": "
|
|
160
|
+
"title": "CategoryFacetSearchState",
|
|
161
161
|
"description": "The current category facet search state.",
|
|
162
162
|
"type": "object",
|
|
163
163
|
"required": ["query", "canShowMoreResults", "results"],
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"const": "LayoutStack"
|
|
19
19
|
},
|
|
20
20
|
"direction": {
|
|
21
|
+
"title": "LayoutStackDirection",
|
|
21
22
|
"type": "string",
|
|
22
23
|
"enum": ["column", "row"],
|
|
23
24
|
"description": "The axis along which children are stacked. A plain presentation value at the node top level, never server state."
|
|
@@ -37,14 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"actions": {
|
|
39
39
|
"type": "object",
|
|
40
|
-
"required": ["selectPage", "
|
|
40
|
+
"required": ["selectPage", "showMore"],
|
|
41
41
|
"properties": {
|
|
42
42
|
"selectPage": {
|
|
43
43
|
"$ref": "#/$defs/SelectPageAction"
|
|
44
44
|
},
|
|
45
|
-
"setPageSize": {
|
|
46
|
-
"$ref": "#/$defs/SetPageSizeAction"
|
|
47
|
-
},
|
|
48
45
|
"showMore": {
|
|
49
46
|
"$ref": "#/$defs/ShowMoreAction"
|
|
50
47
|
}
|
|
@@ -106,29 +103,6 @@
|
|
|
106
103
|
}
|
|
107
104
|
}
|
|
108
105
|
},
|
|
109
|
-
"SetPageSizeAction": {
|
|
110
|
-
"title": "setPageSize",
|
|
111
|
-
"description": "Changes the number of items displayed per page.",
|
|
112
|
-
"allOf": [
|
|
113
|
-
{
|
|
114
|
-
"$ref": "https://schema.thermidor.coveo.com/base/action.schema.json"
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"properties": {
|
|
118
|
-
"payload": {
|
|
119
|
-
"type": "object",
|
|
120
|
-
"required": ["pageSize"],
|
|
121
|
-
"properties": {
|
|
122
|
-
"pageSize": {
|
|
123
|
-
"type": "integer",
|
|
124
|
-
"minimum": 1,
|
|
125
|
-
"description": "The number of items to display per page."
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"additionalProperties": false
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
106
|
"ShowMoreAction": {
|
|
133
107
|
"title": "showMore",
|
|
134
108
|
"description": "Advances to the next page while preserving backend ownership of pagination state.",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"additionalProperties": false
|
|
164
164
|
},
|
|
165
165
|
"RegularFacetSearch": {
|
|
166
|
-
"title": "
|
|
166
|
+
"title": "RegularFacetSearchState",
|
|
167
167
|
"description": "The facet search state for a regular facet.",
|
|
168
168
|
"type": "object",
|
|
169
169
|
"required": ["query", "canShowMoreResults", "results"],
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
]
|
|
262
262
|
},
|
|
263
263
|
"RegularFacetSearchAction": {
|
|
264
|
-
"title": "
|
|
264
|
+
"title": "regularFacetSearch",
|
|
265
265
|
"description": "Runs a facet search with the given query.",
|
|
266
266
|
"allOf": [
|
|
267
267
|
{
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
]
|
|
302
302
|
},
|
|
303
303
|
"RegularFacetShowMoreValuesAction": {
|
|
304
|
-
"title": "
|
|
304
|
+
"title": "regularFacetShowMoreValues",
|
|
305
305
|
"description": "Increases the number of facet values shown.",
|
|
306
306
|
"allOf": [
|
|
307
307
|
{
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
]
|
|
311
311
|
},
|
|
312
312
|
"RegularFacetShowLessValuesAction": {
|
|
313
|
-
"title": "
|
|
313
|
+
"title": "regularFacetShowLessValues",
|
|
314
314
|
"description": "Decreases the number of facet values shown.",
|
|
315
315
|
"allOf": [
|
|
316
316
|
{
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
+
"title": "ChildListTemplate",
|
|
16
17
|
"type": "object",
|
|
17
18
|
"description": "A template for generating a dynamic list of children from a data-model list. The componentId is the component used as the template; path is the JSON Pointer to the list of component property objects in the data model.",
|
|
18
19
|
"required": ["componentId", "path"],
|