@coveo/thermidor-schema 1.0.0-beta.32 → 1.0.0-beta.34
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 -0
- package/dist/generated/schemas.js +3 -1
- package/dist/generated/zod3/schemas.d.ts +142 -0
- package/dist/generated/zod3/schemas.js +3 -1
- package/package.json +1 -1
- package/schema/components/commerce-search.schema.json +7 -0
- package/schema/components/next-actions-bar.schema.json +6 -2
- package/schema/definitions/search-option-action-item.schema.json +1 -1
|
@@ -237,6 +237,7 @@ export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
|
237
237
|
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
238
238
|
export declare const SelectSearchOptionPayloadSchema: z.ZodObject<{
|
|
239
239
|
optionId: z.ZodString;
|
|
240
|
+
text: z.ZodString;
|
|
240
241
|
}, z.core.$strict>;
|
|
241
242
|
export type SelectSearchOptionPayload = z.infer<typeof SelectSearchOptionPayloadSchema>;
|
|
242
243
|
export declare const ActionItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -752,6 +753,7 @@ export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
|
752
753
|
export declare const SelectSearchOptionSchema: z.ZodObject<{
|
|
753
754
|
payload: z.ZodObject<{
|
|
754
755
|
optionId: z.ZodString;
|
|
756
|
+
text: z.ZodString;
|
|
755
757
|
}, z.core.$strict>;
|
|
756
758
|
}, z.core.$strict>;
|
|
757
759
|
export type SelectSearchOption = z.infer<typeof SelectSearchOptionSchema>;
|
|
@@ -1164,6 +1166,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
|
|
|
1164
1166
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1165
1167
|
start: z.ZodNumber;
|
|
1166
1168
|
}, z.core.$strict>>>;
|
|
1169
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1167
1170
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1168
1171
|
}, z.core.$strict>;
|
|
1169
1172
|
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
@@ -1234,6 +1237,7 @@ export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
|
1234
1237
|
selectSearchOption: z.ZodObject<{
|
|
1235
1238
|
payload: z.ZodObject<{
|
|
1236
1239
|
optionId: z.ZodString;
|
|
1240
|
+
text: z.ZodString;
|
|
1237
1241
|
}, z.core.$strict>;
|
|
1238
1242
|
}, z.core.$strict>;
|
|
1239
1243
|
}, z.core.$strict>;
|
|
@@ -1635,6 +1639,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
1635
1639
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1636
1640
|
start: z.ZodNumber;
|
|
1637
1641
|
}, z.core.$strict>>>;
|
|
1642
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1638
1643
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1639
1644
|
}, z.core.$strict>>>;
|
|
1640
1645
|
page: z.ZodNumber;
|
|
@@ -1715,6 +1720,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
1715
1720
|
selectSearchOption: z.ZodObject<{
|
|
1716
1721
|
payload: z.ZodObject<{
|
|
1717
1722
|
optionId: z.ZodString;
|
|
1723
|
+
text: z.ZodString;
|
|
1718
1724
|
}, z.core.$strict>;
|
|
1719
1725
|
}, z.core.$strict>;
|
|
1720
1726
|
}, z.core.$strict>>;
|
|
@@ -2192,6 +2198,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
2192
2198
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2193
2199
|
start: z.ZodNumber;
|
|
2194
2200
|
}, z.core.$strict>>>;
|
|
2201
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2195
2202
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2196
2203
|
}, z.core.$strict>>>;
|
|
2197
2204
|
page: z.ZodNumber;
|
|
@@ -2267,6 +2274,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
2267
2274
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2268
2275
|
start: z.ZodNumber;
|
|
2269
2276
|
}, z.core.$strict>>>;
|
|
2277
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2270
2278
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2271
2279
|
}, z.core.$strict>>>;
|
|
2272
2280
|
page: z.ZodNumber;
|
|
@@ -2299,6 +2307,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
2299
2307
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2300
2308
|
start: z.ZodNumber;
|
|
2301
2309
|
}, z.core.$strict>>>;
|
|
2310
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2302
2311
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2303
2312
|
}, z.core.$strict>>>;
|
|
2304
2313
|
page: z.ZodNumber;
|
|
@@ -2424,6 +2433,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2424
2433
|
selectSearchOption: z.ZodObject<{
|
|
2425
2434
|
payload: z.ZodObject<{
|
|
2426
2435
|
optionId: z.ZodString;
|
|
2436
|
+
text: z.ZodString;
|
|
2427
2437
|
}, z.core.$strict>;
|
|
2428
2438
|
}, z.core.$strict>;
|
|
2429
2439
|
}, z.core.$strict>>;
|
|
@@ -2996,6 +3006,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2996
3006
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2997
3007
|
start: z.ZodNumber;
|
|
2998
3008
|
}, z.core.$strict>>>;
|
|
3009
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2999
3010
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3000
3011
|
}, z.core.$strict>>>;
|
|
3001
3012
|
page: z.ZodNumber;
|
|
@@ -4548,6 +4559,7 @@ export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
4548
4559
|
name: z.ZodLiteral<"selectSearchOption">;
|
|
4549
4560
|
context: z.ZodObject<{
|
|
4550
4561
|
optionId: z.ZodString;
|
|
4562
|
+
text: z.ZodString;
|
|
4551
4563
|
}, z.core.$strict>;
|
|
4552
4564
|
}, z.core.$strip>;
|
|
4553
4565
|
}, z.core.$strip>]>;
|
|
@@ -152,6 +152,7 @@ export const SelectActionPayloadSchema = z.strictObject({
|
|
|
152
152
|
});
|
|
153
153
|
export const SelectSearchOptionPayloadSchema = z.strictObject({
|
|
154
154
|
optionId: z.string().min(1),
|
|
155
|
+
text: z.string(),
|
|
155
156
|
});
|
|
156
157
|
export const ActionItemSchema = z.discriminatedUnion('type', [
|
|
157
158
|
FollowupActionItemSchema,
|
|
@@ -556,6 +557,7 @@ export const OverrideCorrectionSchema = z.strictObject({
|
|
|
556
557
|
export const FacetRestoreSchema = z.strictObject({
|
|
557
558
|
facetId: z.string().min(1),
|
|
558
559
|
numericRanges: z.array(NumericRangeRestoreSchema).optional(),
|
|
560
|
+
path: z.array(z.string()).optional(),
|
|
559
561
|
values: z.array(z.string()).optional(),
|
|
560
562
|
});
|
|
561
563
|
export const SubmitQuerySchema = z.strictObject({
|
|
@@ -1149,7 +1151,7 @@ export const NextActionsBarActionSchema = z.union([
|
|
|
1149
1151
|
z.object({
|
|
1150
1152
|
event: z.object({
|
|
1151
1153
|
name: z.literal('selectSearchOption'),
|
|
1152
|
-
context: z.strictObject({ optionId: z.string() }),
|
|
1154
|
+
context: z.strictObject({ optionId: z.string(), text: z.string() }),
|
|
1153
1155
|
}),
|
|
1154
1156
|
}),
|
|
1155
1157
|
]);
|
|
@@ -577,10 +577,13 @@ export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
|
577
577
|
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
578
578
|
export declare const SelectSearchOptionPayloadSchema: z.ZodObject<{
|
|
579
579
|
optionId: z.ZodString;
|
|
580
|
+
text: z.ZodString;
|
|
580
581
|
}, "strict", z.ZodTypeAny, {
|
|
581
582
|
optionId: string;
|
|
583
|
+
text: string;
|
|
582
584
|
}, {
|
|
583
585
|
optionId: string;
|
|
586
|
+
text: string;
|
|
584
587
|
}>;
|
|
585
588
|
export type SelectSearchOptionPayload = z.infer<typeof SelectSearchOptionPayloadSchema>;
|
|
586
589
|
export declare const ActionItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -2473,18 +2476,23 @@ export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
|
2473
2476
|
export declare const SelectSearchOptionSchema: z.ZodObject<{
|
|
2474
2477
|
payload: z.ZodObject<{
|
|
2475
2478
|
optionId: z.ZodString;
|
|
2479
|
+
text: z.ZodString;
|
|
2476
2480
|
}, "strict", z.ZodTypeAny, {
|
|
2477
2481
|
optionId: string;
|
|
2482
|
+
text: string;
|
|
2478
2483
|
}, {
|
|
2479
2484
|
optionId: string;
|
|
2485
|
+
text: string;
|
|
2480
2486
|
}>;
|
|
2481
2487
|
}, "strict", z.ZodTypeAny, {
|
|
2482
2488
|
payload: {
|
|
2483
2489
|
optionId: string;
|
|
2490
|
+
text: string;
|
|
2484
2491
|
};
|
|
2485
2492
|
}, {
|
|
2486
2493
|
payload: {
|
|
2487
2494
|
optionId: string;
|
|
2495
|
+
text: string;
|
|
2488
2496
|
};
|
|
2489
2497
|
}>;
|
|
2490
2498
|
export type SelectSearchOption = z.infer<typeof SelectSearchOptionSchema>;
|
|
@@ -4356,6 +4364,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
|
|
|
4356
4364
|
endInclusive?: boolean | undefined;
|
|
4357
4365
|
start: number;
|
|
4358
4366
|
}>, "many">>;
|
|
4367
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4359
4368
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4360
4369
|
}, "strict", z.ZodTypeAny, {
|
|
4361
4370
|
facetId: string;
|
|
@@ -4364,6 +4373,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
|
|
|
4364
4373
|
endInclusive?: boolean | undefined;
|
|
4365
4374
|
start: number;
|
|
4366
4375
|
}[] | undefined;
|
|
4376
|
+
path?: string[] | undefined;
|
|
4367
4377
|
values?: string[] | undefined;
|
|
4368
4378
|
}, {
|
|
4369
4379
|
facetId: string;
|
|
@@ -4372,6 +4382,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
|
|
|
4372
4382
|
endInclusive?: boolean | undefined;
|
|
4373
4383
|
start: number;
|
|
4374
4384
|
}[] | undefined;
|
|
4385
|
+
path?: string[] | undefined;
|
|
4375
4386
|
values?: string[] | undefined;
|
|
4376
4387
|
}>;
|
|
4377
4388
|
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
@@ -4627,18 +4638,23 @@ export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
|
4627
4638
|
selectSearchOption: z.ZodObject<{
|
|
4628
4639
|
payload: z.ZodObject<{
|
|
4629
4640
|
optionId: z.ZodString;
|
|
4641
|
+
text: z.ZodString;
|
|
4630
4642
|
}, "strict", z.ZodTypeAny, {
|
|
4631
4643
|
optionId: string;
|
|
4644
|
+
text: string;
|
|
4632
4645
|
}, {
|
|
4633
4646
|
optionId: string;
|
|
4647
|
+
text: string;
|
|
4634
4648
|
}>;
|
|
4635
4649
|
}, "strict", z.ZodTypeAny, {
|
|
4636
4650
|
payload: {
|
|
4637
4651
|
optionId: string;
|
|
4652
|
+
text: string;
|
|
4638
4653
|
};
|
|
4639
4654
|
}, {
|
|
4640
4655
|
payload: {
|
|
4641
4656
|
optionId: string;
|
|
4657
|
+
text: string;
|
|
4642
4658
|
};
|
|
4643
4659
|
}>;
|
|
4644
4660
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4651,6 +4667,7 @@ export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
|
4651
4667
|
selectSearchOption: {
|
|
4652
4668
|
payload: {
|
|
4653
4669
|
optionId: string;
|
|
4670
|
+
text: string;
|
|
4654
4671
|
};
|
|
4655
4672
|
};
|
|
4656
4673
|
}, {
|
|
@@ -4663,6 +4680,7 @@ export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
|
4663
4680
|
selectSearchOption: {
|
|
4664
4681
|
payload: {
|
|
4665
4682
|
optionId: string;
|
|
4683
|
+
text: string;
|
|
4666
4684
|
};
|
|
4667
4685
|
};
|
|
4668
4686
|
}>;
|
|
@@ -7147,6 +7165,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7147
7165
|
endInclusive?: boolean | undefined;
|
|
7148
7166
|
start: number;
|
|
7149
7167
|
}>, "many">>;
|
|
7168
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7150
7169
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7151
7170
|
}, "strict", z.ZodTypeAny, {
|
|
7152
7171
|
facetId: string;
|
|
@@ -7155,6 +7174,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7155
7174
|
endInclusive?: boolean | undefined;
|
|
7156
7175
|
start: number;
|
|
7157
7176
|
}[] | undefined;
|
|
7177
|
+
path?: string[] | undefined;
|
|
7158
7178
|
values?: string[] | undefined;
|
|
7159
7179
|
}, {
|
|
7160
7180
|
facetId: string;
|
|
@@ -7163,6 +7183,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7163
7183
|
endInclusive?: boolean | undefined;
|
|
7164
7184
|
start: number;
|
|
7165
7185
|
}[] | undefined;
|
|
7186
|
+
path?: string[] | undefined;
|
|
7166
7187
|
values?: string[] | undefined;
|
|
7167
7188
|
}>, "many">>;
|
|
7168
7189
|
page: z.ZodNumber;
|
|
@@ -7178,6 +7199,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7178
7199
|
endInclusive?: boolean | undefined;
|
|
7179
7200
|
start: number;
|
|
7180
7201
|
}[] | undefined;
|
|
7202
|
+
path?: string[] | undefined;
|
|
7181
7203
|
values?: string[] | undefined;
|
|
7182
7204
|
}[] | undefined;
|
|
7183
7205
|
page: number;
|
|
@@ -7193,6 +7215,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7193
7215
|
endInclusive?: boolean | undefined;
|
|
7194
7216
|
start: number;
|
|
7195
7217
|
}[] | undefined;
|
|
7218
|
+
path?: string[] | undefined;
|
|
7196
7219
|
values?: string[] | undefined;
|
|
7197
7220
|
}[] | undefined;
|
|
7198
7221
|
page: number;
|
|
@@ -7606,18 +7629,23 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7606
7629
|
selectSearchOption: z.ZodObject<{
|
|
7607
7630
|
payload: z.ZodObject<{
|
|
7608
7631
|
optionId: z.ZodString;
|
|
7632
|
+
text: z.ZodString;
|
|
7609
7633
|
}, "strict", z.ZodTypeAny, {
|
|
7610
7634
|
optionId: string;
|
|
7635
|
+
text: string;
|
|
7611
7636
|
}, {
|
|
7612
7637
|
optionId: string;
|
|
7638
|
+
text: string;
|
|
7613
7639
|
}>;
|
|
7614
7640
|
}, "strict", z.ZodTypeAny, {
|
|
7615
7641
|
payload: {
|
|
7616
7642
|
optionId: string;
|
|
7643
|
+
text: string;
|
|
7617
7644
|
};
|
|
7618
7645
|
}, {
|
|
7619
7646
|
payload: {
|
|
7620
7647
|
optionId: string;
|
|
7648
|
+
text: string;
|
|
7621
7649
|
};
|
|
7622
7650
|
}>;
|
|
7623
7651
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -7630,6 +7658,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7630
7658
|
selectSearchOption: {
|
|
7631
7659
|
payload: {
|
|
7632
7660
|
optionId: string;
|
|
7661
|
+
text: string;
|
|
7633
7662
|
};
|
|
7634
7663
|
};
|
|
7635
7664
|
}, {
|
|
@@ -7642,6 +7671,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7642
7671
|
selectSearchOption: {
|
|
7643
7672
|
payload: {
|
|
7644
7673
|
optionId: string;
|
|
7674
|
+
text: string;
|
|
7645
7675
|
};
|
|
7646
7676
|
};
|
|
7647
7677
|
}>>;
|
|
@@ -7731,18 +7761,23 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7731
7761
|
selectSearchOption: z.ZodObject<{
|
|
7732
7762
|
payload: z.ZodObject<{
|
|
7733
7763
|
optionId: z.ZodString;
|
|
7764
|
+
text: z.ZodString;
|
|
7734
7765
|
}, "strict", z.ZodTypeAny, {
|
|
7735
7766
|
optionId: string;
|
|
7767
|
+
text: string;
|
|
7736
7768
|
}, {
|
|
7737
7769
|
optionId: string;
|
|
7770
|
+
text: string;
|
|
7738
7771
|
}>;
|
|
7739
7772
|
}, "strict", z.ZodTypeAny, {
|
|
7740
7773
|
payload: {
|
|
7741
7774
|
optionId: string;
|
|
7775
|
+
text: string;
|
|
7742
7776
|
};
|
|
7743
7777
|
}, {
|
|
7744
7778
|
payload: {
|
|
7745
7779
|
optionId: string;
|
|
7780
|
+
text: string;
|
|
7746
7781
|
};
|
|
7747
7782
|
}>;
|
|
7748
7783
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -7755,6 +7790,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7755
7790
|
selectSearchOption: {
|
|
7756
7791
|
payload: {
|
|
7757
7792
|
optionId: string;
|
|
7793
|
+
text: string;
|
|
7758
7794
|
};
|
|
7759
7795
|
};
|
|
7760
7796
|
}, {
|
|
@@ -7767,6 +7803,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7767
7803
|
selectSearchOption: {
|
|
7768
7804
|
payload: {
|
|
7769
7805
|
optionId: string;
|
|
7806
|
+
text: string;
|
|
7770
7807
|
};
|
|
7771
7808
|
};
|
|
7772
7809
|
}>>;
|
|
@@ -7856,18 +7893,23 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7856
7893
|
selectSearchOption: z.ZodObject<{
|
|
7857
7894
|
payload: z.ZodObject<{
|
|
7858
7895
|
optionId: z.ZodString;
|
|
7896
|
+
text: z.ZodString;
|
|
7859
7897
|
}, "strict", z.ZodTypeAny, {
|
|
7860
7898
|
optionId: string;
|
|
7899
|
+
text: string;
|
|
7861
7900
|
}, {
|
|
7862
7901
|
optionId: string;
|
|
7902
|
+
text: string;
|
|
7863
7903
|
}>;
|
|
7864
7904
|
}, "strict", z.ZodTypeAny, {
|
|
7865
7905
|
payload: {
|
|
7866
7906
|
optionId: string;
|
|
7907
|
+
text: string;
|
|
7867
7908
|
};
|
|
7868
7909
|
}, {
|
|
7869
7910
|
payload: {
|
|
7870
7911
|
optionId: string;
|
|
7912
|
+
text: string;
|
|
7871
7913
|
};
|
|
7872
7914
|
}>;
|
|
7873
7915
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -7880,6 +7922,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7880
7922
|
selectSearchOption: {
|
|
7881
7923
|
payload: {
|
|
7882
7924
|
optionId: string;
|
|
7925
|
+
text: string;
|
|
7883
7926
|
};
|
|
7884
7927
|
};
|
|
7885
7928
|
}, {
|
|
@@ -7892,6 +7935,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
7892
7935
|
selectSearchOption: {
|
|
7893
7936
|
payload: {
|
|
7894
7937
|
optionId: string;
|
|
7938
|
+
text: string;
|
|
7895
7939
|
};
|
|
7896
7940
|
};
|
|
7897
7941
|
}>>;
|
|
@@ -13702,6 +13746,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13702
13746
|
endInclusive?: boolean | undefined;
|
|
13703
13747
|
start: number;
|
|
13704
13748
|
}>, "many">>;
|
|
13749
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13705
13750
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13706
13751
|
}, "strict", z.ZodTypeAny, {
|
|
13707
13752
|
facetId: string;
|
|
@@ -13710,6 +13755,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13710
13755
|
endInclusive?: boolean | undefined;
|
|
13711
13756
|
start: number;
|
|
13712
13757
|
}[] | undefined;
|
|
13758
|
+
path?: string[] | undefined;
|
|
13713
13759
|
values?: string[] | undefined;
|
|
13714
13760
|
}, {
|
|
13715
13761
|
facetId: string;
|
|
@@ -13718,6 +13764,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13718
13764
|
endInclusive?: boolean | undefined;
|
|
13719
13765
|
start: number;
|
|
13720
13766
|
}[] | undefined;
|
|
13767
|
+
path?: string[] | undefined;
|
|
13721
13768
|
values?: string[] | undefined;
|
|
13722
13769
|
}>, "many">>;
|
|
13723
13770
|
page: z.ZodNumber;
|
|
@@ -13733,6 +13780,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13733
13780
|
endInclusive?: boolean | undefined;
|
|
13734
13781
|
start: number;
|
|
13735
13782
|
}[] | undefined;
|
|
13783
|
+
path?: string[] | undefined;
|
|
13736
13784
|
values?: string[] | undefined;
|
|
13737
13785
|
}[] | undefined;
|
|
13738
13786
|
page: number;
|
|
@@ -13748,6 +13796,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13748
13796
|
endInclusive?: boolean | undefined;
|
|
13749
13797
|
start: number;
|
|
13750
13798
|
}[] | undefined;
|
|
13799
|
+
path?: string[] | undefined;
|
|
13751
13800
|
values?: string[] | undefined;
|
|
13752
13801
|
}[] | undefined;
|
|
13753
13802
|
page: number;
|
|
@@ -13765,6 +13814,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13765
13814
|
endInclusive?: boolean | undefined;
|
|
13766
13815
|
start: number;
|
|
13767
13816
|
}[] | undefined;
|
|
13817
|
+
path?: string[] | undefined;
|
|
13768
13818
|
values?: string[] | undefined;
|
|
13769
13819
|
}[] | undefined;
|
|
13770
13820
|
page: number;
|
|
@@ -13782,6 +13832,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
13782
13832
|
endInclusive?: boolean | undefined;
|
|
13783
13833
|
start: number;
|
|
13784
13834
|
}[] | undefined;
|
|
13835
|
+
path?: string[] | undefined;
|
|
13785
13836
|
values?: string[] | undefined;
|
|
13786
13837
|
}[] | undefined;
|
|
13787
13838
|
page: number;
|
|
@@ -14461,6 +14512,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14461
14512
|
endInclusive?: boolean | undefined;
|
|
14462
14513
|
start: number;
|
|
14463
14514
|
}>, "many">>;
|
|
14515
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14464
14516
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14465
14517
|
}, "strict", z.ZodTypeAny, {
|
|
14466
14518
|
facetId: string;
|
|
@@ -14469,6 +14521,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14469
14521
|
endInclusive?: boolean | undefined;
|
|
14470
14522
|
start: number;
|
|
14471
14523
|
}[] | undefined;
|
|
14524
|
+
path?: string[] | undefined;
|
|
14472
14525
|
values?: string[] | undefined;
|
|
14473
14526
|
}, {
|
|
14474
14527
|
facetId: string;
|
|
@@ -14477,6 +14530,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14477
14530
|
endInclusive?: boolean | undefined;
|
|
14478
14531
|
start: number;
|
|
14479
14532
|
}[] | undefined;
|
|
14533
|
+
path?: string[] | undefined;
|
|
14480
14534
|
values?: string[] | undefined;
|
|
14481
14535
|
}>, "many">>;
|
|
14482
14536
|
page: z.ZodNumber;
|
|
@@ -14492,6 +14546,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14492
14546
|
endInclusive?: boolean | undefined;
|
|
14493
14547
|
start: number;
|
|
14494
14548
|
}[] | undefined;
|
|
14549
|
+
path?: string[] | undefined;
|
|
14495
14550
|
values?: string[] | undefined;
|
|
14496
14551
|
}[] | undefined;
|
|
14497
14552
|
page: number;
|
|
@@ -14507,6 +14562,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14507
14562
|
endInclusive?: boolean | undefined;
|
|
14508
14563
|
start: number;
|
|
14509
14564
|
}[] | undefined;
|
|
14565
|
+
path?: string[] | undefined;
|
|
14510
14566
|
values?: string[] | undefined;
|
|
14511
14567
|
}[] | undefined;
|
|
14512
14568
|
page: number;
|
|
@@ -14524,6 +14580,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14524
14580
|
endInclusive?: boolean | undefined;
|
|
14525
14581
|
start: number;
|
|
14526
14582
|
}[] | undefined;
|
|
14583
|
+
path?: string[] | undefined;
|
|
14527
14584
|
values?: string[] | undefined;
|
|
14528
14585
|
}[] | undefined;
|
|
14529
14586
|
page: number;
|
|
@@ -14541,6 +14598,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14541
14598
|
endInclusive?: boolean | undefined;
|
|
14542
14599
|
start: number;
|
|
14543
14600
|
}[] | undefined;
|
|
14601
|
+
path?: string[] | undefined;
|
|
14544
14602
|
values?: string[] | undefined;
|
|
14545
14603
|
}[] | undefined;
|
|
14546
14604
|
page: number;
|
|
@@ -14582,6 +14640,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14582
14640
|
endInclusive?: boolean | undefined;
|
|
14583
14641
|
start: number;
|
|
14584
14642
|
}[] | undefined;
|
|
14643
|
+
path?: string[] | undefined;
|
|
14585
14644
|
values?: string[] | undefined;
|
|
14586
14645
|
}[] | undefined;
|
|
14587
14646
|
page: number;
|
|
@@ -14611,6 +14670,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
14611
14670
|
endInclusive?: boolean | undefined;
|
|
14612
14671
|
start: number;
|
|
14613
14672
|
}[] | undefined;
|
|
14673
|
+
path?: string[] | undefined;
|
|
14614
14674
|
values?: string[] | undefined;
|
|
14615
14675
|
}[] | undefined;
|
|
14616
14676
|
page: number;
|
|
@@ -14663,6 +14723,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14663
14723
|
endInclusive?: boolean | undefined;
|
|
14664
14724
|
start: number;
|
|
14665
14725
|
}>, "many">>;
|
|
14726
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14666
14727
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14667
14728
|
}, "strict", z.ZodTypeAny, {
|
|
14668
14729
|
facetId: string;
|
|
@@ -14671,6 +14732,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14671
14732
|
endInclusive?: boolean | undefined;
|
|
14672
14733
|
start: number;
|
|
14673
14734
|
}[] | undefined;
|
|
14735
|
+
path?: string[] | undefined;
|
|
14674
14736
|
values?: string[] | undefined;
|
|
14675
14737
|
}, {
|
|
14676
14738
|
facetId: string;
|
|
@@ -14679,6 +14741,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14679
14741
|
endInclusive?: boolean | undefined;
|
|
14680
14742
|
start: number;
|
|
14681
14743
|
}[] | undefined;
|
|
14744
|
+
path?: string[] | undefined;
|
|
14682
14745
|
values?: string[] | undefined;
|
|
14683
14746
|
}>, "many">>;
|
|
14684
14747
|
page: z.ZodNumber;
|
|
@@ -14694,6 +14757,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14694
14757
|
endInclusive?: boolean | undefined;
|
|
14695
14758
|
start: number;
|
|
14696
14759
|
}[] | undefined;
|
|
14760
|
+
path?: string[] | undefined;
|
|
14697
14761
|
values?: string[] | undefined;
|
|
14698
14762
|
}[] | undefined;
|
|
14699
14763
|
page: number;
|
|
@@ -14709,6 +14773,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14709
14773
|
endInclusive?: boolean | undefined;
|
|
14710
14774
|
start: number;
|
|
14711
14775
|
}[] | undefined;
|
|
14776
|
+
path?: string[] | undefined;
|
|
14712
14777
|
values?: string[] | undefined;
|
|
14713
14778
|
}[] | undefined;
|
|
14714
14779
|
page: number;
|
|
@@ -14726,6 +14791,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14726
14791
|
endInclusive?: boolean | undefined;
|
|
14727
14792
|
start: number;
|
|
14728
14793
|
}[] | undefined;
|
|
14794
|
+
path?: string[] | undefined;
|
|
14729
14795
|
values?: string[] | undefined;
|
|
14730
14796
|
}[] | undefined;
|
|
14731
14797
|
page: number;
|
|
@@ -14743,6 +14809,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14743
14809
|
endInclusive?: boolean | undefined;
|
|
14744
14810
|
start: number;
|
|
14745
14811
|
}[] | undefined;
|
|
14812
|
+
path?: string[] | undefined;
|
|
14746
14813
|
values?: string[] | undefined;
|
|
14747
14814
|
}[] | undefined;
|
|
14748
14815
|
page: number;
|
|
@@ -14784,6 +14851,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14784
14851
|
endInclusive?: boolean | undefined;
|
|
14785
14852
|
start: number;
|
|
14786
14853
|
}[] | undefined;
|
|
14854
|
+
path?: string[] | undefined;
|
|
14787
14855
|
values?: string[] | undefined;
|
|
14788
14856
|
}[] | undefined;
|
|
14789
14857
|
page: number;
|
|
@@ -14813,6 +14881,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14813
14881
|
endInclusive?: boolean | undefined;
|
|
14814
14882
|
start: number;
|
|
14815
14883
|
}[] | undefined;
|
|
14884
|
+
path?: string[] | undefined;
|
|
14816
14885
|
values?: string[] | undefined;
|
|
14817
14886
|
}[] | undefined;
|
|
14818
14887
|
page: number;
|
|
@@ -14867,6 +14936,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14867
14936
|
endInclusive?: boolean | undefined;
|
|
14868
14937
|
start: number;
|
|
14869
14938
|
}>, "many">>;
|
|
14939
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14870
14940
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14871
14941
|
}, "strict", z.ZodTypeAny, {
|
|
14872
14942
|
facetId: string;
|
|
@@ -14875,6 +14945,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14875
14945
|
endInclusive?: boolean | undefined;
|
|
14876
14946
|
start: number;
|
|
14877
14947
|
}[] | undefined;
|
|
14948
|
+
path?: string[] | undefined;
|
|
14878
14949
|
values?: string[] | undefined;
|
|
14879
14950
|
}, {
|
|
14880
14951
|
facetId: string;
|
|
@@ -14883,6 +14954,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14883
14954
|
endInclusive?: boolean | undefined;
|
|
14884
14955
|
start: number;
|
|
14885
14956
|
}[] | undefined;
|
|
14957
|
+
path?: string[] | undefined;
|
|
14886
14958
|
values?: string[] | undefined;
|
|
14887
14959
|
}>, "many">>;
|
|
14888
14960
|
page: z.ZodNumber;
|
|
@@ -14898,6 +14970,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14898
14970
|
endInclusive?: boolean | undefined;
|
|
14899
14971
|
start: number;
|
|
14900
14972
|
}[] | undefined;
|
|
14973
|
+
path?: string[] | undefined;
|
|
14901
14974
|
values?: string[] | undefined;
|
|
14902
14975
|
}[] | undefined;
|
|
14903
14976
|
page: number;
|
|
@@ -14913,6 +14986,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14913
14986
|
endInclusive?: boolean | undefined;
|
|
14914
14987
|
start: number;
|
|
14915
14988
|
}[] | undefined;
|
|
14989
|
+
path?: string[] | undefined;
|
|
14916
14990
|
values?: string[] | undefined;
|
|
14917
14991
|
}[] | undefined;
|
|
14918
14992
|
page: number;
|
|
@@ -14930,6 +15004,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14930
15004
|
endInclusive?: boolean | undefined;
|
|
14931
15005
|
start: number;
|
|
14932
15006
|
}[] | undefined;
|
|
15007
|
+
path?: string[] | undefined;
|
|
14933
15008
|
values?: string[] | undefined;
|
|
14934
15009
|
}[] | undefined;
|
|
14935
15010
|
page: number;
|
|
@@ -14947,6 +15022,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14947
15022
|
endInclusive?: boolean | undefined;
|
|
14948
15023
|
start: number;
|
|
14949
15024
|
}[] | undefined;
|
|
15025
|
+
path?: string[] | undefined;
|
|
14950
15026
|
values?: string[] | undefined;
|
|
14951
15027
|
}[] | undefined;
|
|
14952
15028
|
page: number;
|
|
@@ -14988,6 +15064,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
14988
15064
|
endInclusive?: boolean | undefined;
|
|
14989
15065
|
start: number;
|
|
14990
15066
|
}[] | undefined;
|
|
15067
|
+
path?: string[] | undefined;
|
|
14991
15068
|
values?: string[] | undefined;
|
|
14992
15069
|
}[] | undefined;
|
|
14993
15070
|
page: number;
|
|
@@ -15017,6 +15094,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15017
15094
|
endInclusive?: boolean | undefined;
|
|
15018
15095
|
start: number;
|
|
15019
15096
|
}[] | undefined;
|
|
15097
|
+
path?: string[] | undefined;
|
|
15020
15098
|
values?: string[] | undefined;
|
|
15021
15099
|
}[] | undefined;
|
|
15022
15100
|
page: number;
|
|
@@ -15071,6 +15149,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15071
15149
|
endInclusive?: boolean | undefined;
|
|
15072
15150
|
start: number;
|
|
15073
15151
|
}>, "many">>;
|
|
15152
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15074
15153
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15075
15154
|
}, "strict", z.ZodTypeAny, {
|
|
15076
15155
|
facetId: string;
|
|
@@ -15079,6 +15158,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15079
15158
|
endInclusive?: boolean | undefined;
|
|
15080
15159
|
start: number;
|
|
15081
15160
|
}[] | undefined;
|
|
15161
|
+
path?: string[] | undefined;
|
|
15082
15162
|
values?: string[] | undefined;
|
|
15083
15163
|
}, {
|
|
15084
15164
|
facetId: string;
|
|
@@ -15087,6 +15167,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15087
15167
|
endInclusive?: boolean | undefined;
|
|
15088
15168
|
start: number;
|
|
15089
15169
|
}[] | undefined;
|
|
15170
|
+
path?: string[] | undefined;
|
|
15090
15171
|
values?: string[] | undefined;
|
|
15091
15172
|
}>, "many">>;
|
|
15092
15173
|
page: z.ZodNumber;
|
|
@@ -15102,6 +15183,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15102
15183
|
endInclusive?: boolean | undefined;
|
|
15103
15184
|
start: number;
|
|
15104
15185
|
}[] | undefined;
|
|
15186
|
+
path?: string[] | undefined;
|
|
15105
15187
|
values?: string[] | undefined;
|
|
15106
15188
|
}[] | undefined;
|
|
15107
15189
|
page: number;
|
|
@@ -15117,6 +15199,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15117
15199
|
endInclusive?: boolean | undefined;
|
|
15118
15200
|
start: number;
|
|
15119
15201
|
}[] | undefined;
|
|
15202
|
+
path?: string[] | undefined;
|
|
15120
15203
|
values?: string[] | undefined;
|
|
15121
15204
|
}[] | undefined;
|
|
15122
15205
|
page: number;
|
|
@@ -15134,6 +15217,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15134
15217
|
endInclusive?: boolean | undefined;
|
|
15135
15218
|
start: number;
|
|
15136
15219
|
}[] | undefined;
|
|
15220
|
+
path?: string[] | undefined;
|
|
15137
15221
|
values?: string[] | undefined;
|
|
15138
15222
|
}[] | undefined;
|
|
15139
15223
|
page: number;
|
|
@@ -15151,6 +15235,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15151
15235
|
endInclusive?: boolean | undefined;
|
|
15152
15236
|
start: number;
|
|
15153
15237
|
}[] | undefined;
|
|
15238
|
+
path?: string[] | undefined;
|
|
15154
15239
|
values?: string[] | undefined;
|
|
15155
15240
|
}[] | undefined;
|
|
15156
15241
|
page: number;
|
|
@@ -15192,6 +15277,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15192
15277
|
endInclusive?: boolean | undefined;
|
|
15193
15278
|
start: number;
|
|
15194
15279
|
}[] | undefined;
|
|
15280
|
+
path?: string[] | undefined;
|
|
15195
15281
|
values?: string[] | undefined;
|
|
15196
15282
|
}[] | undefined;
|
|
15197
15283
|
page: number;
|
|
@@ -15221,6 +15307,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15221
15307
|
endInclusive?: boolean | undefined;
|
|
15222
15308
|
start: number;
|
|
15223
15309
|
}[] | undefined;
|
|
15310
|
+
path?: string[] | undefined;
|
|
15224
15311
|
values?: string[] | undefined;
|
|
15225
15312
|
}[] | undefined;
|
|
15226
15313
|
page: number;
|
|
@@ -16507,18 +16594,23 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16507
16594
|
selectSearchOption: z.ZodObject<{
|
|
16508
16595
|
payload: z.ZodObject<{
|
|
16509
16596
|
optionId: z.ZodString;
|
|
16597
|
+
text: z.ZodString;
|
|
16510
16598
|
}, "strict", z.ZodTypeAny, {
|
|
16511
16599
|
optionId: string;
|
|
16600
|
+
text: string;
|
|
16512
16601
|
}, {
|
|
16513
16602
|
optionId: string;
|
|
16603
|
+
text: string;
|
|
16514
16604
|
}>;
|
|
16515
16605
|
}, "strict", z.ZodTypeAny, {
|
|
16516
16606
|
payload: {
|
|
16517
16607
|
optionId: string;
|
|
16608
|
+
text: string;
|
|
16518
16609
|
};
|
|
16519
16610
|
}, {
|
|
16520
16611
|
payload: {
|
|
16521
16612
|
optionId: string;
|
|
16613
|
+
text: string;
|
|
16522
16614
|
};
|
|
16523
16615
|
}>;
|
|
16524
16616
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16531,6 +16623,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16531
16623
|
selectSearchOption: {
|
|
16532
16624
|
payload: {
|
|
16533
16625
|
optionId: string;
|
|
16626
|
+
text: string;
|
|
16534
16627
|
};
|
|
16535
16628
|
};
|
|
16536
16629
|
}, {
|
|
@@ -16543,6 +16636,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16543
16636
|
selectSearchOption: {
|
|
16544
16637
|
payload: {
|
|
16545
16638
|
optionId: string;
|
|
16639
|
+
text: string;
|
|
16546
16640
|
};
|
|
16547
16641
|
};
|
|
16548
16642
|
}>>;
|
|
@@ -16632,18 +16726,23 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16632
16726
|
selectSearchOption: z.ZodObject<{
|
|
16633
16727
|
payload: z.ZodObject<{
|
|
16634
16728
|
optionId: z.ZodString;
|
|
16729
|
+
text: z.ZodString;
|
|
16635
16730
|
}, "strict", z.ZodTypeAny, {
|
|
16636
16731
|
optionId: string;
|
|
16732
|
+
text: string;
|
|
16637
16733
|
}, {
|
|
16638
16734
|
optionId: string;
|
|
16735
|
+
text: string;
|
|
16639
16736
|
}>;
|
|
16640
16737
|
}, "strict", z.ZodTypeAny, {
|
|
16641
16738
|
payload: {
|
|
16642
16739
|
optionId: string;
|
|
16740
|
+
text: string;
|
|
16643
16741
|
};
|
|
16644
16742
|
}, {
|
|
16645
16743
|
payload: {
|
|
16646
16744
|
optionId: string;
|
|
16745
|
+
text: string;
|
|
16647
16746
|
};
|
|
16648
16747
|
}>;
|
|
16649
16748
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16656,6 +16755,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16656
16755
|
selectSearchOption: {
|
|
16657
16756
|
payload: {
|
|
16658
16757
|
optionId: string;
|
|
16758
|
+
text: string;
|
|
16659
16759
|
};
|
|
16660
16760
|
};
|
|
16661
16761
|
}, {
|
|
@@ -16668,6 +16768,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16668
16768
|
selectSearchOption: {
|
|
16669
16769
|
payload: {
|
|
16670
16770
|
optionId: string;
|
|
16771
|
+
text: string;
|
|
16671
16772
|
};
|
|
16672
16773
|
};
|
|
16673
16774
|
}>>;
|
|
@@ -16757,18 +16858,23 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16757
16858
|
selectSearchOption: z.ZodObject<{
|
|
16758
16859
|
payload: z.ZodObject<{
|
|
16759
16860
|
optionId: z.ZodString;
|
|
16861
|
+
text: z.ZodString;
|
|
16760
16862
|
}, "strict", z.ZodTypeAny, {
|
|
16761
16863
|
optionId: string;
|
|
16864
|
+
text: string;
|
|
16762
16865
|
}, {
|
|
16763
16866
|
optionId: string;
|
|
16867
|
+
text: string;
|
|
16764
16868
|
}>;
|
|
16765
16869
|
}, "strict", z.ZodTypeAny, {
|
|
16766
16870
|
payload: {
|
|
16767
16871
|
optionId: string;
|
|
16872
|
+
text: string;
|
|
16768
16873
|
};
|
|
16769
16874
|
}, {
|
|
16770
16875
|
payload: {
|
|
16771
16876
|
optionId: string;
|
|
16877
|
+
text: string;
|
|
16772
16878
|
};
|
|
16773
16879
|
}>;
|
|
16774
16880
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16781,6 +16887,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16781
16887
|
selectSearchOption: {
|
|
16782
16888
|
payload: {
|
|
16783
16889
|
optionId: string;
|
|
16890
|
+
text: string;
|
|
16784
16891
|
};
|
|
16785
16892
|
};
|
|
16786
16893
|
}, {
|
|
@@ -16793,6 +16900,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16793
16900
|
selectSearchOption: {
|
|
16794
16901
|
payload: {
|
|
16795
16902
|
optionId: string;
|
|
16903
|
+
text: string;
|
|
16796
16904
|
};
|
|
16797
16905
|
};
|
|
16798
16906
|
}>>;
|
|
@@ -24118,6 +24226,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24118
24226
|
endInclusive?: boolean | undefined;
|
|
24119
24227
|
start: number;
|
|
24120
24228
|
}>, "many">>;
|
|
24229
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24121
24230
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24122
24231
|
}, "strict", z.ZodTypeAny, {
|
|
24123
24232
|
facetId: string;
|
|
@@ -24126,6 +24235,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24126
24235
|
endInclusive?: boolean | undefined;
|
|
24127
24236
|
start: number;
|
|
24128
24237
|
}[] | undefined;
|
|
24238
|
+
path?: string[] | undefined;
|
|
24129
24239
|
values?: string[] | undefined;
|
|
24130
24240
|
}, {
|
|
24131
24241
|
facetId: string;
|
|
@@ -24134,6 +24244,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24134
24244
|
endInclusive?: boolean | undefined;
|
|
24135
24245
|
start: number;
|
|
24136
24246
|
}[] | undefined;
|
|
24247
|
+
path?: string[] | undefined;
|
|
24137
24248
|
values?: string[] | undefined;
|
|
24138
24249
|
}>, "many">>;
|
|
24139
24250
|
page: z.ZodNumber;
|
|
@@ -24149,6 +24260,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24149
24260
|
endInclusive?: boolean | undefined;
|
|
24150
24261
|
start: number;
|
|
24151
24262
|
}[] | undefined;
|
|
24263
|
+
path?: string[] | undefined;
|
|
24152
24264
|
values?: string[] | undefined;
|
|
24153
24265
|
}[] | undefined;
|
|
24154
24266
|
page: number;
|
|
@@ -24164,6 +24276,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24164
24276
|
endInclusive?: boolean | undefined;
|
|
24165
24277
|
start: number;
|
|
24166
24278
|
}[] | undefined;
|
|
24279
|
+
path?: string[] | undefined;
|
|
24167
24280
|
values?: string[] | undefined;
|
|
24168
24281
|
}[] | undefined;
|
|
24169
24282
|
page: number;
|
|
@@ -24181,6 +24294,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24181
24294
|
endInclusive?: boolean | undefined;
|
|
24182
24295
|
start: number;
|
|
24183
24296
|
}[] | undefined;
|
|
24297
|
+
path?: string[] | undefined;
|
|
24184
24298
|
values?: string[] | undefined;
|
|
24185
24299
|
}[] | undefined;
|
|
24186
24300
|
page: number;
|
|
@@ -24198,6 +24312,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24198
24312
|
endInclusive?: boolean | undefined;
|
|
24199
24313
|
start: number;
|
|
24200
24314
|
}[] | undefined;
|
|
24315
|
+
path?: string[] | undefined;
|
|
24201
24316
|
values?: string[] | undefined;
|
|
24202
24317
|
}[] | undefined;
|
|
24203
24318
|
page: number;
|
|
@@ -24239,6 +24354,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24239
24354
|
endInclusive?: boolean | undefined;
|
|
24240
24355
|
start: number;
|
|
24241
24356
|
}[] | undefined;
|
|
24357
|
+
path?: string[] | undefined;
|
|
24242
24358
|
values?: string[] | undefined;
|
|
24243
24359
|
}[] | undefined;
|
|
24244
24360
|
page: number;
|
|
@@ -24268,6 +24384,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24268
24384
|
endInclusive?: boolean | undefined;
|
|
24269
24385
|
start: number;
|
|
24270
24386
|
}[] | undefined;
|
|
24387
|
+
path?: string[] | undefined;
|
|
24271
24388
|
values?: string[] | undefined;
|
|
24272
24389
|
}[] | undefined;
|
|
24273
24390
|
page: number;
|
|
@@ -24322,6 +24439,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24322
24439
|
endInclusive?: boolean | undefined;
|
|
24323
24440
|
start: number;
|
|
24324
24441
|
}>, "many">>;
|
|
24442
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24325
24443
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24326
24444
|
}, "strict", z.ZodTypeAny, {
|
|
24327
24445
|
facetId: string;
|
|
@@ -24330,6 +24448,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24330
24448
|
endInclusive?: boolean | undefined;
|
|
24331
24449
|
start: number;
|
|
24332
24450
|
}[] | undefined;
|
|
24451
|
+
path?: string[] | undefined;
|
|
24333
24452
|
values?: string[] | undefined;
|
|
24334
24453
|
}, {
|
|
24335
24454
|
facetId: string;
|
|
@@ -24338,6 +24457,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24338
24457
|
endInclusive?: boolean | undefined;
|
|
24339
24458
|
start: number;
|
|
24340
24459
|
}[] | undefined;
|
|
24460
|
+
path?: string[] | undefined;
|
|
24341
24461
|
values?: string[] | undefined;
|
|
24342
24462
|
}>, "many">>;
|
|
24343
24463
|
page: z.ZodNumber;
|
|
@@ -24353,6 +24473,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24353
24473
|
endInclusive?: boolean | undefined;
|
|
24354
24474
|
start: number;
|
|
24355
24475
|
}[] | undefined;
|
|
24476
|
+
path?: string[] | undefined;
|
|
24356
24477
|
values?: string[] | undefined;
|
|
24357
24478
|
}[] | undefined;
|
|
24358
24479
|
page: number;
|
|
@@ -24368,6 +24489,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24368
24489
|
endInclusive?: boolean | undefined;
|
|
24369
24490
|
start: number;
|
|
24370
24491
|
}[] | undefined;
|
|
24492
|
+
path?: string[] | undefined;
|
|
24371
24493
|
values?: string[] | undefined;
|
|
24372
24494
|
}[] | undefined;
|
|
24373
24495
|
page: number;
|
|
@@ -24385,6 +24507,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24385
24507
|
endInclusive?: boolean | undefined;
|
|
24386
24508
|
start: number;
|
|
24387
24509
|
}[] | undefined;
|
|
24510
|
+
path?: string[] | undefined;
|
|
24388
24511
|
values?: string[] | undefined;
|
|
24389
24512
|
}[] | undefined;
|
|
24390
24513
|
page: number;
|
|
@@ -24402,6 +24525,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24402
24525
|
endInclusive?: boolean | undefined;
|
|
24403
24526
|
start: number;
|
|
24404
24527
|
}[] | undefined;
|
|
24528
|
+
path?: string[] | undefined;
|
|
24405
24529
|
values?: string[] | undefined;
|
|
24406
24530
|
}[] | undefined;
|
|
24407
24531
|
page: number;
|
|
@@ -24443,6 +24567,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24443
24567
|
endInclusive?: boolean | undefined;
|
|
24444
24568
|
start: number;
|
|
24445
24569
|
}[] | undefined;
|
|
24570
|
+
path?: string[] | undefined;
|
|
24446
24571
|
values?: string[] | undefined;
|
|
24447
24572
|
}[] | undefined;
|
|
24448
24573
|
page: number;
|
|
@@ -24472,6 +24597,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24472
24597
|
endInclusive?: boolean | undefined;
|
|
24473
24598
|
start: number;
|
|
24474
24599
|
}[] | undefined;
|
|
24600
|
+
path?: string[] | undefined;
|
|
24475
24601
|
values?: string[] | undefined;
|
|
24476
24602
|
}[] | undefined;
|
|
24477
24603
|
page: number;
|
|
@@ -24526,6 +24652,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24526
24652
|
endInclusive?: boolean | undefined;
|
|
24527
24653
|
start: number;
|
|
24528
24654
|
}>, "many">>;
|
|
24655
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24529
24656
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24530
24657
|
}, "strict", z.ZodTypeAny, {
|
|
24531
24658
|
facetId: string;
|
|
@@ -24534,6 +24661,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24534
24661
|
endInclusive?: boolean | undefined;
|
|
24535
24662
|
start: number;
|
|
24536
24663
|
}[] | undefined;
|
|
24664
|
+
path?: string[] | undefined;
|
|
24537
24665
|
values?: string[] | undefined;
|
|
24538
24666
|
}, {
|
|
24539
24667
|
facetId: string;
|
|
@@ -24542,6 +24670,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24542
24670
|
endInclusive?: boolean | undefined;
|
|
24543
24671
|
start: number;
|
|
24544
24672
|
}[] | undefined;
|
|
24673
|
+
path?: string[] | undefined;
|
|
24545
24674
|
values?: string[] | undefined;
|
|
24546
24675
|
}>, "many">>;
|
|
24547
24676
|
page: z.ZodNumber;
|
|
@@ -24557,6 +24686,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24557
24686
|
endInclusive?: boolean | undefined;
|
|
24558
24687
|
start: number;
|
|
24559
24688
|
}[] | undefined;
|
|
24689
|
+
path?: string[] | undefined;
|
|
24560
24690
|
values?: string[] | undefined;
|
|
24561
24691
|
}[] | undefined;
|
|
24562
24692
|
page: number;
|
|
@@ -24572,6 +24702,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24572
24702
|
endInclusive?: boolean | undefined;
|
|
24573
24703
|
start: number;
|
|
24574
24704
|
}[] | undefined;
|
|
24705
|
+
path?: string[] | undefined;
|
|
24575
24706
|
values?: string[] | undefined;
|
|
24576
24707
|
}[] | undefined;
|
|
24577
24708
|
page: number;
|
|
@@ -24589,6 +24720,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24589
24720
|
endInclusive?: boolean | undefined;
|
|
24590
24721
|
start: number;
|
|
24591
24722
|
}[] | undefined;
|
|
24723
|
+
path?: string[] | undefined;
|
|
24592
24724
|
values?: string[] | undefined;
|
|
24593
24725
|
}[] | undefined;
|
|
24594
24726
|
page: number;
|
|
@@ -24606,6 +24738,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24606
24738
|
endInclusive?: boolean | undefined;
|
|
24607
24739
|
start: number;
|
|
24608
24740
|
}[] | undefined;
|
|
24741
|
+
path?: string[] | undefined;
|
|
24609
24742
|
values?: string[] | undefined;
|
|
24610
24743
|
}[] | undefined;
|
|
24611
24744
|
page: number;
|
|
@@ -24647,6 +24780,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24647
24780
|
endInclusive?: boolean | undefined;
|
|
24648
24781
|
start: number;
|
|
24649
24782
|
}[] | undefined;
|
|
24783
|
+
path?: string[] | undefined;
|
|
24650
24784
|
values?: string[] | undefined;
|
|
24651
24785
|
}[] | undefined;
|
|
24652
24786
|
page: number;
|
|
@@ -24676,6 +24810,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
24676
24810
|
endInclusive?: boolean | undefined;
|
|
24677
24811
|
start: number;
|
|
24678
24812
|
}[] | undefined;
|
|
24813
|
+
path?: string[] | undefined;
|
|
24679
24814
|
values?: string[] | undefined;
|
|
24680
24815
|
}[] | undefined;
|
|
24681
24816
|
page: number;
|
|
@@ -29348,20 +29483,25 @@ export declare const NextActionsBarActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29348
29483
|
name: z.ZodLiteral<"selectSearchOption">;
|
|
29349
29484
|
context: z.ZodObject<{
|
|
29350
29485
|
optionId: z.ZodString;
|
|
29486
|
+
text: z.ZodString;
|
|
29351
29487
|
}, "strict", z.ZodTypeAny, {
|
|
29352
29488
|
optionId: string;
|
|
29489
|
+
text: string;
|
|
29353
29490
|
}, {
|
|
29354
29491
|
optionId: string;
|
|
29492
|
+
text: string;
|
|
29355
29493
|
}>;
|
|
29356
29494
|
}, "strip", z.ZodTypeAny, {
|
|
29357
29495
|
name: "selectSearchOption";
|
|
29358
29496
|
context: {
|
|
29359
29497
|
optionId: string;
|
|
29498
|
+
text: string;
|
|
29360
29499
|
};
|
|
29361
29500
|
}, {
|
|
29362
29501
|
name: "selectSearchOption";
|
|
29363
29502
|
context: {
|
|
29364
29503
|
optionId: string;
|
|
29504
|
+
text: string;
|
|
29365
29505
|
};
|
|
29366
29506
|
}>;
|
|
29367
29507
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29369,6 +29509,7 @@ export declare const NextActionsBarActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29369
29509
|
name: "selectSearchOption";
|
|
29370
29510
|
context: {
|
|
29371
29511
|
optionId: string;
|
|
29512
|
+
text: string;
|
|
29372
29513
|
};
|
|
29373
29514
|
};
|
|
29374
29515
|
}, {
|
|
@@ -29376,6 +29517,7 @@ export declare const NextActionsBarActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29376
29517
|
name: "selectSearchOption";
|
|
29377
29518
|
context: {
|
|
29378
29519
|
optionId: string;
|
|
29520
|
+
text: string;
|
|
29379
29521
|
};
|
|
29380
29522
|
};
|
|
29381
29523
|
}>]>;
|
|
@@ -154,6 +154,7 @@ export const SelectActionPayloadSchema = z.strictObject({
|
|
|
154
154
|
});
|
|
155
155
|
export const SelectSearchOptionPayloadSchema = z.strictObject({
|
|
156
156
|
optionId: z.string().min(1),
|
|
157
|
+
text: z.string(),
|
|
157
158
|
});
|
|
158
159
|
export const ActionItemSchema = z.discriminatedUnion('type', [
|
|
159
160
|
FollowupActionItemSchema,
|
|
@@ -558,6 +559,7 @@ export const OverrideCorrectionSchema = z.strictObject({
|
|
|
558
559
|
export const FacetRestoreSchema = z.strictObject({
|
|
559
560
|
facetId: z.string().min(1),
|
|
560
561
|
numericRanges: z.array(NumericRangeRestoreSchema).optional(),
|
|
562
|
+
path: z.array(z.string()).optional(),
|
|
561
563
|
values: z.array(z.string()).optional(),
|
|
562
564
|
});
|
|
563
565
|
export const SubmitQuerySchema = z.strictObject({
|
|
@@ -1151,7 +1153,7 @@ export const NextActionsBarActionSchema = z.union([
|
|
|
1151
1153
|
z.object({
|
|
1152
1154
|
event: z.object({
|
|
1153
1155
|
name: z.literal('selectSearchOption'),
|
|
1154
|
-
context: z.strictObject({ optionId: z.string() }),
|
|
1156
|
+
context: z.strictObject({ optionId: z.string(), text: z.string() }),
|
|
1155
1157
|
}),
|
|
1156
1158
|
}),
|
|
1157
1159
|
]);
|
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.34",
|
|
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": {
|
|
@@ -161,6 +161,13 @@
|
|
|
161
161
|
"items": {
|
|
162
162
|
"$ref": "#/$defs/NumericRangeRestore"
|
|
163
163
|
}
|
|
164
|
+
},
|
|
165
|
+
"path": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"description": "The selected path of a category facet, ordered from the root to the selected value.",
|
|
168
|
+
"items": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
}
|
|
164
171
|
}
|
|
165
172
|
},
|
|
166
173
|
"additionalProperties": false
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"SelectSearchOptionAction": {
|
|
88
88
|
"title": "selectSearchOption",
|
|
89
|
-
"description": "Signals that the user selected a \"searchOption\" action. The backend runs the search it saved under optionId.",
|
|
89
|
+
"description": "Signals that the user selected a \"searchOption\" action. The backend runs the search it saved under optionId; text is what the user selected, so a consumer can show it.",
|
|
90
90
|
"allOf": [
|
|
91
91
|
{
|
|
92
92
|
"$ref": "https://schema.thermidor.coveo.com/base/action.schema.json"
|
|
@@ -95,12 +95,16 @@
|
|
|
95
95
|
"properties": {
|
|
96
96
|
"payload": {
|
|
97
97
|
"type": "object",
|
|
98
|
-
"required": ["optionId"],
|
|
98
|
+
"required": ["optionId", "text"],
|
|
99
99
|
"properties": {
|
|
100
100
|
"optionId": {
|
|
101
101
|
"type": "string",
|
|
102
102
|
"minLength": 1,
|
|
103
103
|
"description": "The optionId of the selected action, echoed unchanged."
|
|
104
|
+
},
|
|
105
|
+
"text": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "The display text of the action the user selected."
|
|
104
108
|
}
|
|
105
109
|
},
|
|
106
110
|
"additionalProperties": false
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.thermidor.coveo.com/definitions/search-option-action-item.schema.json",
|
|
4
4
|
"title": "SearchOptionActionItem",
|
|
5
|
-
"description": "An ActionItem that opens a search the backend saved behind it. Selecting it dispatches selectSearchOption with its optionId.",
|
|
5
|
+
"description": "An ActionItem that opens a search the backend saved behind it. Selecting it dispatches selectSearchOption with its optionId and text.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["text", "type", "optionId"],
|
|
8
8
|
"properties": {
|