@coveo/thermidor-schema 1.0.0-beta.34 → 1.0.0-beta.38
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 +217 -112
- package/dist/generated/schemas.js +41 -37
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +2240 -969
- package/dist/generated/zod3/schemas.js +41 -37
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/schema/component-contracts.schema.json +3 -0
- package/schema/components/breadbox.schema.json +1 -1
- package/schema/components/date-facet.schema.json +2 -2
- package/schema/components/instant-products.schema.json +85 -0
- package/schema/components/numeric-facet.schema.json +2 -2
- package/schema/components/regular-facet.schema.json +3 -57
- package/schema/components/search-box.schema.json +6 -2
- package/schema/definitions/breadbox-deselect-regular-value.schema.json +1 -1
- package/schema/definitions/breadbox-regular-facet.schema.json +3 -3
- package/schema/definitions/facet-value-state.schema.json +1 -1
- package/schema/definitions/selectable-facet-value-state.schema.json +0 -8
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// This file is generated from the canonical JSON Schema documents.
|
|
2
2
|
// Do not edit it directly; run `mise run generate` from the repository root.
|
|
3
3
|
import * as z from 'zod/v4';
|
|
4
|
-
// Whether the value is selected or excluded.
|
|
5
|
-
export const BreadboxRegularFacetValueStateSchema = z.enum(['excluded', 'selected']);
|
|
6
4
|
export const CartUpdateOperationSchema = z.enum(['add', 'remove', 'setQuantity']);
|
|
7
5
|
// The kind of action selected: "followup" or "search".
|
|
8
6
|
export const SelectActionPayloadTypeSchema = z.enum(['followup', 'search']);
|
|
@@ -10,12 +8,7 @@ export const ActionItemTypeSchema = z.enum(['followup', 'search', 'searchOption'
|
|
|
10
8
|
// The selection state of a facet value, shared across all commerce facet components.
|
|
11
9
|
//
|
|
12
10
|
// The selection state of this facet value.
|
|
13
|
-
export const FacetValueStateSchema = z.enum(['
|
|
14
|
-
// The selection state of a facet value that supports selection but not exclusion (e.g.
|
|
15
|
-
// numeric and date facets). Constrained to 'idle' or 'selected'.
|
|
16
|
-
//
|
|
17
|
-
// The selection state of this facet value (idle or selected; exclusion is not supported).
|
|
18
|
-
export const SelectableFacetValueStateSchema = z.enum(['idle', 'selected']);
|
|
11
|
+
export const FacetValueStateSchema = z.enum(['idle', 'selected']);
|
|
19
12
|
export const BreadboxFacetTypeSchema = z.enum([
|
|
20
13
|
'dateRange',
|
|
21
14
|
'hierarchical',
|
|
@@ -68,7 +61,7 @@ export const ChildListClassSchema = z.strictObject({
|
|
|
68
61
|
path: z.string(),
|
|
69
62
|
});
|
|
70
63
|
export const BreadboxRegularFacetValueSchema = z.strictObject({
|
|
71
|
-
state: z.
|
|
64
|
+
state: z.literal('selected'),
|
|
72
65
|
value: z.string().min(1),
|
|
73
66
|
});
|
|
74
67
|
export const BreadboxNumericalRangeFacetValueSchema = z.strictObject({
|
|
@@ -146,6 +139,13 @@ export const QueryCompletionSchema = z.strictObject({
|
|
|
146
139
|
expression: z.string(),
|
|
147
140
|
score: z.number().optional(),
|
|
148
141
|
});
|
|
142
|
+
export const FetchInstantProductsPayloadSchema = z.strictObject({
|
|
143
|
+
query: z.string(),
|
|
144
|
+
});
|
|
145
|
+
export const InstantProductsStateSchema = z.strictObject({
|
|
146
|
+
products: z.array(ProductSchema),
|
|
147
|
+
query: z.string(),
|
|
148
|
+
});
|
|
149
149
|
export const SelectActionPayloadSchema = z.strictObject({
|
|
150
150
|
text: z.string(),
|
|
151
151
|
type: z.enum(['followup', 'search']),
|
|
@@ -229,15 +229,9 @@ export const ActionSchema = z.strictObject({
|
|
|
229
229
|
export const SearchPayloadSchema = z.strictObject({
|
|
230
230
|
query: z.string(),
|
|
231
231
|
});
|
|
232
|
-
export const RegularFacetToggleExcludePayloadSchema = z.strictObject({
|
|
233
|
-
value: z.string().min(1),
|
|
234
|
-
});
|
|
235
232
|
export const RegularFacetToggleSelectPayloadSchema = z.strictObject({
|
|
236
233
|
value: z.string().min(1),
|
|
237
234
|
});
|
|
238
|
-
export const RegularFacetToggleSingleExcludePayloadSchema = z.strictObject({
|
|
239
|
-
value: z.string().min(1),
|
|
240
|
-
});
|
|
241
235
|
export const RegularFacetToggleSingleSelectPayloadSchema = z.strictObject({
|
|
242
236
|
value: z.string().min(1),
|
|
243
237
|
});
|
|
@@ -247,7 +241,7 @@ export const RegularFacetSearchResultSchema = z.strictObject({
|
|
|
247
241
|
});
|
|
248
242
|
export const RegularFacetValueSchema = z.strictObject({
|
|
249
243
|
numberOfResults: z.number().int().min(0),
|
|
250
|
-
state: z.enum(['idle', 'selected'
|
|
244
|
+
state: z.enum(['idle', 'selected']),
|
|
251
245
|
value: z.string().min(1),
|
|
252
246
|
});
|
|
253
247
|
export const NumericFacetApplyCustomRangePayloadSchema = z.strictObject({
|
|
@@ -325,7 +319,7 @@ export const BreadboxDeselectPayloadSchema = z.discriminatedUnion('type', [
|
|
|
325
319
|
BreadboxDeselectHierarchicalPathSchema,
|
|
326
320
|
]);
|
|
327
321
|
export const BreadboxFacetValueSchema = z.strictObject({
|
|
328
|
-
state: z.
|
|
322
|
+
state: z.literal('selected').optional(),
|
|
329
323
|
value: z.string().min(1).optional(),
|
|
330
324
|
end: z.union([z.number(), z.string()]).optional(),
|
|
331
325
|
start: z.union([z.number(), z.string()]).optional(),
|
|
@@ -410,6 +404,9 @@ export const QuerySuggestionsStateSchema = z.strictObject({
|
|
|
410
404
|
completions: z.array(QueryCompletionSchema),
|
|
411
405
|
query: z.string(),
|
|
412
406
|
});
|
|
407
|
+
export const FetchInstantProductsSchema = z.strictObject({
|
|
408
|
+
payload: FetchInstantProductsPayloadSchema,
|
|
409
|
+
});
|
|
413
410
|
export const SelectActionSchema = z.strictObject({
|
|
414
411
|
payload: SelectActionPayloadSchema,
|
|
415
412
|
});
|
|
@@ -468,15 +465,9 @@ export const SortStateSchema = z.strictObject({
|
|
|
468
465
|
export const SearchSchema = z.strictObject({
|
|
469
466
|
payload: SearchPayloadSchema,
|
|
470
467
|
});
|
|
471
|
-
export const RegularFacetToggleExcludeSchema = z.strictObject({
|
|
472
|
-
payload: RegularFacetToggleExcludePayloadSchema,
|
|
473
|
-
});
|
|
474
468
|
export const RegularFacetToggleSelectSchema = z.strictObject({
|
|
475
469
|
payload: RegularFacetToggleSelectPayloadSchema,
|
|
476
470
|
});
|
|
477
|
-
export const RegularFacetToggleSingleExcludeSchema = z.strictObject({
|
|
478
|
-
payload: RegularFacetToggleSingleExcludePayloadSchema,
|
|
479
|
-
});
|
|
480
471
|
export const RegularFacetToggleSingleSelectSchema = z.strictObject({
|
|
481
472
|
payload: RegularFacetToggleSingleSelectPayloadSchema,
|
|
482
473
|
});
|
|
@@ -584,6 +575,9 @@ export const PurchaseSchema = z.strictObject({
|
|
|
584
575
|
export const QuerySuggestionsActionsSchema = z.strictObject({
|
|
585
576
|
fetchSuggestions: FetchSuggestionsSchema,
|
|
586
577
|
});
|
|
578
|
+
export const InstantProductsActionsSchema = z.strictObject({
|
|
579
|
+
fetchInstantProducts: FetchInstantProductsSchema,
|
|
580
|
+
});
|
|
587
581
|
export const NextActionsBarActionsSchema = z.strictObject({
|
|
588
582
|
selectAction: SelectActionSchema,
|
|
589
583
|
selectSearchOption: SelectSearchOptionSchema,
|
|
@@ -623,9 +617,7 @@ export const RegularFacetActionsSchema = z.strictObject({
|
|
|
623
617
|
showLessValues: ActionSchema,
|
|
624
618
|
showMoreSearchResults: ActionSchema,
|
|
625
619
|
showMoreValues: ActionSchema,
|
|
626
|
-
toggleExclude: RegularFacetToggleExcludeSchema,
|
|
627
620
|
toggleSelect: RegularFacetToggleSelectSchema,
|
|
628
|
-
toggleSingleExclude: RegularFacetToggleSingleExcludeSchema,
|
|
629
621
|
toggleSingleSelect: RegularFacetToggleSingleSelectSchema,
|
|
630
622
|
});
|
|
631
623
|
export const RegularFacetStateSchema = z.strictObject({
|
|
@@ -701,6 +693,12 @@ export const QuerySuggestionsSchema = z.looseObject({
|
|
|
701
693
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
702
694
|
state: QuerySuggestionsStateSchema.optional(),
|
|
703
695
|
});
|
|
696
|
+
export const InstantProductsSchema = z.looseObject({
|
|
697
|
+
actions: InstantProductsActionsSchema.optional(),
|
|
698
|
+
component: z.literal('InstantProducts'),
|
|
699
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
700
|
+
state: InstantProductsStateSchema.optional(),
|
|
701
|
+
});
|
|
704
702
|
export const NextActionsBarSchema = z.looseObject({
|
|
705
703
|
actions: NextActionsBarActionsSchema.optional(),
|
|
706
704
|
component: z.literal('NextActionsBar'),
|
|
@@ -798,6 +796,7 @@ export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
|
798
796
|
CartSchema,
|
|
799
797
|
SearchBoxSchema,
|
|
800
798
|
QuerySuggestionsSchema,
|
|
799
|
+
InstantProductsSchema,
|
|
801
800
|
NextActionsBarSchema,
|
|
802
801
|
BundleDisplaySchema,
|
|
803
802
|
ProductResearchCardSchema,
|
|
@@ -920,6 +919,14 @@ export const DateFacetPropsSchema = z.object({
|
|
|
920
919
|
export const FacetManagerPropsSchema = z.object({
|
|
921
920
|
children: z.array(z.string()).optional(),
|
|
922
921
|
});
|
|
922
|
+
export const InstantProductsPropsSchema = z.object({
|
|
923
|
+
query: DynamicStringSchema,
|
|
924
|
+
products: z.union([
|
|
925
|
+
InstantProductsStateSchema.shape['products'],
|
|
926
|
+
DataBindingSchema,
|
|
927
|
+
FunctionCallSchema,
|
|
928
|
+
]),
|
|
929
|
+
});
|
|
923
930
|
export const LayoutStackPropsSchema = z.object({
|
|
924
931
|
direction: z.string().optional(),
|
|
925
932
|
children: z.array(z.string()).optional(),
|
|
@@ -1024,6 +1031,7 @@ export const RegularFacetPropsSchema = z.object({
|
|
|
1024
1031
|
});
|
|
1025
1032
|
export const SearchBoxPropsSchema = z.object({
|
|
1026
1033
|
suggestionsChild: z.string().optional(),
|
|
1034
|
+
instantProductsChild: z.string().optional(),
|
|
1027
1035
|
});
|
|
1028
1036
|
export const SessionShellPropsSchema = z.object({
|
|
1029
1037
|
children: z.array(z.string()).optional(),
|
|
@@ -1140,6 +1148,14 @@ export const DateFacetActionSchema = z.union([
|
|
|
1140
1148
|
z.object({ event: z.object({ name: z.literal('showLessValues'), context: z.unknown() }) }),
|
|
1141
1149
|
]);
|
|
1142
1150
|
export const FacetManagerActionSchema = z.never();
|
|
1151
|
+
export const InstantProductsActionSchema = z.union([
|
|
1152
|
+
z.object({
|
|
1153
|
+
event: z.object({
|
|
1154
|
+
name: z.literal('fetchInstantProducts'),
|
|
1155
|
+
context: z.strictObject({ query: z.string() }),
|
|
1156
|
+
}),
|
|
1157
|
+
}),
|
|
1158
|
+
]);
|
|
1143
1159
|
export const LayoutStackActionSchema = z.never();
|
|
1144
1160
|
export const NextActionsBarActionSchema = z.union([
|
|
1145
1161
|
z.object({
|
|
@@ -1239,24 +1255,12 @@ export const RegularFacetActionSchema = z.union([
|
|
|
1239
1255
|
context: z.strictObject({ value: z.string() }),
|
|
1240
1256
|
}),
|
|
1241
1257
|
}),
|
|
1242
|
-
z.object({
|
|
1243
|
-
event: z.object({
|
|
1244
|
-
name: z.literal('toggleExclude'),
|
|
1245
|
-
context: z.strictObject({ value: z.string() }),
|
|
1246
|
-
}),
|
|
1247
|
-
}),
|
|
1248
1258
|
z.object({
|
|
1249
1259
|
event: z.object({
|
|
1250
1260
|
name: z.literal('toggleSingleSelect'),
|
|
1251
1261
|
context: z.strictObject({ value: z.string() }),
|
|
1252
1262
|
}),
|
|
1253
1263
|
}),
|
|
1254
|
-
z.object({
|
|
1255
|
-
event: z.object({
|
|
1256
|
-
name: z.literal('toggleSingleExclude'),
|
|
1257
|
-
context: z.strictObject({ value: z.string() }),
|
|
1258
|
-
}),
|
|
1259
|
-
}),
|
|
1260
1264
|
z.object({ event: z.object({ name: z.literal('clearAllActiveValues'), context: z.unknown() }) }),
|
|
1261
1265
|
z.object({
|
|
1262
1266
|
event: z.object({ name: z.literal('search'), context: z.strictObject({ query: z.string() }) }),
|
|
@@ -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, 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,
|
|
3
|
-
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, 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,
|
|
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,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, 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,
|
|
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';
|