@coveo/thermidor-schema 1.0.0-beta.34 → 1.0.0-beta.37
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 +209 -0
- package/dist/generated/schemas.js +37 -0
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +1958 -183
- package/dist/generated/zod3/schemas.js +37 -0
- 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/instant-products.schema.json +85 -0
- package/schema/components/search-box.schema.json +6 -2
|
@@ -227,6 +227,43 @@ export declare const QueryCompletionSchema: z.ZodObject<{
|
|
|
227
227
|
score: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, z.core.$strict>;
|
|
229
229
|
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
230
|
+
export declare const FetchInstantProductsPayloadSchema: z.ZodObject<{
|
|
231
|
+
query: z.ZodString;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
export type FetchInstantProductsPayload = z.infer<typeof FetchInstantProductsPayloadSchema>;
|
|
234
|
+
export declare const InstantProductsStateSchema: z.ZodObject<{
|
|
235
|
+
products: z.ZodArray<z.ZodObject<{
|
|
236
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
237
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
239
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
240
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
241
|
+
text: z.ZodString;
|
|
242
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.core.$strict>>;
|
|
244
|
+
placementId: z.ZodString;
|
|
245
|
+
}, z.core.$strict>>>;
|
|
246
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
247
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
248
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
249
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
250
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
251
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
252
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
255
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
256
|
+
ec_name: z.ZodString;
|
|
257
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
258
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
260
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
261
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
permanentid: z.ZodString;
|
|
263
|
+
}, z.core.$strict>>;
|
|
264
|
+
query: z.ZodString;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
export type InstantProductsState = z.infer<typeof InstantProductsStateSchema>;
|
|
230
267
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
231
268
|
text: z.ZodString;
|
|
232
269
|
type: z.ZodEnum<{
|
|
@@ -740,6 +777,12 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
740
777
|
query: z.ZodString;
|
|
741
778
|
}, z.core.$strict>;
|
|
742
779
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
780
|
+
export declare const FetchInstantProductsSchema: z.ZodObject<{
|
|
781
|
+
payload: z.ZodObject<{
|
|
782
|
+
query: z.ZodString;
|
|
783
|
+
}, z.core.$strict>;
|
|
784
|
+
}, z.core.$strict>;
|
|
785
|
+
export type FetchInstantProducts = z.infer<typeof FetchInstantProductsSchema>;
|
|
743
786
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
744
787
|
payload: z.ZodObject<{
|
|
745
788
|
text: z.ZodString;
|
|
@@ -1224,6 +1267,14 @@ export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
|
1224
1267
|
}, z.core.$strict>;
|
|
1225
1268
|
}, z.core.$strict>;
|
|
1226
1269
|
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
1270
|
+
export declare const InstantProductsActionsSchema: z.ZodObject<{
|
|
1271
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1272
|
+
payload: z.ZodObject<{
|
|
1273
|
+
query: z.ZodString;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
}, z.core.$strict>;
|
|
1276
|
+
}, z.core.$strict>;
|
|
1277
|
+
export type InstantProductsActions = z.infer<typeof InstantProductsActionsSchema>;
|
|
1227
1278
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
1228
1279
|
selectAction: z.ZodObject<{
|
|
1229
1280
|
payload: z.ZodObject<{
|
|
@@ -1706,6 +1757,50 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1706
1757
|
}, z.core.$strict>>;
|
|
1707
1758
|
}, z.core.$loose>;
|
|
1708
1759
|
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
1760
|
+
export declare const InstantProductsSchema: z.ZodObject<{
|
|
1761
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1762
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1763
|
+
payload: z.ZodObject<{
|
|
1764
|
+
query: z.ZodString;
|
|
1765
|
+
}, z.core.$strict>;
|
|
1766
|
+
}, z.core.$strict>;
|
|
1767
|
+
}, z.core.$strict>>;
|
|
1768
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
1769
|
+
id: z.ZodString;
|
|
1770
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1771
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1772
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1773
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1774
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1775
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
text: z.ZodString;
|
|
1778
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
}, z.core.$strict>>;
|
|
1780
|
+
placementId: z.ZodString;
|
|
1781
|
+
}, z.core.$strict>>>;
|
|
1782
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1783
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1786
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1787
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1788
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1789
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1790
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
ec_name: z.ZodString;
|
|
1793
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1794
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1795
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1796
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1798
|
+
permanentid: z.ZodString;
|
|
1799
|
+
}, z.core.$strict>>;
|
|
1800
|
+
query: z.ZodString;
|
|
1801
|
+
}, z.core.$strict>>;
|
|
1802
|
+
}, z.core.$loose>;
|
|
1803
|
+
export type InstantProducts = z.infer<typeof InstantProductsSchema>;
|
|
1709
1804
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
1710
1805
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1711
1806
|
selectAction: z.ZodObject<{
|
|
@@ -2419,6 +2514,48 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2419
2514
|
}, z.core.$strict>>;
|
|
2420
2515
|
query: z.ZodString;
|
|
2421
2516
|
}, z.core.$strict>>;
|
|
2517
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2518
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2519
|
+
fetchInstantProducts: z.ZodObject<{
|
|
2520
|
+
payload: z.ZodObject<{
|
|
2521
|
+
query: z.ZodString;
|
|
2522
|
+
}, z.core.$strict>;
|
|
2523
|
+
}, z.core.$strict>;
|
|
2524
|
+
}, z.core.$strict>>;
|
|
2525
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
2526
|
+
id: z.ZodString;
|
|
2527
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2528
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2529
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2530
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2531
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2532
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
text: z.ZodString;
|
|
2535
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2536
|
+
}, z.core.$strict>>;
|
|
2537
|
+
placementId: z.ZodString;
|
|
2538
|
+
}, z.core.$strict>>>;
|
|
2539
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2540
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2543
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2546
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2547
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
ec_name: z.ZodString;
|
|
2550
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2551
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2552
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2553
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2555
|
+
permanentid: z.ZodString;
|
|
2556
|
+
}, z.core.$strict>>;
|
|
2557
|
+
query: z.ZodString;
|
|
2558
|
+
}, z.core.$strict>>;
|
|
2422
2559
|
}, z.core.$loose>, z.ZodObject<{
|
|
2423
2560
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2424
2561
|
selectAction: z.ZodObject<{
|
|
@@ -3592,6 +3729,66 @@ export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
|
3592
3729
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
3593
3730
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3594
3731
|
}, z.core.$strip>;
|
|
3732
|
+
export declare const InstantProductsPropsSchema: z.ZodObject<{
|
|
3733
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3734
|
+
path: z.ZodString;
|
|
3735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3736
|
+
call: z.ZodString;
|
|
3737
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3738
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3739
|
+
any: "any";
|
|
3740
|
+
array: "array";
|
|
3741
|
+
boolean: "boolean";
|
|
3742
|
+
number: "number";
|
|
3743
|
+
object: "object";
|
|
3744
|
+
string: "string";
|
|
3745
|
+
void: "void";
|
|
3746
|
+
}>>;
|
|
3747
|
+
}, z.core.$strip>]>;
|
|
3748
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3749
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3750
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3751
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3752
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3754
|
+
text: z.ZodString;
|
|
3755
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3756
|
+
}, z.core.$strict>>;
|
|
3757
|
+
placementId: z.ZodString;
|
|
3758
|
+
}, z.core.$strict>>>;
|
|
3759
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3760
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3761
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3762
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3763
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3765
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3766
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3767
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3768
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
ec_name: z.ZodString;
|
|
3770
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3771
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3772
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3773
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3775
|
+
permanentid: z.ZodString;
|
|
3776
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3777
|
+
path: z.ZodString;
|
|
3778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3779
|
+
call: z.ZodString;
|
|
3780
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3781
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3782
|
+
any: "any";
|
|
3783
|
+
array: "array";
|
|
3784
|
+
boolean: "boolean";
|
|
3785
|
+
number: "number";
|
|
3786
|
+
object: "object";
|
|
3787
|
+
string: "string";
|
|
3788
|
+
void: "void";
|
|
3789
|
+
}>>;
|
|
3790
|
+
}, z.core.$strip>]>;
|
|
3791
|
+
}, z.core.$strip>;
|
|
3595
3792
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
3596
3793
|
direction: z.ZodOptional<z.ZodString>;
|
|
3597
3794
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4320,6 +4517,7 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
4320
4517
|
}, z.core.$strip>;
|
|
4321
4518
|
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
4322
4519
|
suggestionsChild: z.ZodOptional<z.ZodString>;
|
|
4520
|
+
instantProductsChild: z.ZodOptional<z.ZodString>;
|
|
4323
4521
|
}, z.core.$strip>;
|
|
4324
4522
|
export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
4325
4523
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4541,6 +4739,15 @@ export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4541
4739
|
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
4542
4740
|
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
4543
4741
|
export type FacetManagerAction = never;
|
|
4742
|
+
export declare const InstantProductsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4743
|
+
event: z.ZodObject<{
|
|
4744
|
+
name: z.ZodLiteral<"fetchInstantProducts">;
|
|
4745
|
+
context: z.ZodObject<{
|
|
4746
|
+
query: z.ZodString;
|
|
4747
|
+
}, z.core.$strict>;
|
|
4748
|
+
}, z.core.$strip>;
|
|
4749
|
+
}, z.core.$strip>]>;
|
|
4750
|
+
export type InstantProductsAction = z.infer<typeof InstantProductsActionSchema>;
|
|
4544
4751
|
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
4545
4752
|
export type LayoutStackAction = never;
|
|
4546
4753
|
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4774,6 +4981,7 @@ export type DateFacetProps = DateFacetState;
|
|
|
4774
4981
|
export type FacetManagerProps = {
|
|
4775
4982
|
children?: string[];
|
|
4776
4983
|
};
|
|
4984
|
+
export type InstantProductsProps = InstantProductsState;
|
|
4777
4985
|
export type LayoutStackProps = {
|
|
4778
4986
|
children?: string[];
|
|
4779
4987
|
};
|
|
@@ -4790,6 +4998,7 @@ export type QuerySummaryProps = QuerySummaryState;
|
|
|
4790
4998
|
export type RegularFacetProps = RegularFacetState;
|
|
4791
4999
|
export type SearchBoxProps = {
|
|
4792
5000
|
suggestionsChild?: string;
|
|
5001
|
+
instantProductsChild?: string;
|
|
4793
5002
|
};
|
|
4794
5003
|
export type SessionShellProps = {
|
|
4795
5004
|
children?: string[];
|
|
@@ -146,6 +146,13 @@ export const QueryCompletionSchema = z.strictObject({
|
|
|
146
146
|
expression: z.string(),
|
|
147
147
|
score: z.number().optional(),
|
|
148
148
|
});
|
|
149
|
+
export const FetchInstantProductsPayloadSchema = z.strictObject({
|
|
150
|
+
query: z.string(),
|
|
151
|
+
});
|
|
152
|
+
export const InstantProductsStateSchema = z.strictObject({
|
|
153
|
+
products: z.array(ProductSchema),
|
|
154
|
+
query: z.string(),
|
|
155
|
+
});
|
|
149
156
|
export const SelectActionPayloadSchema = z.strictObject({
|
|
150
157
|
text: z.string(),
|
|
151
158
|
type: z.enum(['followup', 'search']),
|
|
@@ -410,6 +417,9 @@ export const QuerySuggestionsStateSchema = z.strictObject({
|
|
|
410
417
|
completions: z.array(QueryCompletionSchema),
|
|
411
418
|
query: z.string(),
|
|
412
419
|
});
|
|
420
|
+
export const FetchInstantProductsSchema = z.strictObject({
|
|
421
|
+
payload: FetchInstantProductsPayloadSchema,
|
|
422
|
+
});
|
|
413
423
|
export const SelectActionSchema = z.strictObject({
|
|
414
424
|
payload: SelectActionPayloadSchema,
|
|
415
425
|
});
|
|
@@ -584,6 +594,9 @@ export const PurchaseSchema = z.strictObject({
|
|
|
584
594
|
export const QuerySuggestionsActionsSchema = z.strictObject({
|
|
585
595
|
fetchSuggestions: FetchSuggestionsSchema,
|
|
586
596
|
});
|
|
597
|
+
export const InstantProductsActionsSchema = z.strictObject({
|
|
598
|
+
fetchInstantProducts: FetchInstantProductsSchema,
|
|
599
|
+
});
|
|
587
600
|
export const NextActionsBarActionsSchema = z.strictObject({
|
|
588
601
|
selectAction: SelectActionSchema,
|
|
589
602
|
selectSearchOption: SelectSearchOptionSchema,
|
|
@@ -701,6 +714,12 @@ export const QuerySuggestionsSchema = z.looseObject({
|
|
|
701
714
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
702
715
|
state: QuerySuggestionsStateSchema.optional(),
|
|
703
716
|
});
|
|
717
|
+
export const InstantProductsSchema = z.looseObject({
|
|
718
|
+
actions: InstantProductsActionsSchema.optional(),
|
|
719
|
+
component: z.literal('InstantProducts'),
|
|
720
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
721
|
+
state: InstantProductsStateSchema.optional(),
|
|
722
|
+
});
|
|
704
723
|
export const NextActionsBarSchema = z.looseObject({
|
|
705
724
|
actions: NextActionsBarActionsSchema.optional(),
|
|
706
725
|
component: z.literal('NextActionsBar'),
|
|
@@ -798,6 +817,7 @@ export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
|
798
817
|
CartSchema,
|
|
799
818
|
SearchBoxSchema,
|
|
800
819
|
QuerySuggestionsSchema,
|
|
820
|
+
InstantProductsSchema,
|
|
801
821
|
NextActionsBarSchema,
|
|
802
822
|
BundleDisplaySchema,
|
|
803
823
|
ProductResearchCardSchema,
|
|
@@ -920,6 +940,14 @@ export const DateFacetPropsSchema = z.object({
|
|
|
920
940
|
export const FacetManagerPropsSchema = z.object({
|
|
921
941
|
children: z.array(z.string()).optional(),
|
|
922
942
|
});
|
|
943
|
+
export const InstantProductsPropsSchema = z.object({
|
|
944
|
+
query: DynamicStringSchema,
|
|
945
|
+
products: z.union([
|
|
946
|
+
InstantProductsStateSchema.shape['products'],
|
|
947
|
+
DataBindingSchema,
|
|
948
|
+
FunctionCallSchema,
|
|
949
|
+
]),
|
|
950
|
+
});
|
|
923
951
|
export const LayoutStackPropsSchema = z.object({
|
|
924
952
|
direction: z.string().optional(),
|
|
925
953
|
children: z.array(z.string()).optional(),
|
|
@@ -1024,6 +1052,7 @@ export const RegularFacetPropsSchema = z.object({
|
|
|
1024
1052
|
});
|
|
1025
1053
|
export const SearchBoxPropsSchema = z.object({
|
|
1026
1054
|
suggestionsChild: z.string().optional(),
|
|
1055
|
+
instantProductsChild: z.string().optional(),
|
|
1027
1056
|
});
|
|
1028
1057
|
export const SessionShellPropsSchema = z.object({
|
|
1029
1058
|
children: z.array(z.string()).optional(),
|
|
@@ -1140,6 +1169,14 @@ export const DateFacetActionSchema = z.union([
|
|
|
1140
1169
|
z.object({ event: z.object({ name: z.literal('showLessValues'), context: z.unknown() }) }),
|
|
1141
1170
|
]);
|
|
1142
1171
|
export const FacetManagerActionSchema = z.never();
|
|
1172
|
+
export const InstantProductsActionSchema = z.union([
|
|
1173
|
+
z.object({
|
|
1174
|
+
event: z.object({
|
|
1175
|
+
name: z.literal('fetchInstantProducts'),
|
|
1176
|
+
context: z.strictObject({ query: z.string() }),
|
|
1177
|
+
}),
|
|
1178
|
+
}),
|
|
1179
|
+
]);
|
|
1143
1180
|
export const LayoutStackActionSchema = z.never();
|
|
1144
1181
|
export const NextActionsBarActionSchema = z.union([
|
|
1145
1182
|
z.object({
|
|
@@ -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, SelectableFacetValueStateSchema, 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, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, 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, 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, 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, SelectableFacetValueState, 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, RegularFacetToggleExcludePayload, RegularFacetToggleSelectPayload, RegularFacetToggleSingleExcludePayload, 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, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, 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, 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, SelectableFacetValueStateSchema, 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, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, 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, SelectableFacetValueState, 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, RegularFacetToggleExcludePayload, RegularFacetToggleSelectPayload, RegularFacetToggleSingleExcludePayload, 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, SelectableFacetValueStateSchema, 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, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, 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, 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, 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, SelectableFacetValueStateSchema, 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, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, 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';
|