@coveo/thermidor-schema 1.0.0-beta.39 → 1.0.0-beta.40
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 +98 -53
- package/dist/generated/schemas.js +27 -25
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +449 -336
- package/dist/generated/zod3/schemas.js +27 -25
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/components/commerce-search.schema.json +2 -27
- package/schema/components/query-summary.schema.json +48 -3
|
@@ -9,6 +9,8 @@ export declare const FacetValueStateSchema: z.ZodEnum<["idle", "selected"]>;
|
|
|
9
9
|
export type FacetValueState = z.infer<typeof FacetValueStateSchema>;
|
|
10
10
|
export declare const BreadboxFacetTypeSchema: z.ZodEnum<["dateRange", "hierarchical", "numericalRange", "regular"]>;
|
|
11
11
|
export type BreadboxFacetType = z.infer<typeof BreadboxFacetTypeSchema>;
|
|
12
|
+
export declare const QueryCorrectionCauseSchema: z.ZodEnum<["correction", "trigger"]>;
|
|
13
|
+
export type QueryCorrectionCause = z.infer<typeof QueryCorrectionCauseSchema>;
|
|
12
14
|
export declare const ProductSchema: z.ZodObject<{
|
|
13
15
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
16
|
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1703,14 +1705,6 @@ export declare const InitializePayloadSchema: z.ZodObject<{}, "strict", z.ZodTyp
|
|
|
1703
1705
|
export type InitializePayload = z.infer<typeof InitializePayloadSchema>;
|
|
1704
1706
|
export declare const SessionShellStateSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1705
1707
|
export type SessionShellState = z.infer<typeof SessionShellStateSchema>;
|
|
1706
|
-
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
1707
|
-
originalQuery: z.ZodString;
|
|
1708
|
-
}, "strict", z.ZodTypeAny, {
|
|
1709
|
-
originalQuery: string;
|
|
1710
|
-
}, {
|
|
1711
|
-
originalQuery: string;
|
|
1712
|
-
}>;
|
|
1713
|
-
export type OverrideCorrectionPayload = z.infer<typeof OverrideCorrectionPayloadSchema>;
|
|
1714
1708
|
export declare const NumericRangeRestoreSchema: z.ZodObject<{
|
|
1715
1709
|
end: z.ZodNumber;
|
|
1716
1710
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1739,25 +1733,38 @@ export declare const LayoutStackActionsSchema: z.ZodObject<{}, "strict", z.ZodTy
|
|
|
1739
1733
|
export type LayoutStackActions = z.infer<typeof LayoutStackActionsSchema>;
|
|
1740
1734
|
export declare const LayoutStackStateSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1741
1735
|
export type LayoutStackState = z.infer<typeof LayoutStackStateSchema>;
|
|
1742
|
-
export declare const QuerySummaryActionsSchema: z.ZodObject<{
|
|
1736
|
+
export declare const QuerySummaryActionsSchema: z.ZodObject<{
|
|
1737
|
+
overrideCorrection: z.ZodObject<{
|
|
1738
|
+
payload: z.ZodUnknown;
|
|
1739
|
+
}, "strict", z.ZodTypeAny, {
|
|
1740
|
+
payload?: unknown;
|
|
1741
|
+
}, {
|
|
1742
|
+
payload?: unknown;
|
|
1743
|
+
}>;
|
|
1744
|
+
}, "strict", z.ZodTypeAny, {
|
|
1745
|
+
overrideCorrection: {
|
|
1746
|
+
payload?: unknown;
|
|
1747
|
+
};
|
|
1748
|
+
}, {
|
|
1749
|
+
overrideCorrection: {
|
|
1750
|
+
payload?: unknown;
|
|
1751
|
+
};
|
|
1752
|
+
}>;
|
|
1743
1753
|
export type QuerySummaryActions = z.infer<typeof QuerySummaryActionsSchema>;
|
|
1744
|
-
export declare const
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
totalEntries: z.ZodNumber;
|
|
1754
|
+
export declare const QueryCorrectionSchema: z.ZodObject<{
|
|
1755
|
+
canOverride: z.ZodBoolean;
|
|
1756
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
1757
|
+
originalQuery: z.ZodString;
|
|
1749
1758
|
}, "strict", z.ZodTypeAny, {
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
totalEntries: number;
|
|
1759
|
+
canOverride: boolean;
|
|
1760
|
+
cause: "correction" | "trigger";
|
|
1761
|
+
originalQuery: string;
|
|
1754
1762
|
}, {
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
totalEntries: number;
|
|
1763
|
+
canOverride: boolean;
|
|
1764
|
+
cause: "correction" | "trigger";
|
|
1765
|
+
originalQuery: string;
|
|
1759
1766
|
}>;
|
|
1760
|
-
export type
|
|
1767
|
+
export type QueryCorrection = z.infer<typeof QueryCorrectionSchema>;
|
|
1761
1768
|
export declare const SetPageSizePayloadSchema: z.ZodObject<{
|
|
1762
1769
|
pageSize: z.ZodNumber;
|
|
1763
1770
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4452,24 +4459,6 @@ export declare const InitializeSchema: z.ZodObject<{
|
|
|
4452
4459
|
payload: {};
|
|
4453
4460
|
}>;
|
|
4454
4461
|
export type Initialize = z.infer<typeof InitializeSchema>;
|
|
4455
|
-
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
4456
|
-
payload: z.ZodObject<{
|
|
4457
|
-
originalQuery: z.ZodString;
|
|
4458
|
-
}, "strict", z.ZodTypeAny, {
|
|
4459
|
-
originalQuery: string;
|
|
4460
|
-
}, {
|
|
4461
|
-
originalQuery: string;
|
|
4462
|
-
}>;
|
|
4463
|
-
}, "strict", z.ZodTypeAny, {
|
|
4464
|
-
payload: {
|
|
4465
|
-
originalQuery: string;
|
|
4466
|
-
};
|
|
4467
|
-
}, {
|
|
4468
|
-
payload: {
|
|
4469
|
-
originalQuery: string;
|
|
4470
|
-
};
|
|
4471
|
-
}>;
|
|
4472
|
-
export type OverrideCorrection = z.infer<typeof OverrideCorrectionSchema>;
|
|
4473
4462
|
export declare const FacetRestoreSchema: z.ZodObject<{
|
|
4474
4463
|
facetId: z.ZodString;
|
|
4475
4464
|
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4542,68 +4531,46 @@ export declare const LayoutStackSchema: z.ZodObject<{
|
|
|
4542
4531
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
4543
4532
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4544
4533
|
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
4545
|
-
export declare const
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
firstIndex: z.ZodNumber;
|
|
4551
|
-
lastIndex: z.ZodNumber;
|
|
4552
|
-
query: z.ZodString;
|
|
4553
|
-
totalEntries: z.ZodNumber;
|
|
4554
|
-
}, "strict", z.ZodTypeAny, {
|
|
4555
|
-
firstIndex: number;
|
|
4556
|
-
lastIndex: number;
|
|
4557
|
-
query: string;
|
|
4558
|
-
totalEntries: number;
|
|
4559
|
-
}, {
|
|
4560
|
-
firstIndex: number;
|
|
4561
|
-
lastIndex: number;
|
|
4562
|
-
query: string;
|
|
4563
|
-
totalEntries: number;
|
|
4564
|
-
}>>;
|
|
4565
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4566
|
-
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
4567
|
-
component: z.ZodLiteral<"QuerySummary">;
|
|
4568
|
-
id: z.ZodString;
|
|
4569
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
4570
|
-
firstIndex: z.ZodNumber;
|
|
4571
|
-
lastIndex: z.ZodNumber;
|
|
4572
|
-
query: z.ZodString;
|
|
4573
|
-
totalEntries: z.ZodNumber;
|
|
4574
|
-
}, "strict", z.ZodTypeAny, {
|
|
4575
|
-
firstIndex: number;
|
|
4576
|
-
lastIndex: number;
|
|
4577
|
-
query: string;
|
|
4578
|
-
totalEntries: number;
|
|
4579
|
-
}, {
|
|
4580
|
-
firstIndex: number;
|
|
4581
|
-
lastIndex: number;
|
|
4582
|
-
query: string;
|
|
4583
|
-
totalEntries: number;
|
|
4584
|
-
}>>;
|
|
4585
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4586
|
-
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
4587
|
-
component: z.ZodLiteral<"QuerySummary">;
|
|
4588
|
-
id: z.ZodString;
|
|
4589
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
4590
|
-
firstIndex: z.ZodNumber;
|
|
4591
|
-
lastIndex: z.ZodNumber;
|
|
4592
|
-
query: z.ZodString;
|
|
4593
|
-
totalEntries: z.ZodNumber;
|
|
4534
|
+
export declare const QuerySummaryStateSchema: z.ZodObject<{
|
|
4535
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
4536
|
+
canOverride: z.ZodBoolean;
|
|
4537
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
4538
|
+
originalQuery: z.ZodString;
|
|
4594
4539
|
}, "strict", z.ZodTypeAny, {
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
totalEntries: number;
|
|
4540
|
+
canOverride: boolean;
|
|
4541
|
+
cause: "correction" | "trigger";
|
|
4542
|
+
originalQuery: string;
|
|
4599
4543
|
}, {
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
totalEntries: number;
|
|
4544
|
+
canOverride: boolean;
|
|
4545
|
+
cause: "correction" | "trigger";
|
|
4546
|
+
originalQuery: string;
|
|
4604
4547
|
}>>;
|
|
4605
|
-
|
|
4606
|
-
|
|
4548
|
+
firstIndex: z.ZodNumber;
|
|
4549
|
+
lastIndex: z.ZodNumber;
|
|
4550
|
+
query: z.ZodString;
|
|
4551
|
+
totalEntries: z.ZodNumber;
|
|
4552
|
+
}, "strict", z.ZodTypeAny, {
|
|
4553
|
+
correction?: {
|
|
4554
|
+
canOverride: boolean;
|
|
4555
|
+
cause: "correction" | "trigger";
|
|
4556
|
+
originalQuery: string;
|
|
4557
|
+
} | undefined;
|
|
4558
|
+
firstIndex: number;
|
|
4559
|
+
lastIndex: number;
|
|
4560
|
+
query: string;
|
|
4561
|
+
totalEntries: number;
|
|
4562
|
+
}, {
|
|
4563
|
+
correction?: {
|
|
4564
|
+
canOverride: boolean;
|
|
4565
|
+
cause: "correction" | "trigger";
|
|
4566
|
+
originalQuery: string;
|
|
4567
|
+
} | undefined;
|
|
4568
|
+
firstIndex: number;
|
|
4569
|
+
lastIndex: number;
|
|
4570
|
+
query: string;
|
|
4571
|
+
totalEntries: number;
|
|
4572
|
+
}>;
|
|
4573
|
+
export type QuerySummaryState = z.infer<typeof QuerySummaryStateSchema>;
|
|
4607
4574
|
export declare const SetPageSizeSchema: z.ZodObject<{
|
|
4608
4575
|
payload: z.ZodObject<{
|
|
4609
4576
|
pageSize: z.ZodNumber;
|
|
@@ -7297,6 +7264,185 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
7297
7264
|
sortCriteria?: string | undefined;
|
|
7298
7265
|
}>;
|
|
7299
7266
|
export type RestoreStatePayload = z.infer<typeof RestoreStatePayloadSchema>;
|
|
7267
|
+
export declare const QuerySummarySchema: z.ZodObject<{
|
|
7268
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
7269
|
+
overrideCorrection: z.ZodObject<{
|
|
7270
|
+
payload: z.ZodUnknown;
|
|
7271
|
+
}, "strict", z.ZodTypeAny, {
|
|
7272
|
+
payload?: unknown;
|
|
7273
|
+
}, {
|
|
7274
|
+
payload?: unknown;
|
|
7275
|
+
}>;
|
|
7276
|
+
}, "strict", z.ZodTypeAny, {
|
|
7277
|
+
overrideCorrection: {
|
|
7278
|
+
payload?: unknown;
|
|
7279
|
+
};
|
|
7280
|
+
}, {
|
|
7281
|
+
overrideCorrection: {
|
|
7282
|
+
payload?: unknown;
|
|
7283
|
+
};
|
|
7284
|
+
}>>;
|
|
7285
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
7286
|
+
id: z.ZodString;
|
|
7287
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
7288
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
7289
|
+
canOverride: z.ZodBoolean;
|
|
7290
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
7291
|
+
originalQuery: z.ZodString;
|
|
7292
|
+
}, "strict", z.ZodTypeAny, {
|
|
7293
|
+
canOverride: boolean;
|
|
7294
|
+
cause: "correction" | "trigger";
|
|
7295
|
+
originalQuery: string;
|
|
7296
|
+
}, {
|
|
7297
|
+
canOverride: boolean;
|
|
7298
|
+
cause: "correction" | "trigger";
|
|
7299
|
+
originalQuery: string;
|
|
7300
|
+
}>>;
|
|
7301
|
+
firstIndex: z.ZodNumber;
|
|
7302
|
+
lastIndex: z.ZodNumber;
|
|
7303
|
+
query: z.ZodString;
|
|
7304
|
+
totalEntries: z.ZodNumber;
|
|
7305
|
+
}, "strict", z.ZodTypeAny, {
|
|
7306
|
+
correction?: {
|
|
7307
|
+
canOverride: boolean;
|
|
7308
|
+
cause: "correction" | "trigger";
|
|
7309
|
+
originalQuery: string;
|
|
7310
|
+
} | undefined;
|
|
7311
|
+
firstIndex: number;
|
|
7312
|
+
lastIndex: number;
|
|
7313
|
+
query: string;
|
|
7314
|
+
totalEntries: number;
|
|
7315
|
+
}, {
|
|
7316
|
+
correction?: {
|
|
7317
|
+
canOverride: boolean;
|
|
7318
|
+
cause: "correction" | "trigger";
|
|
7319
|
+
originalQuery: string;
|
|
7320
|
+
} | undefined;
|
|
7321
|
+
firstIndex: number;
|
|
7322
|
+
lastIndex: number;
|
|
7323
|
+
query: string;
|
|
7324
|
+
totalEntries: number;
|
|
7325
|
+
}>>;
|
|
7326
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7327
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
7328
|
+
overrideCorrection: z.ZodObject<{
|
|
7329
|
+
payload: z.ZodUnknown;
|
|
7330
|
+
}, "strict", z.ZodTypeAny, {
|
|
7331
|
+
payload?: unknown;
|
|
7332
|
+
}, {
|
|
7333
|
+
payload?: unknown;
|
|
7334
|
+
}>;
|
|
7335
|
+
}, "strict", z.ZodTypeAny, {
|
|
7336
|
+
overrideCorrection: {
|
|
7337
|
+
payload?: unknown;
|
|
7338
|
+
};
|
|
7339
|
+
}, {
|
|
7340
|
+
overrideCorrection: {
|
|
7341
|
+
payload?: unknown;
|
|
7342
|
+
};
|
|
7343
|
+
}>>;
|
|
7344
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
7345
|
+
id: z.ZodString;
|
|
7346
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
7347
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
7348
|
+
canOverride: z.ZodBoolean;
|
|
7349
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
7350
|
+
originalQuery: z.ZodString;
|
|
7351
|
+
}, "strict", z.ZodTypeAny, {
|
|
7352
|
+
canOverride: boolean;
|
|
7353
|
+
cause: "correction" | "trigger";
|
|
7354
|
+
originalQuery: string;
|
|
7355
|
+
}, {
|
|
7356
|
+
canOverride: boolean;
|
|
7357
|
+
cause: "correction" | "trigger";
|
|
7358
|
+
originalQuery: string;
|
|
7359
|
+
}>>;
|
|
7360
|
+
firstIndex: z.ZodNumber;
|
|
7361
|
+
lastIndex: z.ZodNumber;
|
|
7362
|
+
query: z.ZodString;
|
|
7363
|
+
totalEntries: z.ZodNumber;
|
|
7364
|
+
}, "strict", z.ZodTypeAny, {
|
|
7365
|
+
correction?: {
|
|
7366
|
+
canOverride: boolean;
|
|
7367
|
+
cause: "correction" | "trigger";
|
|
7368
|
+
originalQuery: string;
|
|
7369
|
+
} | undefined;
|
|
7370
|
+
firstIndex: number;
|
|
7371
|
+
lastIndex: number;
|
|
7372
|
+
query: string;
|
|
7373
|
+
totalEntries: number;
|
|
7374
|
+
}, {
|
|
7375
|
+
correction?: {
|
|
7376
|
+
canOverride: boolean;
|
|
7377
|
+
cause: "correction" | "trigger";
|
|
7378
|
+
originalQuery: string;
|
|
7379
|
+
} | undefined;
|
|
7380
|
+
firstIndex: number;
|
|
7381
|
+
lastIndex: number;
|
|
7382
|
+
query: string;
|
|
7383
|
+
totalEntries: number;
|
|
7384
|
+
}>>;
|
|
7385
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7386
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
7387
|
+
overrideCorrection: z.ZodObject<{
|
|
7388
|
+
payload: z.ZodUnknown;
|
|
7389
|
+
}, "strict", z.ZodTypeAny, {
|
|
7390
|
+
payload?: unknown;
|
|
7391
|
+
}, {
|
|
7392
|
+
payload?: unknown;
|
|
7393
|
+
}>;
|
|
7394
|
+
}, "strict", z.ZodTypeAny, {
|
|
7395
|
+
overrideCorrection: {
|
|
7396
|
+
payload?: unknown;
|
|
7397
|
+
};
|
|
7398
|
+
}, {
|
|
7399
|
+
overrideCorrection: {
|
|
7400
|
+
payload?: unknown;
|
|
7401
|
+
};
|
|
7402
|
+
}>>;
|
|
7403
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
7404
|
+
id: z.ZodString;
|
|
7405
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
7406
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
7407
|
+
canOverride: z.ZodBoolean;
|
|
7408
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
7409
|
+
originalQuery: z.ZodString;
|
|
7410
|
+
}, "strict", z.ZodTypeAny, {
|
|
7411
|
+
canOverride: boolean;
|
|
7412
|
+
cause: "correction" | "trigger";
|
|
7413
|
+
originalQuery: string;
|
|
7414
|
+
}, {
|
|
7415
|
+
canOverride: boolean;
|
|
7416
|
+
cause: "correction" | "trigger";
|
|
7417
|
+
originalQuery: string;
|
|
7418
|
+
}>>;
|
|
7419
|
+
firstIndex: z.ZodNumber;
|
|
7420
|
+
lastIndex: z.ZodNumber;
|
|
7421
|
+
query: z.ZodString;
|
|
7422
|
+
totalEntries: z.ZodNumber;
|
|
7423
|
+
}, "strict", z.ZodTypeAny, {
|
|
7424
|
+
correction?: {
|
|
7425
|
+
canOverride: boolean;
|
|
7426
|
+
cause: "correction" | "trigger";
|
|
7427
|
+
originalQuery: string;
|
|
7428
|
+
} | undefined;
|
|
7429
|
+
firstIndex: number;
|
|
7430
|
+
lastIndex: number;
|
|
7431
|
+
query: string;
|
|
7432
|
+
totalEntries: number;
|
|
7433
|
+
}, {
|
|
7434
|
+
correction?: {
|
|
7435
|
+
canOverride: boolean;
|
|
7436
|
+
cause: "correction" | "trigger";
|
|
7437
|
+
originalQuery: string;
|
|
7438
|
+
} | undefined;
|
|
7439
|
+
firstIndex: number;
|
|
7440
|
+
lastIndex: number;
|
|
7441
|
+
query: string;
|
|
7442
|
+
totalEntries: number;
|
|
7443
|
+
}>>;
|
|
7444
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7445
|
+
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
7300
7446
|
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
7301
7447
|
setPageSize: z.ZodObject<{
|
|
7302
7448
|
payload: z.ZodObject<{
|
|
@@ -14939,23 +15085,6 @@ export declare const CartSchema: z.ZodObject<{
|
|
|
14939
15085
|
}, z.ZodTypeAny, "passthrough">>;
|
|
14940
15086
|
export type Cart = z.infer<typeof CartSchema>;
|
|
14941
15087
|
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
14942
|
-
overrideCorrection: z.ZodObject<{
|
|
14943
|
-
payload: z.ZodObject<{
|
|
14944
|
-
originalQuery: z.ZodString;
|
|
14945
|
-
}, "strict", z.ZodTypeAny, {
|
|
14946
|
-
originalQuery: string;
|
|
14947
|
-
}, {
|
|
14948
|
-
originalQuery: string;
|
|
14949
|
-
}>;
|
|
14950
|
-
}, "strict", z.ZodTypeAny, {
|
|
14951
|
-
payload: {
|
|
14952
|
-
originalQuery: string;
|
|
14953
|
-
};
|
|
14954
|
-
}, {
|
|
14955
|
-
payload: {
|
|
14956
|
-
originalQuery: string;
|
|
14957
|
-
};
|
|
14958
|
-
}>;
|
|
14959
15088
|
restoreState: z.ZodObject<{
|
|
14960
15089
|
payload: z.ZodObject<{
|
|
14961
15090
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -15087,11 +15216,6 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
15087
15216
|
};
|
|
15088
15217
|
}>;
|
|
15089
15218
|
}, "strict", z.ZodTypeAny, {
|
|
15090
|
-
overrideCorrection: {
|
|
15091
|
-
payload: {
|
|
15092
|
-
originalQuery: string;
|
|
15093
|
-
};
|
|
15094
|
-
};
|
|
15095
15219
|
restoreState: {
|
|
15096
15220
|
payload: {
|
|
15097
15221
|
facets?: {
|
|
@@ -15117,11 +15241,6 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
15117
15241
|
};
|
|
15118
15242
|
};
|
|
15119
15243
|
}, {
|
|
15120
|
-
overrideCorrection: {
|
|
15121
|
-
payload: {
|
|
15122
|
-
originalQuery: string;
|
|
15123
|
-
};
|
|
15124
|
-
};
|
|
15125
15244
|
restoreState: {
|
|
15126
15245
|
payload: {
|
|
15127
15246
|
facets?: {
|
|
@@ -15150,23 +15269,6 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
15150
15269
|
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
15151
15270
|
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
15152
15271
|
actions: z.ZodOptional<z.ZodObject<{
|
|
15153
|
-
overrideCorrection: z.ZodObject<{
|
|
15154
|
-
payload: z.ZodObject<{
|
|
15155
|
-
originalQuery: z.ZodString;
|
|
15156
|
-
}, "strict", z.ZodTypeAny, {
|
|
15157
|
-
originalQuery: string;
|
|
15158
|
-
}, {
|
|
15159
|
-
originalQuery: string;
|
|
15160
|
-
}>;
|
|
15161
|
-
}, "strict", z.ZodTypeAny, {
|
|
15162
|
-
payload: {
|
|
15163
|
-
originalQuery: string;
|
|
15164
|
-
};
|
|
15165
|
-
}, {
|
|
15166
|
-
payload: {
|
|
15167
|
-
originalQuery: string;
|
|
15168
|
-
};
|
|
15169
|
-
}>;
|
|
15170
15272
|
restoreState: z.ZodObject<{
|
|
15171
15273
|
payload: z.ZodObject<{
|
|
15172
15274
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -15298,11 +15400,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15298
15400
|
};
|
|
15299
15401
|
}>;
|
|
15300
15402
|
}, "strict", z.ZodTypeAny, {
|
|
15301
|
-
overrideCorrection: {
|
|
15302
|
-
payload: {
|
|
15303
|
-
originalQuery: string;
|
|
15304
|
-
};
|
|
15305
|
-
};
|
|
15306
15403
|
restoreState: {
|
|
15307
15404
|
payload: {
|
|
15308
15405
|
facets?: {
|
|
@@ -15328,11 +15425,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15328
15425
|
};
|
|
15329
15426
|
};
|
|
15330
15427
|
}, {
|
|
15331
|
-
overrideCorrection: {
|
|
15332
|
-
payload: {
|
|
15333
|
-
originalQuery: string;
|
|
15334
|
-
};
|
|
15335
|
-
};
|
|
15336
15428
|
restoreState: {
|
|
15337
15429
|
payload: {
|
|
15338
15430
|
facets?: {
|
|
@@ -15363,23 +15455,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15363
15455
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
15364
15456
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15365
15457
|
actions: z.ZodOptional<z.ZodObject<{
|
|
15366
|
-
overrideCorrection: z.ZodObject<{
|
|
15367
|
-
payload: z.ZodObject<{
|
|
15368
|
-
originalQuery: z.ZodString;
|
|
15369
|
-
}, "strict", z.ZodTypeAny, {
|
|
15370
|
-
originalQuery: string;
|
|
15371
|
-
}, {
|
|
15372
|
-
originalQuery: string;
|
|
15373
|
-
}>;
|
|
15374
|
-
}, "strict", z.ZodTypeAny, {
|
|
15375
|
-
payload: {
|
|
15376
|
-
originalQuery: string;
|
|
15377
|
-
};
|
|
15378
|
-
}, {
|
|
15379
|
-
payload: {
|
|
15380
|
-
originalQuery: string;
|
|
15381
|
-
};
|
|
15382
|
-
}>;
|
|
15383
15458
|
restoreState: z.ZodObject<{
|
|
15384
15459
|
payload: z.ZodObject<{
|
|
15385
15460
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -15511,11 +15586,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15511
15586
|
};
|
|
15512
15587
|
}>;
|
|
15513
15588
|
}, "strict", z.ZodTypeAny, {
|
|
15514
|
-
overrideCorrection: {
|
|
15515
|
-
payload: {
|
|
15516
|
-
originalQuery: string;
|
|
15517
|
-
};
|
|
15518
|
-
};
|
|
15519
15589
|
restoreState: {
|
|
15520
15590
|
payload: {
|
|
15521
15591
|
facets?: {
|
|
@@ -15541,11 +15611,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15541
15611
|
};
|
|
15542
15612
|
};
|
|
15543
15613
|
}, {
|
|
15544
|
-
overrideCorrection: {
|
|
15545
|
-
payload: {
|
|
15546
|
-
originalQuery: string;
|
|
15547
|
-
};
|
|
15548
|
-
};
|
|
15549
15614
|
restoreState: {
|
|
15550
15615
|
payload: {
|
|
15551
15616
|
facets?: {
|
|
@@ -15569,30 +15634,13 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15569
15634
|
payload: {
|
|
15570
15635
|
query: string;
|
|
15571
15636
|
};
|
|
15572
|
-
};
|
|
15573
|
-
}>>;
|
|
15574
|
-
component: z.ZodLiteral<"CommerceSearch">;
|
|
15575
|
-
id: z.ZodString;
|
|
15576
|
-
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
15577
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15578
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
15579
|
-
overrideCorrection: z.ZodObject<{
|
|
15580
|
-
payload: z.ZodObject<{
|
|
15581
|
-
originalQuery: z.ZodString;
|
|
15582
|
-
}, "strict", z.ZodTypeAny, {
|
|
15583
|
-
originalQuery: string;
|
|
15584
|
-
}, {
|
|
15585
|
-
originalQuery: string;
|
|
15586
|
-
}>;
|
|
15587
|
-
}, "strict", z.ZodTypeAny, {
|
|
15588
|
-
payload: {
|
|
15589
|
-
originalQuery: string;
|
|
15590
|
-
};
|
|
15591
|
-
}, {
|
|
15592
|
-
payload: {
|
|
15593
|
-
originalQuery: string;
|
|
15594
|
-
};
|
|
15595
|
-
}>;
|
|
15637
|
+
};
|
|
15638
|
+
}>>;
|
|
15639
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
15640
|
+
id: z.ZodString;
|
|
15641
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
15642
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15643
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
15596
15644
|
restoreState: z.ZodObject<{
|
|
15597
15645
|
payload: z.ZodObject<{
|
|
15598
15646
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -15724,11 +15772,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15724
15772
|
};
|
|
15725
15773
|
}>;
|
|
15726
15774
|
}, "strict", z.ZodTypeAny, {
|
|
15727
|
-
overrideCorrection: {
|
|
15728
|
-
payload: {
|
|
15729
|
-
originalQuery: string;
|
|
15730
|
-
};
|
|
15731
|
-
};
|
|
15732
15775
|
restoreState: {
|
|
15733
15776
|
payload: {
|
|
15734
15777
|
facets?: {
|
|
@@ -15754,11 +15797,6 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
15754
15797
|
};
|
|
15755
15798
|
};
|
|
15756
15799
|
}, {
|
|
15757
|
-
overrideCorrection: {
|
|
15758
|
-
payload: {
|
|
15759
|
-
originalQuery: string;
|
|
15760
|
-
};
|
|
15761
|
-
};
|
|
15762
15800
|
restoreState: {
|
|
15763
15801
|
payload: {
|
|
15764
15802
|
facets?: {
|
|
@@ -25040,23 +25078,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25040
25078
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
25041
25079
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25042
25080
|
actions: z.ZodOptional<z.ZodObject<{
|
|
25043
|
-
overrideCorrection: z.ZodObject<{
|
|
25044
|
-
payload: z.ZodObject<{
|
|
25045
|
-
originalQuery: z.ZodString;
|
|
25046
|
-
}, "strict", z.ZodTypeAny, {
|
|
25047
|
-
originalQuery: string;
|
|
25048
|
-
}, {
|
|
25049
|
-
originalQuery: string;
|
|
25050
|
-
}>;
|
|
25051
|
-
}, "strict", z.ZodTypeAny, {
|
|
25052
|
-
payload: {
|
|
25053
|
-
originalQuery: string;
|
|
25054
|
-
};
|
|
25055
|
-
}, {
|
|
25056
|
-
payload: {
|
|
25057
|
-
originalQuery: string;
|
|
25058
|
-
};
|
|
25059
|
-
}>;
|
|
25060
25081
|
restoreState: z.ZodObject<{
|
|
25061
25082
|
payload: z.ZodObject<{
|
|
25062
25083
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -25188,11 +25209,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25188
25209
|
};
|
|
25189
25210
|
}>;
|
|
25190
25211
|
}, "strict", z.ZodTypeAny, {
|
|
25191
|
-
overrideCorrection: {
|
|
25192
|
-
payload: {
|
|
25193
|
-
originalQuery: string;
|
|
25194
|
-
};
|
|
25195
|
-
};
|
|
25196
25212
|
restoreState: {
|
|
25197
25213
|
payload: {
|
|
25198
25214
|
facets?: {
|
|
@@ -25218,11 +25234,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25218
25234
|
};
|
|
25219
25235
|
};
|
|
25220
25236
|
}, {
|
|
25221
|
-
overrideCorrection: {
|
|
25222
|
-
payload: {
|
|
25223
|
-
originalQuery: string;
|
|
25224
|
-
};
|
|
25225
|
-
};
|
|
25226
25237
|
restoreState: {
|
|
25227
25238
|
payload: {
|
|
25228
25239
|
facets?: {
|
|
@@ -25253,23 +25264,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25253
25264
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
25254
25265
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
25255
25266
|
actions: z.ZodOptional<z.ZodObject<{
|
|
25256
|
-
overrideCorrection: z.ZodObject<{
|
|
25257
|
-
payload: z.ZodObject<{
|
|
25258
|
-
originalQuery: z.ZodString;
|
|
25259
|
-
}, "strict", z.ZodTypeAny, {
|
|
25260
|
-
originalQuery: string;
|
|
25261
|
-
}, {
|
|
25262
|
-
originalQuery: string;
|
|
25263
|
-
}>;
|
|
25264
|
-
}, "strict", z.ZodTypeAny, {
|
|
25265
|
-
payload: {
|
|
25266
|
-
originalQuery: string;
|
|
25267
|
-
};
|
|
25268
|
-
}, {
|
|
25269
|
-
payload: {
|
|
25270
|
-
originalQuery: string;
|
|
25271
|
-
};
|
|
25272
|
-
}>;
|
|
25273
25267
|
restoreState: z.ZodObject<{
|
|
25274
25268
|
payload: z.ZodObject<{
|
|
25275
25269
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -25401,11 +25395,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25401
25395
|
};
|
|
25402
25396
|
}>;
|
|
25403
25397
|
}, "strict", z.ZodTypeAny, {
|
|
25404
|
-
overrideCorrection: {
|
|
25405
|
-
payload: {
|
|
25406
|
-
originalQuery: string;
|
|
25407
|
-
};
|
|
25408
|
-
};
|
|
25409
25398
|
restoreState: {
|
|
25410
25399
|
payload: {
|
|
25411
25400
|
facets?: {
|
|
@@ -25431,11 +25420,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25431
25420
|
};
|
|
25432
25421
|
};
|
|
25433
25422
|
}, {
|
|
25434
|
-
overrideCorrection: {
|
|
25435
|
-
payload: {
|
|
25436
|
-
originalQuery: string;
|
|
25437
|
-
};
|
|
25438
|
-
};
|
|
25439
25423
|
restoreState: {
|
|
25440
25424
|
payload: {
|
|
25441
25425
|
facets?: {
|
|
@@ -25466,23 +25450,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25466
25450
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
25467
25451
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25468
25452
|
actions: z.ZodOptional<z.ZodObject<{
|
|
25469
|
-
overrideCorrection: z.ZodObject<{
|
|
25470
|
-
payload: z.ZodObject<{
|
|
25471
|
-
originalQuery: z.ZodString;
|
|
25472
|
-
}, "strict", z.ZodTypeAny, {
|
|
25473
|
-
originalQuery: string;
|
|
25474
|
-
}, {
|
|
25475
|
-
originalQuery: string;
|
|
25476
|
-
}>;
|
|
25477
|
-
}, "strict", z.ZodTypeAny, {
|
|
25478
|
-
payload: {
|
|
25479
|
-
originalQuery: string;
|
|
25480
|
-
};
|
|
25481
|
-
}, {
|
|
25482
|
-
payload: {
|
|
25483
|
-
originalQuery: string;
|
|
25484
|
-
};
|
|
25485
|
-
}>;
|
|
25486
25453
|
restoreState: z.ZodObject<{
|
|
25487
25454
|
payload: z.ZodObject<{
|
|
25488
25455
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -25614,11 +25581,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25614
25581
|
};
|
|
25615
25582
|
}>;
|
|
25616
25583
|
}, "strict", z.ZodTypeAny, {
|
|
25617
|
-
overrideCorrection: {
|
|
25618
|
-
payload: {
|
|
25619
|
-
originalQuery: string;
|
|
25620
|
-
};
|
|
25621
|
-
};
|
|
25622
25584
|
restoreState: {
|
|
25623
25585
|
payload: {
|
|
25624
25586
|
facets?: {
|
|
@@ -25644,11 +25606,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25644
25606
|
};
|
|
25645
25607
|
};
|
|
25646
25608
|
}, {
|
|
25647
|
-
overrideCorrection: {
|
|
25648
|
-
payload: {
|
|
25649
|
-
originalQuery: string;
|
|
25650
|
-
};
|
|
25651
|
-
};
|
|
25652
25609
|
restoreState: {
|
|
25653
25610
|
payload: {
|
|
25654
25611
|
facets?: {
|
|
@@ -25693,60 +25650,177 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25693
25650
|
id: z.ZodString;
|
|
25694
25651
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
25695
25652
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25696
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
25653
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
25654
|
+
overrideCorrection: z.ZodObject<{
|
|
25655
|
+
payload: z.ZodUnknown;
|
|
25656
|
+
}, "strict", z.ZodTypeAny, {
|
|
25657
|
+
payload?: unknown;
|
|
25658
|
+
}, {
|
|
25659
|
+
payload?: unknown;
|
|
25660
|
+
}>;
|
|
25661
|
+
}, "strict", z.ZodTypeAny, {
|
|
25662
|
+
overrideCorrection: {
|
|
25663
|
+
payload?: unknown;
|
|
25664
|
+
};
|
|
25665
|
+
}, {
|
|
25666
|
+
overrideCorrection: {
|
|
25667
|
+
payload?: unknown;
|
|
25668
|
+
};
|
|
25669
|
+
}>>;
|
|
25697
25670
|
component: z.ZodLiteral<"QuerySummary">;
|
|
25698
25671
|
id: z.ZodString;
|
|
25699
25672
|
state: z.ZodOptional<z.ZodObject<{
|
|
25673
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
25674
|
+
canOverride: z.ZodBoolean;
|
|
25675
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
25676
|
+
originalQuery: z.ZodString;
|
|
25677
|
+
}, "strict", z.ZodTypeAny, {
|
|
25678
|
+
canOverride: boolean;
|
|
25679
|
+
cause: "correction" | "trigger";
|
|
25680
|
+
originalQuery: string;
|
|
25681
|
+
}, {
|
|
25682
|
+
canOverride: boolean;
|
|
25683
|
+
cause: "correction" | "trigger";
|
|
25684
|
+
originalQuery: string;
|
|
25685
|
+
}>>;
|
|
25700
25686
|
firstIndex: z.ZodNumber;
|
|
25701
25687
|
lastIndex: z.ZodNumber;
|
|
25702
25688
|
query: z.ZodString;
|
|
25703
25689
|
totalEntries: z.ZodNumber;
|
|
25704
25690
|
}, "strict", z.ZodTypeAny, {
|
|
25691
|
+
correction?: {
|
|
25692
|
+
canOverride: boolean;
|
|
25693
|
+
cause: "correction" | "trigger";
|
|
25694
|
+
originalQuery: string;
|
|
25695
|
+
} | undefined;
|
|
25705
25696
|
firstIndex: number;
|
|
25706
25697
|
lastIndex: number;
|
|
25707
25698
|
query: string;
|
|
25708
25699
|
totalEntries: number;
|
|
25709
25700
|
}, {
|
|
25701
|
+
correction?: {
|
|
25702
|
+
canOverride: boolean;
|
|
25703
|
+
cause: "correction" | "trigger";
|
|
25704
|
+
originalQuery: string;
|
|
25705
|
+
} | undefined;
|
|
25710
25706
|
firstIndex: number;
|
|
25711
25707
|
lastIndex: number;
|
|
25712
25708
|
query: string;
|
|
25713
25709
|
totalEntries: number;
|
|
25714
25710
|
}>>;
|
|
25715
25711
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
25716
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
25712
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
25713
|
+
overrideCorrection: z.ZodObject<{
|
|
25714
|
+
payload: z.ZodUnknown;
|
|
25715
|
+
}, "strict", z.ZodTypeAny, {
|
|
25716
|
+
payload?: unknown;
|
|
25717
|
+
}, {
|
|
25718
|
+
payload?: unknown;
|
|
25719
|
+
}>;
|
|
25720
|
+
}, "strict", z.ZodTypeAny, {
|
|
25721
|
+
overrideCorrection: {
|
|
25722
|
+
payload?: unknown;
|
|
25723
|
+
};
|
|
25724
|
+
}, {
|
|
25725
|
+
overrideCorrection: {
|
|
25726
|
+
payload?: unknown;
|
|
25727
|
+
};
|
|
25728
|
+
}>>;
|
|
25717
25729
|
component: z.ZodLiteral<"QuerySummary">;
|
|
25718
25730
|
id: z.ZodString;
|
|
25719
25731
|
state: z.ZodOptional<z.ZodObject<{
|
|
25732
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
25733
|
+
canOverride: z.ZodBoolean;
|
|
25734
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
25735
|
+
originalQuery: z.ZodString;
|
|
25736
|
+
}, "strict", z.ZodTypeAny, {
|
|
25737
|
+
canOverride: boolean;
|
|
25738
|
+
cause: "correction" | "trigger";
|
|
25739
|
+
originalQuery: string;
|
|
25740
|
+
}, {
|
|
25741
|
+
canOverride: boolean;
|
|
25742
|
+
cause: "correction" | "trigger";
|
|
25743
|
+
originalQuery: string;
|
|
25744
|
+
}>>;
|
|
25720
25745
|
firstIndex: z.ZodNumber;
|
|
25721
25746
|
lastIndex: z.ZodNumber;
|
|
25722
25747
|
query: z.ZodString;
|
|
25723
25748
|
totalEntries: z.ZodNumber;
|
|
25724
25749
|
}, "strict", z.ZodTypeAny, {
|
|
25750
|
+
correction?: {
|
|
25751
|
+
canOverride: boolean;
|
|
25752
|
+
cause: "correction" | "trigger";
|
|
25753
|
+
originalQuery: string;
|
|
25754
|
+
} | undefined;
|
|
25725
25755
|
firstIndex: number;
|
|
25726
25756
|
lastIndex: number;
|
|
25727
25757
|
query: string;
|
|
25728
25758
|
totalEntries: number;
|
|
25729
25759
|
}, {
|
|
25760
|
+
correction?: {
|
|
25761
|
+
canOverride: boolean;
|
|
25762
|
+
cause: "correction" | "trigger";
|
|
25763
|
+
originalQuery: string;
|
|
25764
|
+
} | undefined;
|
|
25730
25765
|
firstIndex: number;
|
|
25731
25766
|
lastIndex: number;
|
|
25732
25767
|
query: string;
|
|
25733
25768
|
totalEntries: number;
|
|
25734
25769
|
}>>;
|
|
25735
25770
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25736
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
25771
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
25772
|
+
overrideCorrection: z.ZodObject<{
|
|
25773
|
+
payload: z.ZodUnknown;
|
|
25774
|
+
}, "strict", z.ZodTypeAny, {
|
|
25775
|
+
payload?: unknown;
|
|
25776
|
+
}, {
|
|
25777
|
+
payload?: unknown;
|
|
25778
|
+
}>;
|
|
25779
|
+
}, "strict", z.ZodTypeAny, {
|
|
25780
|
+
overrideCorrection: {
|
|
25781
|
+
payload?: unknown;
|
|
25782
|
+
};
|
|
25783
|
+
}, {
|
|
25784
|
+
overrideCorrection: {
|
|
25785
|
+
payload?: unknown;
|
|
25786
|
+
};
|
|
25787
|
+
}>>;
|
|
25737
25788
|
component: z.ZodLiteral<"QuerySummary">;
|
|
25738
25789
|
id: z.ZodString;
|
|
25739
25790
|
state: z.ZodOptional<z.ZodObject<{
|
|
25791
|
+
correction: z.ZodOptional<z.ZodObject<{
|
|
25792
|
+
canOverride: z.ZodBoolean;
|
|
25793
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
25794
|
+
originalQuery: z.ZodString;
|
|
25795
|
+
}, "strict", z.ZodTypeAny, {
|
|
25796
|
+
canOverride: boolean;
|
|
25797
|
+
cause: "correction" | "trigger";
|
|
25798
|
+
originalQuery: string;
|
|
25799
|
+
}, {
|
|
25800
|
+
canOverride: boolean;
|
|
25801
|
+
cause: "correction" | "trigger";
|
|
25802
|
+
originalQuery: string;
|
|
25803
|
+
}>>;
|
|
25740
25804
|
firstIndex: z.ZodNumber;
|
|
25741
25805
|
lastIndex: z.ZodNumber;
|
|
25742
25806
|
query: z.ZodString;
|
|
25743
25807
|
totalEntries: z.ZodNumber;
|
|
25744
25808
|
}, "strict", z.ZodTypeAny, {
|
|
25809
|
+
correction?: {
|
|
25810
|
+
canOverride: boolean;
|
|
25811
|
+
cause: "correction" | "trigger";
|
|
25812
|
+
originalQuery: string;
|
|
25813
|
+
} | undefined;
|
|
25745
25814
|
firstIndex: number;
|
|
25746
25815
|
lastIndex: number;
|
|
25747
25816
|
query: string;
|
|
25748
25817
|
totalEntries: number;
|
|
25749
25818
|
}, {
|
|
25819
|
+
correction?: {
|
|
25820
|
+
canOverride: boolean;
|
|
25821
|
+
cause: "correction" | "trigger";
|
|
25822
|
+
originalQuery: string;
|
|
25823
|
+
} | undefined;
|
|
25750
25824
|
firstIndex: number;
|
|
25751
25825
|
lastIndex: number;
|
|
25752
25826
|
query: string;
|
|
@@ -29248,6 +29322,37 @@ export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
|
29248
29322
|
args: Record<string, any>;
|
|
29249
29323
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29250
29324
|
}>]>;
|
|
29325
|
+
correction: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodObject<{
|
|
29326
|
+
canOverride: z.ZodBoolean;
|
|
29327
|
+
cause: z.ZodEnum<["correction", "trigger"]>;
|
|
29328
|
+
originalQuery: z.ZodString;
|
|
29329
|
+
}, "strict", z.ZodTypeAny, {
|
|
29330
|
+
canOverride: boolean;
|
|
29331
|
+
cause: "correction" | "trigger";
|
|
29332
|
+
originalQuery: string;
|
|
29333
|
+
}, {
|
|
29334
|
+
canOverride: boolean;
|
|
29335
|
+
cause: "correction" | "trigger";
|
|
29336
|
+
originalQuery: string;
|
|
29337
|
+
}>>, z.ZodObject<{
|
|
29338
|
+
path: z.ZodString;
|
|
29339
|
+
}, "strict", z.ZodTypeAny, {
|
|
29340
|
+
path: string;
|
|
29341
|
+
}, {
|
|
29342
|
+
path: string;
|
|
29343
|
+
}>, z.ZodObject<{
|
|
29344
|
+
call: z.ZodString;
|
|
29345
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
29346
|
+
returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
|
|
29347
|
+
}, "strip", z.ZodTypeAny, {
|
|
29348
|
+
call: string;
|
|
29349
|
+
args: Record<string, any>;
|
|
29350
|
+
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29351
|
+
}, {
|
|
29352
|
+
call: string;
|
|
29353
|
+
args: Record<string, any>;
|
|
29354
|
+
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29355
|
+
}>]>>;
|
|
29251
29356
|
}, "strip", z.ZodTypeAny, {
|
|
29252
29357
|
query: string | {
|
|
29253
29358
|
path: string;
|
|
@@ -29277,6 +29382,17 @@ export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
|
29277
29382
|
args: Record<string, any>;
|
|
29278
29383
|
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29279
29384
|
};
|
|
29385
|
+
correction?: {
|
|
29386
|
+
path: string;
|
|
29387
|
+
} | {
|
|
29388
|
+
canOverride: boolean;
|
|
29389
|
+
cause: "correction" | "trigger";
|
|
29390
|
+
originalQuery: string;
|
|
29391
|
+
} | {
|
|
29392
|
+
call: string;
|
|
29393
|
+
args: Record<string, any>;
|
|
29394
|
+
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29395
|
+
} | undefined;
|
|
29280
29396
|
}, {
|
|
29281
29397
|
query: string | {
|
|
29282
29398
|
path: string;
|
|
@@ -29306,6 +29422,17 @@ export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
|
29306
29422
|
args: Record<string, any>;
|
|
29307
29423
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29308
29424
|
};
|
|
29425
|
+
correction?: {
|
|
29426
|
+
path: string;
|
|
29427
|
+
} | {
|
|
29428
|
+
canOverride: boolean;
|
|
29429
|
+
cause: "correction" | "trigger";
|
|
29430
|
+
originalQuery: string;
|
|
29431
|
+
} | {
|
|
29432
|
+
call: string;
|
|
29433
|
+
args: Record<string, any>;
|
|
29434
|
+
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29435
|
+
} | undefined;
|
|
29309
29436
|
}>;
|
|
29310
29437
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
29311
29438
|
field: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -30289,41 +30416,6 @@ export declare const CommerceSearchActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30289
30416
|
pinnedProducts?: string[] | undefined;
|
|
30290
30417
|
};
|
|
30291
30418
|
};
|
|
30292
|
-
}>, z.ZodObject<{
|
|
30293
|
-
event: z.ZodObject<{
|
|
30294
|
-
name: z.ZodLiteral<"overrideCorrection">;
|
|
30295
|
-
context: z.ZodObject<{
|
|
30296
|
-
originalQuery: z.ZodString;
|
|
30297
|
-
}, "strict", z.ZodTypeAny, {
|
|
30298
|
-
originalQuery: string;
|
|
30299
|
-
}, {
|
|
30300
|
-
originalQuery: string;
|
|
30301
|
-
}>;
|
|
30302
|
-
}, "strip", z.ZodTypeAny, {
|
|
30303
|
-
name: "overrideCorrection";
|
|
30304
|
-
context: {
|
|
30305
|
-
originalQuery: string;
|
|
30306
|
-
};
|
|
30307
|
-
}, {
|
|
30308
|
-
name: "overrideCorrection";
|
|
30309
|
-
context: {
|
|
30310
|
-
originalQuery: string;
|
|
30311
|
-
};
|
|
30312
|
-
}>;
|
|
30313
|
-
}, "strip", z.ZodTypeAny, {
|
|
30314
|
-
event: {
|
|
30315
|
-
name: "overrideCorrection";
|
|
30316
|
-
context: {
|
|
30317
|
-
originalQuery: string;
|
|
30318
|
-
};
|
|
30319
|
-
};
|
|
30320
|
-
}, {
|
|
30321
|
-
event: {
|
|
30322
|
-
name: "overrideCorrection";
|
|
30323
|
-
context: {
|
|
30324
|
-
originalQuery: string;
|
|
30325
|
-
};
|
|
30326
|
-
};
|
|
30327
30419
|
}>]>;
|
|
30328
30420
|
export type CommerceSearchAction = z.infer<typeof CommerceSearchActionSchema>;
|
|
30329
30421
|
export declare const ComparisonTableActionSchema: z.ZodNever;
|
|
@@ -31068,8 +31160,29 @@ export declare const QuerySuggestionsActionSchema: z.ZodObject<{
|
|
|
31068
31160
|
};
|
|
31069
31161
|
}>;
|
|
31070
31162
|
export type QuerySuggestionsAction = z.infer<typeof QuerySuggestionsActionSchema>;
|
|
31071
|
-
export declare const QuerySummaryActionSchema: z.
|
|
31072
|
-
|
|
31163
|
+
export declare const QuerySummaryActionSchema: z.ZodObject<{
|
|
31164
|
+
event: z.ZodObject<{
|
|
31165
|
+
name: z.ZodLiteral<"overrideCorrection">;
|
|
31166
|
+
context: z.ZodUnknown;
|
|
31167
|
+
}, "strip", z.ZodTypeAny, {
|
|
31168
|
+
name: "overrideCorrection";
|
|
31169
|
+
context?: unknown;
|
|
31170
|
+
}, {
|
|
31171
|
+
name: "overrideCorrection";
|
|
31172
|
+
context?: unknown;
|
|
31173
|
+
}>;
|
|
31174
|
+
}, "strip", z.ZodTypeAny, {
|
|
31175
|
+
event: {
|
|
31176
|
+
name: "overrideCorrection";
|
|
31177
|
+
context?: unknown;
|
|
31178
|
+
};
|
|
31179
|
+
}, {
|
|
31180
|
+
event: {
|
|
31181
|
+
name: "overrideCorrection";
|
|
31182
|
+
context?: unknown;
|
|
31183
|
+
};
|
|
31184
|
+
}>;
|
|
31185
|
+
export type QuerySummaryAction = z.infer<typeof QuerySummaryActionSchema>;
|
|
31073
31186
|
export declare const RegularFacetActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
31074
31187
|
event: z.ZodObject<{
|
|
31075
31188
|
name: z.ZodLiteral<"toggleSelect">;
|