@syntrologie/adapt-product 2.28.0 → 2.29.0
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/__fixtures__/variant-payloads.d.ts +33 -0
- package/dist/__fixtures__/variant-payloads.d.ts.map +1 -0
- package/dist/cdn.d.ts +1 -0
- package/dist/cdn.d.ts.map +1 -1
- package/dist/cdn.js +9 -3
- package/dist/cdn.js.map +2 -2
- package/dist/{chunk-SGJGJRCP.js → chunk-7Z4Y44WC.js} +139 -6
- package/dist/chunk-7Z4Y44WC.js.map +7 -0
- package/dist/chunk-VY23O32Z.js +10963 -0
- package/dist/chunk-VY23O32Z.js.map +7 -0
- package/dist/decision/card-effects.d.ts +20 -0
- package/dist/decision/card-effects.d.ts.map +1 -0
- package/dist/decision/card.d.ts +150 -0
- package/dist/decision/card.d.ts.map +1 -0
- package/dist/decision/pdp-compose.d.ts +69 -0
- package/dist/decision/pdp-compose.d.ts.map +1 -0
- package/dist/decision/pdp-effects.d.ts +17 -0
- package/dist/decision/pdp-effects.d.ts.map +1 -0
- package/dist/decision/pdp.d.ts +214 -0
- package/dist/decision/pdp.d.ts.map +1 -0
- package/dist/native/nativeSlotSwap.d.ts +40 -0
- package/dist/native/nativeSlotSwap.d.ts.map +1 -0
- package/dist/native/nativeSlotWatcher.d.ts +135 -0
- package/dist/native/nativeSlotWatcher.d.ts.map +1 -0
- package/dist/platformAdapter.d.ts +82 -0
- package/dist/platformAdapter.d.ts.map +1 -0
- package/dist/runtime.d.ts +318 -36
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +10 -2
- package/dist/sanitizer.d.ts.map +1 -1
- package/dist/schema-primitives.d.ts +197 -12
- package/dist/schema-primitives.d.ts.map +1 -1
- package/dist/schema.d.ts +2098 -164
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +11 -1
- package/dist/scoring/pool-selection.d.ts +35 -0
- package/dist/scoring/pool-selection.d.ts.map +1 -0
- package/dist/scoring/scored-template.d.ts +106 -0
- package/dist/scoring/scored-template.d.ts.map +1 -0
- package/dist/variantCache.d.ts +5 -0
- package/dist/variantCache.d.ts.map +1 -0
- package/dist/widgets/OtherProductTileLit.d.ts +46 -0
- package/dist/widgets/OtherProductTileLit.d.ts.map +1 -0
- package/dist/widgets/PdpChartBarStackedLit.d.ts +33 -0
- package/dist/widgets/PdpChartBarStackedLit.d.ts.map +1 -0
- package/dist/widgets/PdpChartLit.d.ts +56 -0
- package/dist/widgets/PdpChartLit.d.ts.map +1 -0
- package/dist/widgets/PdpChartMetricPullLit.d.ts +33 -0
- package/dist/widgets/PdpChartMetricPullLit.d.ts.map +1 -0
- package/dist/widgets/PdpOtherProductsCarouselLit.d.ts +33 -0
- package/dist/widgets/PdpOtherProductsCarouselLit.d.ts.map +1 -0
- package/dist/widgets/PdpOtherProductsGridLit.d.ts +20 -0
- package/dist/widgets/PdpOtherProductsGridLit.d.ts.map +1 -0
- package/dist/widgets/PdpOtherProductsLit.d.ts +35 -0
- package/dist/widgets/PdpOtherProductsLit.d.ts.map +1 -0
- package/dist/widgets/PdpPeerFeedCarouselLit.d.ts +30 -0
- package/dist/widgets/PdpPeerFeedCarouselLit.d.ts.map +1 -0
- package/dist/widgets/PdpPeerFeedLit.d.ts +51 -0
- package/dist/widgets/PdpPeerFeedLit.d.ts.map +1 -0
- package/dist/widgets/PdpPeerFeedMasonryLit.d.ts +30 -0
- package/dist/widgets/PdpPeerFeedMasonryLit.d.ts.map +1 -0
- package/dist/widgets/PdpQaAccordionLit.d.ts +27 -0
- package/dist/widgets/PdpQaAccordionLit.d.ts.map +1 -0
- package/dist/widgets/PdpQaLit.d.ts +48 -0
- package/dist/widgets/PdpQaLit.d.ts.map +1 -0
- package/dist/widgets/PdpQaSideBySideLit.d.ts +27 -0
- package/dist/widgets/PdpQaSideBySideLit.d.ts.map +1 -0
- package/dist/widgets/PdpRegionalFullBleedLit.d.ts +27 -0
- package/dist/widgets/PdpRegionalFullBleedLit.d.ts.map +1 -0
- package/dist/widgets/PdpRegionalInlineNoteLit.d.ts +27 -0
- package/dist/widgets/PdpRegionalInlineNoteLit.d.ts.map +1 -0
- package/dist/widgets/PdpRegionalLit.d.ts +48 -0
- package/dist/widgets/PdpRegionalLit.d.ts.map +1 -0
- package/dist/widgets/PdpRibbonLit.d.ts +31 -0
- package/dist/widgets/PdpRibbonLit.d.ts.map +1 -0
- package/dist/widgets/PdpSectionHeaderLit.d.ts +30 -0
- package/dist/widgets/PdpSectionHeaderLit.d.ts.map +1 -0
- package/dist/widgets/PdpSlotLit.d.ts +30 -0
- package/dist/widgets/PdpSlotLit.d.ts.map +1 -0
- package/dist/widgets/PdpSlotPlaceholderLit.d.ts +22 -0
- package/dist/widgets/PdpSlotPlaceholderLit.d.ts.map +1 -0
- package/dist/widgets/PdpTrendingNewsHeroLit.d.ts +32 -0
- package/dist/widgets/PdpTrendingNewsHeroLit.d.ts.map +1 -0
- package/dist/widgets/PdpTrendingNewsLit.d.ts +42 -0
- package/dist/widgets/PdpTrendingNewsLit.d.ts.map +1 -0
- package/dist/widgets/PdpTrendingNewsMagazineLit.d.ts +32 -0
- package/dist/widgets/PdpTrendingNewsMagazineLit.d.ts.map +1 -0
- package/dist/widgets/ProductCardLit.d.ts +78 -0
- package/dist/widgets/ProductCardLit.d.ts.map +1 -1
- package/dist/widgets/ProductComparisonLit.d.ts +9 -4
- package/dist/widgets/ProductComparisonLit.d.ts.map +1 -1
- package/dist/widgets/ProductGridLit.d.ts +1 -0
- package/dist/widgets/ProductGridLit.d.ts.map +1 -1
- package/dist/widgets/ProductHeroLit.d.ts +1 -0
- package/dist/widgets/ProductHeroLit.d.ts.map +1 -1
- package/dist/widgets/ProductRecoCarouselLit.d.ts +24 -0
- package/dist/widgets/ProductRecoCarouselLit.d.ts.map +1 -0
- package/dist/widgets/SyntroPdpLit.d.ts +366 -0
- package/dist/widgets/SyntroPdpLit.d.ts.map +1 -0
- package/dist/widgets/VariantPanelLit.d.ts +98 -0
- package/dist/widgets/VariantPanelLit.d.ts.map +1 -0
- package/dist/widgets/ensureStylesInRoot.d.ts +22 -0
- package/dist/widgets/ensureStylesInRoot.d.ts.map +1 -0
- package/dist/widgets/entrance.d.ts +35 -0
- package/dist/widgets/entrance.d.ts.map +1 -0
- package/dist/widgets/renderHealth.d.ts +57 -0
- package/dist/widgets/renderHealth.d.ts.map +1 -0
- package/dist/widgets/renderHealthReporter.d.ts +66 -0
- package/dist/widgets/renderHealthReporter.d.ts.map +1 -0
- package/package.json +4 -1
- package/dist/chunk-QZZVFYL6.js +0 -1352
- package/dist/chunk-QZZVFYL6.js.map +0 -7
- package/dist/chunk-SGJGJRCP.js.map +0 -7
package/dist/schema.d.ts
CHANGED
|
@@ -186,15 +186,15 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
186
186
|
actionId: z.ZodOptional<z.ZodString>;
|
|
187
187
|
}, "strict", z.ZodTypeAny, {
|
|
188
188
|
label: string;
|
|
189
|
-
target: "_self" | "_blank";
|
|
190
189
|
variant: "primary" | "secondary" | "ghost";
|
|
190
|
+
target: "_self" | "_blank";
|
|
191
191
|
href?: string | undefined;
|
|
192
192
|
actionId?: string | undefined;
|
|
193
193
|
}, {
|
|
194
194
|
label: string;
|
|
195
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
195
196
|
href?: string | undefined;
|
|
196
197
|
target?: "_self" | "_blank" | undefined;
|
|
197
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
198
198
|
actionId?: string | undefined;
|
|
199
199
|
}>, "many">;
|
|
200
200
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -325,16 +325,16 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
325
325
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
326
326
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
327
327
|
}, "strict", z.ZodTypeAny, {
|
|
328
|
+
name: string;
|
|
328
329
|
value: string;
|
|
329
330
|
section: string;
|
|
330
|
-
name: string;
|
|
331
331
|
emphasis: boolean;
|
|
332
332
|
unit?: string | undefined;
|
|
333
333
|
priority?: number | undefined;
|
|
334
334
|
}, {
|
|
335
|
+
name: string;
|
|
335
336
|
value: string;
|
|
336
337
|
section: string;
|
|
337
|
-
name: string;
|
|
338
338
|
unit?: string | undefined;
|
|
339
339
|
emphasis?: boolean | undefined;
|
|
340
340
|
priority?: number | undefined;
|
|
@@ -346,16 +346,140 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
346
346
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
347
347
|
}, "strict", z.ZodTypeAny, {
|
|
348
348
|
value: string;
|
|
349
|
-
emphasis: boolean;
|
|
350
349
|
label: string;
|
|
350
|
+
emphasis: boolean;
|
|
351
351
|
}, {
|
|
352
352
|
value: string;
|
|
353
353
|
label: string;
|
|
354
354
|
emphasis?: boolean | undefined;
|
|
355
355
|
}>, "many">>;
|
|
356
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
358
|
+
key: z.ZodString;
|
|
359
|
+
label: z.ZodString;
|
|
360
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
361
|
+
values: z.ZodArray<z.ZodObject<{
|
|
362
|
+
id: z.ZodString;
|
|
363
|
+
label: z.ZodString;
|
|
364
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
365
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
366
|
+
value: z.ZodString;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
kind: "image" | "color";
|
|
369
|
+
value: string;
|
|
370
|
+
}, {
|
|
371
|
+
kind: "image" | "color";
|
|
372
|
+
value: string;
|
|
373
|
+
}>>;
|
|
374
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
|
+
label: string;
|
|
376
|
+
id: string;
|
|
377
|
+
swatch: {
|
|
378
|
+
kind: "image" | "color";
|
|
379
|
+
value: string;
|
|
380
|
+
} | null;
|
|
381
|
+
}, {
|
|
382
|
+
label: string;
|
|
383
|
+
id: string;
|
|
384
|
+
swatch: {
|
|
385
|
+
kind: "image" | "color";
|
|
386
|
+
value: string;
|
|
387
|
+
} | null;
|
|
388
|
+
}>, "many">;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
values: {
|
|
391
|
+
label: string;
|
|
392
|
+
id: string;
|
|
393
|
+
swatch: {
|
|
394
|
+
kind: "image" | "color";
|
|
395
|
+
value: string;
|
|
396
|
+
} | null;
|
|
397
|
+
}[];
|
|
398
|
+
kind: "pill" | "swatch";
|
|
399
|
+
label: string;
|
|
400
|
+
key: string;
|
|
401
|
+
}, {
|
|
402
|
+
values: {
|
|
403
|
+
label: string;
|
|
404
|
+
id: string;
|
|
405
|
+
swatch: {
|
|
406
|
+
kind: "image" | "color";
|
|
407
|
+
value: string;
|
|
408
|
+
} | null;
|
|
409
|
+
}[];
|
|
410
|
+
kind: "pill" | "swatch";
|
|
411
|
+
label: string;
|
|
412
|
+
key: string;
|
|
413
|
+
}>, "many">;
|
|
414
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
415
|
+
id: z.ZodString;
|
|
416
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
417
|
+
price: z.ZodNumber;
|
|
418
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
419
|
+
in_stock: z.ZodBoolean;
|
|
420
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
id: string;
|
|
423
|
+
price: number;
|
|
424
|
+
in_stock: boolean;
|
|
425
|
+
selection: Record<string, string>;
|
|
426
|
+
compare_at_price: number | null;
|
|
427
|
+
featured_image?: string | undefined;
|
|
428
|
+
}, {
|
|
429
|
+
id: string;
|
|
430
|
+
price: number;
|
|
431
|
+
in_stock: boolean;
|
|
432
|
+
selection: Record<string, string>;
|
|
433
|
+
compare_at_price: number | null;
|
|
434
|
+
featured_image?: string | undefined;
|
|
435
|
+
}>, "many">;
|
|
436
|
+
}, "strip", z.ZodTypeAny, {
|
|
437
|
+
attributes: {
|
|
438
|
+
values: {
|
|
439
|
+
label: string;
|
|
440
|
+
id: string;
|
|
441
|
+
swatch: {
|
|
442
|
+
kind: "image" | "color";
|
|
443
|
+
value: string;
|
|
444
|
+
} | null;
|
|
445
|
+
}[];
|
|
446
|
+
kind: "pill" | "swatch";
|
|
447
|
+
label: string;
|
|
448
|
+
key: string;
|
|
449
|
+
}[];
|
|
450
|
+
variants: {
|
|
451
|
+
id: string;
|
|
452
|
+
price: number;
|
|
453
|
+
in_stock: boolean;
|
|
454
|
+
selection: Record<string, string>;
|
|
455
|
+
compare_at_price: number | null;
|
|
456
|
+
featured_image?: string | undefined;
|
|
457
|
+
}[];
|
|
458
|
+
}, {
|
|
459
|
+
attributes: {
|
|
460
|
+
values: {
|
|
461
|
+
label: string;
|
|
462
|
+
id: string;
|
|
463
|
+
swatch: {
|
|
464
|
+
kind: "image" | "color";
|
|
465
|
+
value: string;
|
|
466
|
+
} | null;
|
|
467
|
+
}[];
|
|
468
|
+
kind: "pill" | "swatch";
|
|
469
|
+
label: string;
|
|
470
|
+
key: string;
|
|
471
|
+
}[];
|
|
472
|
+
variants: {
|
|
473
|
+
id: string;
|
|
474
|
+
price: number;
|
|
475
|
+
in_stock: boolean;
|
|
476
|
+
selection: Record<string, string>;
|
|
477
|
+
compare_at_price: number | null;
|
|
478
|
+
featured_image?: string | undefined;
|
|
479
|
+
}[];
|
|
480
|
+
}>>;
|
|
356
481
|
}, "strict", z.ZodTypeAny, {
|
|
357
482
|
name: string;
|
|
358
|
-
id: string;
|
|
359
483
|
image: {
|
|
360
484
|
src: string;
|
|
361
485
|
alt: string;
|
|
@@ -374,10 +498,11 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
374
498
|
url?: string | undefined;
|
|
375
499
|
} | undefined;
|
|
376
500
|
};
|
|
501
|
+
id: string;
|
|
377
502
|
ctas: {
|
|
378
503
|
label: string;
|
|
379
|
-
target: "_self" | "_blank";
|
|
380
504
|
variant: "primary" | "secondary" | "ghost";
|
|
505
|
+
target: "_self" | "_blank";
|
|
381
506
|
href?: string | undefined;
|
|
382
507
|
actionId?: string | undefined;
|
|
383
508
|
}[];
|
|
@@ -441,9 +566,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
441
566
|
max: number;
|
|
442
567
|
} | undefined;
|
|
443
568
|
specs?: {
|
|
569
|
+
name: string;
|
|
444
570
|
value: string;
|
|
445
571
|
section: string;
|
|
446
|
-
name: string;
|
|
447
572
|
emphasis: boolean;
|
|
448
573
|
unit?: string | undefined;
|
|
449
574
|
priority?: number | undefined;
|
|
@@ -451,12 +576,34 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
451
576
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
452
577
|
attributes?: {
|
|
453
578
|
value: string;
|
|
454
|
-
emphasis: boolean;
|
|
455
579
|
label: string;
|
|
580
|
+
emphasis: boolean;
|
|
456
581
|
}[] | undefined;
|
|
582
|
+
variants?: {
|
|
583
|
+
attributes: {
|
|
584
|
+
values: {
|
|
585
|
+
label: string;
|
|
586
|
+
id: string;
|
|
587
|
+
swatch: {
|
|
588
|
+
kind: "image" | "color";
|
|
589
|
+
value: string;
|
|
590
|
+
} | null;
|
|
591
|
+
}[];
|
|
592
|
+
kind: "pill" | "swatch";
|
|
593
|
+
label: string;
|
|
594
|
+
key: string;
|
|
595
|
+
}[];
|
|
596
|
+
variants: {
|
|
597
|
+
id: string;
|
|
598
|
+
price: number;
|
|
599
|
+
in_stock: boolean;
|
|
600
|
+
selection: Record<string, string>;
|
|
601
|
+
compare_at_price: number | null;
|
|
602
|
+
featured_image?: string | undefined;
|
|
603
|
+
}[];
|
|
604
|
+
} | undefined;
|
|
457
605
|
}, {
|
|
458
606
|
name: string;
|
|
459
|
-
id: string;
|
|
460
607
|
image: {
|
|
461
608
|
src: string;
|
|
462
609
|
alt: string;
|
|
@@ -475,11 +622,12 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
475
622
|
url?: string | undefined;
|
|
476
623
|
} | undefined;
|
|
477
624
|
};
|
|
625
|
+
id: string;
|
|
478
626
|
ctas: {
|
|
479
627
|
label: string;
|
|
628
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
480
629
|
href?: string | undefined;
|
|
481
630
|
target?: "_self" | "_blank" | undefined;
|
|
482
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
483
631
|
actionId?: string | undefined;
|
|
484
632
|
}[];
|
|
485
633
|
tagline?: string | undefined;
|
|
@@ -542,9 +690,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
542
690
|
max?: number | undefined;
|
|
543
691
|
} | undefined;
|
|
544
692
|
specs?: {
|
|
693
|
+
name: string;
|
|
545
694
|
value: string;
|
|
546
695
|
section: string;
|
|
547
|
-
name: string;
|
|
548
696
|
unit?: string | undefined;
|
|
549
697
|
emphasis?: boolean | undefined;
|
|
550
698
|
priority?: number | undefined;
|
|
@@ -555,6 +703,29 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
555
703
|
label: string;
|
|
556
704
|
emphasis?: boolean | undefined;
|
|
557
705
|
}[] | undefined;
|
|
706
|
+
variants?: {
|
|
707
|
+
attributes: {
|
|
708
|
+
values: {
|
|
709
|
+
label: string;
|
|
710
|
+
id: string;
|
|
711
|
+
swatch: {
|
|
712
|
+
kind: "image" | "color";
|
|
713
|
+
value: string;
|
|
714
|
+
} | null;
|
|
715
|
+
}[];
|
|
716
|
+
kind: "pill" | "swatch";
|
|
717
|
+
label: string;
|
|
718
|
+
key: string;
|
|
719
|
+
}[];
|
|
720
|
+
variants: {
|
|
721
|
+
id: string;
|
|
722
|
+
price: number;
|
|
723
|
+
in_stock: boolean;
|
|
724
|
+
selection: Record<string, string>;
|
|
725
|
+
compare_at_price: number | null;
|
|
726
|
+
featured_image?: string | undefined;
|
|
727
|
+
}[];
|
|
728
|
+
} | undefined;
|
|
558
729
|
}>;
|
|
559
730
|
density: z.ZodDefault<z.ZodEnum<["compact", "standard"]>>;
|
|
560
731
|
/**
|
|
@@ -568,7 +739,6 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
568
739
|
}, "strip", z.ZodTypeAny, {
|
|
569
740
|
product: {
|
|
570
741
|
name: string;
|
|
571
|
-
id: string;
|
|
572
742
|
image: {
|
|
573
743
|
src: string;
|
|
574
744
|
alt: string;
|
|
@@ -587,10 +757,11 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
587
757
|
url?: string | undefined;
|
|
588
758
|
} | undefined;
|
|
589
759
|
};
|
|
760
|
+
id: string;
|
|
590
761
|
ctas: {
|
|
591
762
|
label: string;
|
|
592
|
-
target: "_self" | "_blank";
|
|
593
763
|
variant: "primary" | "secondary" | "ghost";
|
|
764
|
+
target: "_self" | "_blank";
|
|
594
765
|
href?: string | undefined;
|
|
595
766
|
actionId?: string | undefined;
|
|
596
767
|
}[];
|
|
@@ -654,9 +825,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
654
825
|
max: number;
|
|
655
826
|
} | undefined;
|
|
656
827
|
specs?: {
|
|
828
|
+
name: string;
|
|
657
829
|
value: string;
|
|
658
830
|
section: string;
|
|
659
|
-
name: string;
|
|
660
831
|
emphasis: boolean;
|
|
661
832
|
unit?: string | undefined;
|
|
662
833
|
priority?: number | undefined;
|
|
@@ -664,16 +835,38 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
664
835
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
665
836
|
attributes?: {
|
|
666
837
|
value: string;
|
|
667
|
-
emphasis: boolean;
|
|
668
838
|
label: string;
|
|
839
|
+
emphasis: boolean;
|
|
669
840
|
}[] | undefined;
|
|
841
|
+
variants?: {
|
|
842
|
+
attributes: {
|
|
843
|
+
values: {
|
|
844
|
+
label: string;
|
|
845
|
+
id: string;
|
|
846
|
+
swatch: {
|
|
847
|
+
kind: "image" | "color";
|
|
848
|
+
value: string;
|
|
849
|
+
} | null;
|
|
850
|
+
}[];
|
|
851
|
+
kind: "pill" | "swatch";
|
|
852
|
+
label: string;
|
|
853
|
+
key: string;
|
|
854
|
+
}[];
|
|
855
|
+
variants: {
|
|
856
|
+
id: string;
|
|
857
|
+
price: number;
|
|
858
|
+
in_stock: boolean;
|
|
859
|
+
selection: Record<string, string>;
|
|
860
|
+
compare_at_price: number | null;
|
|
861
|
+
featured_image?: string | undefined;
|
|
862
|
+
}[];
|
|
863
|
+
} | undefined;
|
|
670
864
|
};
|
|
671
865
|
density: "compact" | "standard";
|
|
672
866
|
visibleFacts?: ("tagline" | "price" | "badge" | "framing" | "availability" | "rating" | "specs")[] | undefined;
|
|
673
867
|
}, {
|
|
674
868
|
product: {
|
|
675
869
|
name: string;
|
|
676
|
-
id: string;
|
|
677
870
|
image: {
|
|
678
871
|
src: string;
|
|
679
872
|
alt: string;
|
|
@@ -692,11 +885,12 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
692
885
|
url?: string | undefined;
|
|
693
886
|
} | undefined;
|
|
694
887
|
};
|
|
888
|
+
id: string;
|
|
695
889
|
ctas: {
|
|
696
890
|
label: string;
|
|
891
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
697
892
|
href?: string | undefined;
|
|
698
893
|
target?: "_self" | "_blank" | undefined;
|
|
699
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
700
894
|
actionId?: string | undefined;
|
|
701
895
|
}[];
|
|
702
896
|
tagline?: string | undefined;
|
|
@@ -759,9 +953,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
759
953
|
max?: number | undefined;
|
|
760
954
|
} | undefined;
|
|
761
955
|
specs?: {
|
|
956
|
+
name: string;
|
|
762
957
|
value: string;
|
|
763
958
|
section: string;
|
|
764
|
-
name: string;
|
|
765
959
|
unit?: string | undefined;
|
|
766
960
|
emphasis?: boolean | undefined;
|
|
767
961
|
priority?: number | undefined;
|
|
@@ -772,10 +966,62 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
772
966
|
label: string;
|
|
773
967
|
emphasis?: boolean | undefined;
|
|
774
968
|
}[] | undefined;
|
|
969
|
+
variants?: {
|
|
970
|
+
attributes: {
|
|
971
|
+
values: {
|
|
972
|
+
label: string;
|
|
973
|
+
id: string;
|
|
974
|
+
swatch: {
|
|
975
|
+
kind: "image" | "color";
|
|
976
|
+
value: string;
|
|
977
|
+
} | null;
|
|
978
|
+
}[];
|
|
979
|
+
kind: "pill" | "swatch";
|
|
980
|
+
label: string;
|
|
981
|
+
key: string;
|
|
982
|
+
}[];
|
|
983
|
+
variants: {
|
|
984
|
+
id: string;
|
|
985
|
+
price: number;
|
|
986
|
+
in_stock: boolean;
|
|
987
|
+
selection: Record<string, string>;
|
|
988
|
+
compare_at_price: number | null;
|
|
989
|
+
featured_image?: string | undefined;
|
|
990
|
+
}[];
|
|
991
|
+
} | undefined;
|
|
775
992
|
};
|
|
776
993
|
density?: "compact" | "standard" | undefined;
|
|
777
994
|
visibleFacts?: ("tagline" | "price" | "badge" | "framing" | "availability" | "rating" | "specs")[] | undefined;
|
|
778
995
|
}>;
|
|
996
|
+
/**
|
|
997
|
+
* One comparison dimension, rendered as a matrix row. `valueA`..`valueD` are the
|
|
998
|
+
* cells for `products[0]`..`products[3]` (a row need only fill as many as there
|
|
999
|
+
* are products; missing cells render as "—"). Flat scalar columns — NOT a nested
|
|
1000
|
+
* array — so the whole row is authorable as one `struct_list` item by the
|
|
1001
|
+
* assistant. This is the LLM-authorable shape of a comparison: a flat list of
|
|
1002
|
+
* rows the assistant fills to answer the visitor's actual question, aligned by
|
|
1003
|
+
* construction (each row carries every product's value), unlike per-product
|
|
1004
|
+
* attribute lists which drift out of sync.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const comparisonRowSchema: z.ZodObject<{
|
|
1007
|
+
label: z.ZodString;
|
|
1008
|
+
valueA: z.ZodString;
|
|
1009
|
+
valueB: z.ZodString;
|
|
1010
|
+
valueC: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
valueD: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
}, "strip", z.ZodTypeAny, {
|
|
1013
|
+
label: string;
|
|
1014
|
+
valueA: string;
|
|
1015
|
+
valueB: string;
|
|
1016
|
+
valueC?: string | undefined;
|
|
1017
|
+
valueD?: string | undefined;
|
|
1018
|
+
}, {
|
|
1019
|
+
label: string;
|
|
1020
|
+
valueA: string;
|
|
1021
|
+
valueB: string;
|
|
1022
|
+
valueC?: string | undefined;
|
|
1023
|
+
valueD?: string | undefined;
|
|
1024
|
+
}>;
|
|
779
1025
|
export declare const comparisonSchema: z.ZodObject<{
|
|
780
1026
|
products: z.ZodArray<z.ZodObject<{
|
|
781
1027
|
id: z.ZodString;
|
|
@@ -961,15 +1207,15 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
961
1207
|
actionId: z.ZodOptional<z.ZodString>;
|
|
962
1208
|
}, "strict", z.ZodTypeAny, {
|
|
963
1209
|
label: string;
|
|
964
|
-
target: "_self" | "_blank";
|
|
965
1210
|
variant: "primary" | "secondary" | "ghost";
|
|
1211
|
+
target: "_self" | "_blank";
|
|
966
1212
|
href?: string | undefined;
|
|
967
1213
|
actionId?: string | undefined;
|
|
968
1214
|
}, {
|
|
969
1215
|
label: string;
|
|
1216
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
970
1217
|
href?: string | undefined;
|
|
971
1218
|
target?: "_self" | "_blank" | undefined;
|
|
972
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
973
1219
|
actionId?: string | undefined;
|
|
974
1220
|
}>, "many">;
|
|
975
1221
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1100,16 +1346,16 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1100
1346
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
1101
1347
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1102
1348
|
}, "strict", z.ZodTypeAny, {
|
|
1349
|
+
name: string;
|
|
1103
1350
|
value: string;
|
|
1104
1351
|
section: string;
|
|
1105
|
-
name: string;
|
|
1106
1352
|
emphasis: boolean;
|
|
1107
1353
|
unit?: string | undefined;
|
|
1108
1354
|
priority?: number | undefined;
|
|
1109
1355
|
}, {
|
|
1356
|
+
name: string;
|
|
1110
1357
|
value: string;
|
|
1111
1358
|
section: string;
|
|
1112
|
-
name: string;
|
|
1113
1359
|
unit?: string | undefined;
|
|
1114
1360
|
emphasis?: boolean | undefined;
|
|
1115
1361
|
priority?: number | undefined;
|
|
@@ -1121,16 +1367,140 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1121
1367
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
1122
1368
|
}, "strict", z.ZodTypeAny, {
|
|
1123
1369
|
value: string;
|
|
1124
|
-
emphasis: boolean;
|
|
1125
1370
|
label: string;
|
|
1371
|
+
emphasis: boolean;
|
|
1126
1372
|
}, {
|
|
1127
1373
|
value: string;
|
|
1128
1374
|
label: string;
|
|
1129
1375
|
emphasis?: boolean | undefined;
|
|
1130
1376
|
}>, "many">>;
|
|
1377
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
1378
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1379
|
+
key: z.ZodString;
|
|
1380
|
+
label: z.ZodString;
|
|
1381
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
1382
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1383
|
+
id: z.ZodString;
|
|
1384
|
+
label: z.ZodString;
|
|
1385
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
1386
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
1387
|
+
value: z.ZodString;
|
|
1388
|
+
}, "strip", z.ZodTypeAny, {
|
|
1389
|
+
kind: "image" | "color";
|
|
1390
|
+
value: string;
|
|
1391
|
+
}, {
|
|
1392
|
+
kind: "image" | "color";
|
|
1393
|
+
value: string;
|
|
1394
|
+
}>>;
|
|
1395
|
+
}, "strip", z.ZodTypeAny, {
|
|
1396
|
+
label: string;
|
|
1397
|
+
id: string;
|
|
1398
|
+
swatch: {
|
|
1399
|
+
kind: "image" | "color";
|
|
1400
|
+
value: string;
|
|
1401
|
+
} | null;
|
|
1402
|
+
}, {
|
|
1403
|
+
label: string;
|
|
1404
|
+
id: string;
|
|
1405
|
+
swatch: {
|
|
1406
|
+
kind: "image" | "color";
|
|
1407
|
+
value: string;
|
|
1408
|
+
} | null;
|
|
1409
|
+
}>, "many">;
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
|
+
values: {
|
|
1412
|
+
label: string;
|
|
1413
|
+
id: string;
|
|
1414
|
+
swatch: {
|
|
1415
|
+
kind: "image" | "color";
|
|
1416
|
+
value: string;
|
|
1417
|
+
} | null;
|
|
1418
|
+
}[];
|
|
1419
|
+
kind: "pill" | "swatch";
|
|
1420
|
+
label: string;
|
|
1421
|
+
key: string;
|
|
1422
|
+
}, {
|
|
1423
|
+
values: {
|
|
1424
|
+
label: string;
|
|
1425
|
+
id: string;
|
|
1426
|
+
swatch: {
|
|
1427
|
+
kind: "image" | "color";
|
|
1428
|
+
value: string;
|
|
1429
|
+
} | null;
|
|
1430
|
+
}[];
|
|
1431
|
+
kind: "pill" | "swatch";
|
|
1432
|
+
label: string;
|
|
1433
|
+
key: string;
|
|
1434
|
+
}>, "many">;
|
|
1435
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1436
|
+
id: z.ZodString;
|
|
1437
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1438
|
+
price: z.ZodNumber;
|
|
1439
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
1440
|
+
in_stock: z.ZodBoolean;
|
|
1441
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1442
|
+
}, "strip", z.ZodTypeAny, {
|
|
1443
|
+
id: string;
|
|
1444
|
+
price: number;
|
|
1445
|
+
in_stock: boolean;
|
|
1446
|
+
selection: Record<string, string>;
|
|
1447
|
+
compare_at_price: number | null;
|
|
1448
|
+
featured_image?: string | undefined;
|
|
1449
|
+
}, {
|
|
1450
|
+
id: string;
|
|
1451
|
+
price: number;
|
|
1452
|
+
in_stock: boolean;
|
|
1453
|
+
selection: Record<string, string>;
|
|
1454
|
+
compare_at_price: number | null;
|
|
1455
|
+
featured_image?: string | undefined;
|
|
1456
|
+
}>, "many">;
|
|
1457
|
+
}, "strip", z.ZodTypeAny, {
|
|
1458
|
+
attributes: {
|
|
1459
|
+
values: {
|
|
1460
|
+
label: string;
|
|
1461
|
+
id: string;
|
|
1462
|
+
swatch: {
|
|
1463
|
+
kind: "image" | "color";
|
|
1464
|
+
value: string;
|
|
1465
|
+
} | null;
|
|
1466
|
+
}[];
|
|
1467
|
+
kind: "pill" | "swatch";
|
|
1468
|
+
label: string;
|
|
1469
|
+
key: string;
|
|
1470
|
+
}[];
|
|
1471
|
+
variants: {
|
|
1472
|
+
id: string;
|
|
1473
|
+
price: number;
|
|
1474
|
+
in_stock: boolean;
|
|
1475
|
+
selection: Record<string, string>;
|
|
1476
|
+
compare_at_price: number | null;
|
|
1477
|
+
featured_image?: string | undefined;
|
|
1478
|
+
}[];
|
|
1479
|
+
}, {
|
|
1480
|
+
attributes: {
|
|
1481
|
+
values: {
|
|
1482
|
+
label: string;
|
|
1483
|
+
id: string;
|
|
1484
|
+
swatch: {
|
|
1485
|
+
kind: "image" | "color";
|
|
1486
|
+
value: string;
|
|
1487
|
+
} | null;
|
|
1488
|
+
}[];
|
|
1489
|
+
kind: "pill" | "swatch";
|
|
1490
|
+
label: string;
|
|
1491
|
+
key: string;
|
|
1492
|
+
}[];
|
|
1493
|
+
variants: {
|
|
1494
|
+
id: string;
|
|
1495
|
+
price: number;
|
|
1496
|
+
in_stock: boolean;
|
|
1497
|
+
selection: Record<string, string>;
|
|
1498
|
+
compare_at_price: number | null;
|
|
1499
|
+
featured_image?: string | undefined;
|
|
1500
|
+
}[];
|
|
1501
|
+
}>>;
|
|
1131
1502
|
}, "strict", z.ZodTypeAny, {
|
|
1132
1503
|
name: string;
|
|
1133
|
-
id: string;
|
|
1134
1504
|
image: {
|
|
1135
1505
|
src: string;
|
|
1136
1506
|
alt: string;
|
|
@@ -1149,10 +1519,11 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1149
1519
|
url?: string | undefined;
|
|
1150
1520
|
} | undefined;
|
|
1151
1521
|
};
|
|
1522
|
+
id: string;
|
|
1152
1523
|
ctas: {
|
|
1153
1524
|
label: string;
|
|
1154
|
-
target: "_self" | "_blank";
|
|
1155
1525
|
variant: "primary" | "secondary" | "ghost";
|
|
1526
|
+
target: "_self" | "_blank";
|
|
1156
1527
|
href?: string | undefined;
|
|
1157
1528
|
actionId?: string | undefined;
|
|
1158
1529
|
}[];
|
|
@@ -1216,9 +1587,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1216
1587
|
max: number;
|
|
1217
1588
|
} | undefined;
|
|
1218
1589
|
specs?: {
|
|
1590
|
+
name: string;
|
|
1219
1591
|
value: string;
|
|
1220
1592
|
section: string;
|
|
1221
|
-
name: string;
|
|
1222
1593
|
emphasis: boolean;
|
|
1223
1594
|
unit?: string | undefined;
|
|
1224
1595
|
priority?: number | undefined;
|
|
@@ -1226,12 +1597,34 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1226
1597
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
1227
1598
|
attributes?: {
|
|
1228
1599
|
value: string;
|
|
1229
|
-
emphasis: boolean;
|
|
1230
1600
|
label: string;
|
|
1601
|
+
emphasis: boolean;
|
|
1231
1602
|
}[] | undefined;
|
|
1603
|
+
variants?: {
|
|
1604
|
+
attributes: {
|
|
1605
|
+
values: {
|
|
1606
|
+
label: string;
|
|
1607
|
+
id: string;
|
|
1608
|
+
swatch: {
|
|
1609
|
+
kind: "image" | "color";
|
|
1610
|
+
value: string;
|
|
1611
|
+
} | null;
|
|
1612
|
+
}[];
|
|
1613
|
+
kind: "pill" | "swatch";
|
|
1614
|
+
label: string;
|
|
1615
|
+
key: string;
|
|
1616
|
+
}[];
|
|
1617
|
+
variants: {
|
|
1618
|
+
id: string;
|
|
1619
|
+
price: number;
|
|
1620
|
+
in_stock: boolean;
|
|
1621
|
+
selection: Record<string, string>;
|
|
1622
|
+
compare_at_price: number | null;
|
|
1623
|
+
featured_image?: string | undefined;
|
|
1624
|
+
}[];
|
|
1625
|
+
} | undefined;
|
|
1232
1626
|
}, {
|
|
1233
1627
|
name: string;
|
|
1234
|
-
id: string;
|
|
1235
1628
|
image: {
|
|
1236
1629
|
src: string;
|
|
1237
1630
|
alt: string;
|
|
@@ -1250,11 +1643,12 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1250
1643
|
url?: string | undefined;
|
|
1251
1644
|
} | undefined;
|
|
1252
1645
|
};
|
|
1646
|
+
id: string;
|
|
1253
1647
|
ctas: {
|
|
1254
1648
|
label: string;
|
|
1649
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1255
1650
|
href?: string | undefined;
|
|
1256
1651
|
target?: "_self" | "_blank" | undefined;
|
|
1257
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1258
1652
|
actionId?: string | undefined;
|
|
1259
1653
|
}[];
|
|
1260
1654
|
tagline?: string | undefined;
|
|
@@ -1317,9 +1711,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1317
1711
|
max?: number | undefined;
|
|
1318
1712
|
} | undefined;
|
|
1319
1713
|
specs?: {
|
|
1714
|
+
name: string;
|
|
1320
1715
|
value: string;
|
|
1321
1716
|
section: string;
|
|
1322
|
-
name: string;
|
|
1323
1717
|
unit?: string | undefined;
|
|
1324
1718
|
emphasis?: boolean | undefined;
|
|
1325
1719
|
priority?: number | undefined;
|
|
@@ -1330,14 +1724,53 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1330
1724
|
label: string;
|
|
1331
1725
|
emphasis?: boolean | undefined;
|
|
1332
1726
|
}[] | undefined;
|
|
1727
|
+
variants?: {
|
|
1728
|
+
attributes: {
|
|
1729
|
+
values: {
|
|
1730
|
+
label: string;
|
|
1731
|
+
id: string;
|
|
1732
|
+
swatch: {
|
|
1733
|
+
kind: "image" | "color";
|
|
1734
|
+
value: string;
|
|
1735
|
+
} | null;
|
|
1736
|
+
}[];
|
|
1737
|
+
kind: "pill" | "swatch";
|
|
1738
|
+
label: string;
|
|
1739
|
+
key: string;
|
|
1740
|
+
}[];
|
|
1741
|
+
variants: {
|
|
1742
|
+
id: string;
|
|
1743
|
+
price: number;
|
|
1744
|
+
in_stock: boolean;
|
|
1745
|
+
selection: Record<string, string>;
|
|
1746
|
+
compare_at_price: number | null;
|
|
1747
|
+
featured_image?: string | undefined;
|
|
1748
|
+
}[];
|
|
1749
|
+
} | undefined;
|
|
1333
1750
|
}>, "many">;
|
|
1334
|
-
|
|
1335
|
-
|
|
1751
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1752
|
+
label: z.ZodString;
|
|
1753
|
+
valueA: z.ZodString;
|
|
1754
|
+
valueB: z.ZodString;
|
|
1755
|
+
valueC: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
valueD: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
}, "strip", z.ZodTypeAny, {
|
|
1758
|
+
label: string;
|
|
1759
|
+
valueA: string;
|
|
1760
|
+
valueB: string;
|
|
1761
|
+
valueC?: string | undefined;
|
|
1762
|
+
valueD?: string | undefined;
|
|
1763
|
+
}, {
|
|
1764
|
+
label: string;
|
|
1765
|
+
valueA: string;
|
|
1766
|
+
valueB: string;
|
|
1767
|
+
valueC?: string | undefined;
|
|
1768
|
+
valueD?: string | undefined;
|
|
1769
|
+
}>, "many">>;
|
|
1336
1770
|
heading: z.ZodOptional<z.ZodString>;
|
|
1337
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1338
1772
|
products: {
|
|
1339
1773
|
name: string;
|
|
1340
|
-
id: string;
|
|
1341
1774
|
image: {
|
|
1342
1775
|
src: string;
|
|
1343
1776
|
alt: string;
|
|
@@ -1356,10 +1789,11 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1356
1789
|
url?: string | undefined;
|
|
1357
1790
|
} | undefined;
|
|
1358
1791
|
};
|
|
1792
|
+
id: string;
|
|
1359
1793
|
ctas: {
|
|
1360
1794
|
label: string;
|
|
1361
|
-
target: "_self" | "_blank";
|
|
1362
1795
|
variant: "primary" | "secondary" | "ghost";
|
|
1796
|
+
target: "_self" | "_blank";
|
|
1363
1797
|
href?: string | undefined;
|
|
1364
1798
|
actionId?: string | undefined;
|
|
1365
1799
|
}[];
|
|
@@ -1423,9 +1857,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1423
1857
|
max: number;
|
|
1424
1858
|
} | undefined;
|
|
1425
1859
|
specs?: {
|
|
1860
|
+
name: string;
|
|
1426
1861
|
value: string;
|
|
1427
1862
|
section: string;
|
|
1428
|
-
name: string;
|
|
1429
1863
|
emphasis: boolean;
|
|
1430
1864
|
unit?: string | undefined;
|
|
1431
1865
|
priority?: number | undefined;
|
|
@@ -1433,17 +1867,44 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1433
1867
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
1434
1868
|
attributes?: {
|
|
1435
1869
|
value: string;
|
|
1436
|
-
emphasis: boolean;
|
|
1437
1870
|
label: string;
|
|
1871
|
+
emphasis: boolean;
|
|
1438
1872
|
}[] | undefined;
|
|
1873
|
+
variants?: {
|
|
1874
|
+
attributes: {
|
|
1875
|
+
values: {
|
|
1876
|
+
label: string;
|
|
1877
|
+
id: string;
|
|
1878
|
+
swatch: {
|
|
1879
|
+
kind: "image" | "color";
|
|
1880
|
+
value: string;
|
|
1881
|
+
} | null;
|
|
1882
|
+
}[];
|
|
1883
|
+
kind: "pill" | "swatch";
|
|
1884
|
+
label: string;
|
|
1885
|
+
key: string;
|
|
1886
|
+
}[];
|
|
1887
|
+
variants: {
|
|
1888
|
+
id: string;
|
|
1889
|
+
price: number;
|
|
1890
|
+
in_stock: boolean;
|
|
1891
|
+
selection: Record<string, string>;
|
|
1892
|
+
compare_at_price: number | null;
|
|
1893
|
+
featured_image?: string | undefined;
|
|
1894
|
+
}[];
|
|
1895
|
+
} | undefined;
|
|
1439
1896
|
}[];
|
|
1440
|
-
|
|
1441
|
-
|
|
1897
|
+
rows?: {
|
|
1898
|
+
label: string;
|
|
1899
|
+
valueA: string;
|
|
1900
|
+
valueB: string;
|
|
1901
|
+
valueC?: string | undefined;
|
|
1902
|
+
valueD?: string | undefined;
|
|
1903
|
+
}[] | undefined;
|
|
1442
1904
|
heading?: string | undefined;
|
|
1443
1905
|
}, {
|
|
1444
1906
|
products: {
|
|
1445
1907
|
name: string;
|
|
1446
|
-
id: string;
|
|
1447
1908
|
image: {
|
|
1448
1909
|
src: string;
|
|
1449
1910
|
alt: string;
|
|
@@ -1462,11 +1923,12 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1462
1923
|
url?: string | undefined;
|
|
1463
1924
|
} | undefined;
|
|
1464
1925
|
};
|
|
1926
|
+
id: string;
|
|
1465
1927
|
ctas: {
|
|
1466
1928
|
label: string;
|
|
1929
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1467
1930
|
href?: string | undefined;
|
|
1468
1931
|
target?: "_self" | "_blank" | undefined;
|
|
1469
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1470
1932
|
actionId?: string | undefined;
|
|
1471
1933
|
}[];
|
|
1472
1934
|
tagline?: string | undefined;
|
|
@@ -1529,9 +1991,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1529
1991
|
max?: number | undefined;
|
|
1530
1992
|
} | undefined;
|
|
1531
1993
|
specs?: {
|
|
1994
|
+
name: string;
|
|
1532
1995
|
value: string;
|
|
1533
1996
|
section: string;
|
|
1534
|
-
name: string;
|
|
1535
1997
|
unit?: string | undefined;
|
|
1536
1998
|
emphasis?: boolean | undefined;
|
|
1537
1999
|
priority?: number | undefined;
|
|
@@ -1542,9 +2004,37 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1542
2004
|
label: string;
|
|
1543
2005
|
emphasis?: boolean | undefined;
|
|
1544
2006
|
}[] | undefined;
|
|
2007
|
+
variants?: {
|
|
2008
|
+
attributes: {
|
|
2009
|
+
values: {
|
|
2010
|
+
label: string;
|
|
2011
|
+
id: string;
|
|
2012
|
+
swatch: {
|
|
2013
|
+
kind: "image" | "color";
|
|
2014
|
+
value: string;
|
|
2015
|
+
} | null;
|
|
2016
|
+
}[];
|
|
2017
|
+
kind: "pill" | "swatch";
|
|
2018
|
+
label: string;
|
|
2019
|
+
key: string;
|
|
2020
|
+
}[];
|
|
2021
|
+
variants: {
|
|
2022
|
+
id: string;
|
|
2023
|
+
price: number;
|
|
2024
|
+
in_stock: boolean;
|
|
2025
|
+
selection: Record<string, string>;
|
|
2026
|
+
compare_at_price: number | null;
|
|
2027
|
+
featured_image?: string | undefined;
|
|
2028
|
+
}[];
|
|
2029
|
+
} | undefined;
|
|
1545
2030
|
}[];
|
|
1546
|
-
|
|
1547
|
-
|
|
2031
|
+
rows?: {
|
|
2032
|
+
label: string;
|
|
2033
|
+
valueA: string;
|
|
2034
|
+
valueB: string;
|
|
2035
|
+
valueC?: string | undefined;
|
|
2036
|
+
valueD?: string | undefined;
|
|
2037
|
+
}[] | undefined;
|
|
1548
2038
|
heading?: string | undefined;
|
|
1549
2039
|
}>;
|
|
1550
2040
|
export declare const heroSchema: z.ZodObject<{
|
|
@@ -1732,15 +2222,15 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1732
2222
|
actionId: z.ZodOptional<z.ZodString>;
|
|
1733
2223
|
}, "strict", z.ZodTypeAny, {
|
|
1734
2224
|
label: string;
|
|
1735
|
-
target: "_self" | "_blank";
|
|
1736
2225
|
variant: "primary" | "secondary" | "ghost";
|
|
2226
|
+
target: "_self" | "_blank";
|
|
1737
2227
|
href?: string | undefined;
|
|
1738
2228
|
actionId?: string | undefined;
|
|
1739
2229
|
}, {
|
|
1740
2230
|
label: string;
|
|
2231
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1741
2232
|
href?: string | undefined;
|
|
1742
2233
|
target?: "_self" | "_blank" | undefined;
|
|
1743
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1744
2234
|
actionId?: string | undefined;
|
|
1745
2235
|
}>, "many">;
|
|
1746
2236
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1871,16 +2361,16 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1871
2361
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
1872
2362
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1873
2363
|
}, "strict", z.ZodTypeAny, {
|
|
2364
|
+
name: string;
|
|
1874
2365
|
value: string;
|
|
1875
2366
|
section: string;
|
|
1876
|
-
name: string;
|
|
1877
2367
|
emphasis: boolean;
|
|
1878
2368
|
unit?: string | undefined;
|
|
1879
2369
|
priority?: number | undefined;
|
|
1880
2370
|
}, {
|
|
2371
|
+
name: string;
|
|
1881
2372
|
value: string;
|
|
1882
2373
|
section: string;
|
|
1883
|
-
name: string;
|
|
1884
2374
|
unit?: string | undefined;
|
|
1885
2375
|
emphasis?: boolean | undefined;
|
|
1886
2376
|
priority?: number | undefined;
|
|
@@ -1892,16 +2382,140 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1892
2382
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
1893
2383
|
}, "strict", z.ZodTypeAny, {
|
|
1894
2384
|
value: string;
|
|
1895
|
-
emphasis: boolean;
|
|
1896
2385
|
label: string;
|
|
2386
|
+
emphasis: boolean;
|
|
1897
2387
|
}, {
|
|
1898
2388
|
value: string;
|
|
1899
2389
|
label: string;
|
|
1900
2390
|
emphasis?: boolean | undefined;
|
|
1901
2391
|
}>, "many">>;
|
|
2392
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
2393
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
2394
|
+
key: z.ZodString;
|
|
2395
|
+
label: z.ZodString;
|
|
2396
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
2397
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2398
|
+
id: z.ZodString;
|
|
2399
|
+
label: z.ZodString;
|
|
2400
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
2401
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
2402
|
+
value: z.ZodString;
|
|
2403
|
+
}, "strip", z.ZodTypeAny, {
|
|
2404
|
+
kind: "image" | "color";
|
|
2405
|
+
value: string;
|
|
2406
|
+
}, {
|
|
2407
|
+
kind: "image" | "color";
|
|
2408
|
+
value: string;
|
|
2409
|
+
}>>;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
label: string;
|
|
2412
|
+
id: string;
|
|
2413
|
+
swatch: {
|
|
2414
|
+
kind: "image" | "color";
|
|
2415
|
+
value: string;
|
|
2416
|
+
} | null;
|
|
2417
|
+
}, {
|
|
2418
|
+
label: string;
|
|
2419
|
+
id: string;
|
|
2420
|
+
swatch: {
|
|
2421
|
+
kind: "image" | "color";
|
|
2422
|
+
value: string;
|
|
2423
|
+
} | null;
|
|
2424
|
+
}>, "many">;
|
|
2425
|
+
}, "strip", z.ZodTypeAny, {
|
|
2426
|
+
values: {
|
|
2427
|
+
label: string;
|
|
2428
|
+
id: string;
|
|
2429
|
+
swatch: {
|
|
2430
|
+
kind: "image" | "color";
|
|
2431
|
+
value: string;
|
|
2432
|
+
} | null;
|
|
2433
|
+
}[];
|
|
2434
|
+
kind: "pill" | "swatch";
|
|
2435
|
+
label: string;
|
|
2436
|
+
key: string;
|
|
2437
|
+
}, {
|
|
2438
|
+
values: {
|
|
2439
|
+
label: string;
|
|
2440
|
+
id: string;
|
|
2441
|
+
swatch: {
|
|
2442
|
+
kind: "image" | "color";
|
|
2443
|
+
value: string;
|
|
2444
|
+
} | null;
|
|
2445
|
+
}[];
|
|
2446
|
+
kind: "pill" | "swatch";
|
|
2447
|
+
label: string;
|
|
2448
|
+
key: string;
|
|
2449
|
+
}>, "many">;
|
|
2450
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2451
|
+
id: z.ZodString;
|
|
2452
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2453
|
+
price: z.ZodNumber;
|
|
2454
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
2455
|
+
in_stock: z.ZodBoolean;
|
|
2456
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2457
|
+
}, "strip", z.ZodTypeAny, {
|
|
2458
|
+
id: string;
|
|
2459
|
+
price: number;
|
|
2460
|
+
in_stock: boolean;
|
|
2461
|
+
selection: Record<string, string>;
|
|
2462
|
+
compare_at_price: number | null;
|
|
2463
|
+
featured_image?: string | undefined;
|
|
2464
|
+
}, {
|
|
2465
|
+
id: string;
|
|
2466
|
+
price: number;
|
|
2467
|
+
in_stock: boolean;
|
|
2468
|
+
selection: Record<string, string>;
|
|
2469
|
+
compare_at_price: number | null;
|
|
2470
|
+
featured_image?: string | undefined;
|
|
2471
|
+
}>, "many">;
|
|
2472
|
+
}, "strip", z.ZodTypeAny, {
|
|
2473
|
+
attributes: {
|
|
2474
|
+
values: {
|
|
2475
|
+
label: string;
|
|
2476
|
+
id: string;
|
|
2477
|
+
swatch: {
|
|
2478
|
+
kind: "image" | "color";
|
|
2479
|
+
value: string;
|
|
2480
|
+
} | null;
|
|
2481
|
+
}[];
|
|
2482
|
+
kind: "pill" | "swatch";
|
|
2483
|
+
label: string;
|
|
2484
|
+
key: string;
|
|
2485
|
+
}[];
|
|
2486
|
+
variants: {
|
|
2487
|
+
id: string;
|
|
2488
|
+
price: number;
|
|
2489
|
+
in_stock: boolean;
|
|
2490
|
+
selection: Record<string, string>;
|
|
2491
|
+
compare_at_price: number | null;
|
|
2492
|
+
featured_image?: string | undefined;
|
|
2493
|
+
}[];
|
|
2494
|
+
}, {
|
|
2495
|
+
attributes: {
|
|
2496
|
+
values: {
|
|
2497
|
+
label: string;
|
|
2498
|
+
id: string;
|
|
2499
|
+
swatch: {
|
|
2500
|
+
kind: "image" | "color";
|
|
2501
|
+
value: string;
|
|
2502
|
+
} | null;
|
|
2503
|
+
}[];
|
|
2504
|
+
kind: "pill" | "swatch";
|
|
2505
|
+
label: string;
|
|
2506
|
+
key: string;
|
|
2507
|
+
}[];
|
|
2508
|
+
variants: {
|
|
2509
|
+
id: string;
|
|
2510
|
+
price: number;
|
|
2511
|
+
in_stock: boolean;
|
|
2512
|
+
selection: Record<string, string>;
|
|
2513
|
+
compare_at_price: number | null;
|
|
2514
|
+
featured_image?: string | undefined;
|
|
2515
|
+
}[];
|
|
2516
|
+
}>>;
|
|
1902
2517
|
}, "strict", z.ZodTypeAny, {
|
|
1903
2518
|
name: string;
|
|
1904
|
-
id: string;
|
|
1905
2519
|
image: {
|
|
1906
2520
|
src: string;
|
|
1907
2521
|
alt: string;
|
|
@@ -1920,10 +2534,11 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1920
2534
|
url?: string | undefined;
|
|
1921
2535
|
} | undefined;
|
|
1922
2536
|
};
|
|
2537
|
+
id: string;
|
|
1923
2538
|
ctas: {
|
|
1924
2539
|
label: string;
|
|
1925
|
-
target: "_self" | "_blank";
|
|
1926
2540
|
variant: "primary" | "secondary" | "ghost";
|
|
2541
|
+
target: "_self" | "_blank";
|
|
1927
2542
|
href?: string | undefined;
|
|
1928
2543
|
actionId?: string | undefined;
|
|
1929
2544
|
}[];
|
|
@@ -1987,9 +2602,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1987
2602
|
max: number;
|
|
1988
2603
|
} | undefined;
|
|
1989
2604
|
specs?: {
|
|
2605
|
+
name: string;
|
|
1990
2606
|
value: string;
|
|
1991
2607
|
section: string;
|
|
1992
|
-
name: string;
|
|
1993
2608
|
emphasis: boolean;
|
|
1994
2609
|
unit?: string | undefined;
|
|
1995
2610
|
priority?: number | undefined;
|
|
@@ -1997,12 +2612,34 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
1997
2612
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
1998
2613
|
attributes?: {
|
|
1999
2614
|
value: string;
|
|
2000
|
-
emphasis: boolean;
|
|
2001
2615
|
label: string;
|
|
2616
|
+
emphasis: boolean;
|
|
2002
2617
|
}[] | undefined;
|
|
2618
|
+
variants?: {
|
|
2619
|
+
attributes: {
|
|
2620
|
+
values: {
|
|
2621
|
+
label: string;
|
|
2622
|
+
id: string;
|
|
2623
|
+
swatch: {
|
|
2624
|
+
kind: "image" | "color";
|
|
2625
|
+
value: string;
|
|
2626
|
+
} | null;
|
|
2627
|
+
}[];
|
|
2628
|
+
kind: "pill" | "swatch";
|
|
2629
|
+
label: string;
|
|
2630
|
+
key: string;
|
|
2631
|
+
}[];
|
|
2632
|
+
variants: {
|
|
2633
|
+
id: string;
|
|
2634
|
+
price: number;
|
|
2635
|
+
in_stock: boolean;
|
|
2636
|
+
selection: Record<string, string>;
|
|
2637
|
+
compare_at_price: number | null;
|
|
2638
|
+
featured_image?: string | undefined;
|
|
2639
|
+
}[];
|
|
2640
|
+
} | undefined;
|
|
2003
2641
|
}, {
|
|
2004
2642
|
name: string;
|
|
2005
|
-
id: string;
|
|
2006
2643
|
image: {
|
|
2007
2644
|
src: string;
|
|
2008
2645
|
alt: string;
|
|
@@ -2021,11 +2658,12 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2021
2658
|
url?: string | undefined;
|
|
2022
2659
|
} | undefined;
|
|
2023
2660
|
};
|
|
2661
|
+
id: string;
|
|
2024
2662
|
ctas: {
|
|
2025
2663
|
label: string;
|
|
2664
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2026
2665
|
href?: string | undefined;
|
|
2027
2666
|
target?: "_self" | "_blank" | undefined;
|
|
2028
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2029
2667
|
actionId?: string | undefined;
|
|
2030
2668
|
}[];
|
|
2031
2669
|
tagline?: string | undefined;
|
|
@@ -2088,9 +2726,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2088
2726
|
max?: number | undefined;
|
|
2089
2727
|
} | undefined;
|
|
2090
2728
|
specs?: {
|
|
2729
|
+
name: string;
|
|
2091
2730
|
value: string;
|
|
2092
2731
|
section: string;
|
|
2093
|
-
name: string;
|
|
2094
2732
|
unit?: string | undefined;
|
|
2095
2733
|
emphasis?: boolean | undefined;
|
|
2096
2734
|
priority?: number | undefined;
|
|
@@ -2101,13 +2739,35 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2101
2739
|
label: string;
|
|
2102
2740
|
emphasis?: boolean | undefined;
|
|
2103
2741
|
}[] | undefined;
|
|
2742
|
+
variants?: {
|
|
2743
|
+
attributes: {
|
|
2744
|
+
values: {
|
|
2745
|
+
label: string;
|
|
2746
|
+
id: string;
|
|
2747
|
+
swatch: {
|
|
2748
|
+
kind: "image" | "color";
|
|
2749
|
+
value: string;
|
|
2750
|
+
} | null;
|
|
2751
|
+
}[];
|
|
2752
|
+
kind: "pill" | "swatch";
|
|
2753
|
+
label: string;
|
|
2754
|
+
key: string;
|
|
2755
|
+
}[];
|
|
2756
|
+
variants: {
|
|
2757
|
+
id: string;
|
|
2758
|
+
price: number;
|
|
2759
|
+
in_stock: boolean;
|
|
2760
|
+
selection: Record<string, string>;
|
|
2761
|
+
compare_at_price: number | null;
|
|
2762
|
+
featured_image?: string | undefined;
|
|
2763
|
+
}[];
|
|
2764
|
+
} | undefined;
|
|
2104
2765
|
}>;
|
|
2105
2766
|
layout: z.ZodDefault<z.ZodEnum<["image-left", "image-right", "image-top"]>>;
|
|
2106
2767
|
longCopy: z.ZodOptional<z.ZodString>;
|
|
2107
2768
|
}, "strip", z.ZodTypeAny, {
|
|
2108
2769
|
product: {
|
|
2109
2770
|
name: string;
|
|
2110
|
-
id: string;
|
|
2111
2771
|
image: {
|
|
2112
2772
|
src: string;
|
|
2113
2773
|
alt: string;
|
|
@@ -2126,10 +2786,11 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2126
2786
|
url?: string | undefined;
|
|
2127
2787
|
} | undefined;
|
|
2128
2788
|
};
|
|
2789
|
+
id: string;
|
|
2129
2790
|
ctas: {
|
|
2130
2791
|
label: string;
|
|
2131
|
-
target: "_self" | "_blank";
|
|
2132
2792
|
variant: "primary" | "secondary" | "ghost";
|
|
2793
|
+
target: "_self" | "_blank";
|
|
2133
2794
|
href?: string | undefined;
|
|
2134
2795
|
actionId?: string | undefined;
|
|
2135
2796
|
}[];
|
|
@@ -2193,9 +2854,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2193
2854
|
max: number;
|
|
2194
2855
|
} | undefined;
|
|
2195
2856
|
specs?: {
|
|
2857
|
+
name: string;
|
|
2196
2858
|
value: string;
|
|
2197
2859
|
section: string;
|
|
2198
|
-
name: string;
|
|
2199
2860
|
emphasis: boolean;
|
|
2200
2861
|
unit?: string | undefined;
|
|
2201
2862
|
priority?: number | undefined;
|
|
@@ -2203,16 +2864,38 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2203
2864
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
2204
2865
|
attributes?: {
|
|
2205
2866
|
value: string;
|
|
2206
|
-
emphasis: boolean;
|
|
2207
2867
|
label: string;
|
|
2868
|
+
emphasis: boolean;
|
|
2208
2869
|
}[] | undefined;
|
|
2870
|
+
variants?: {
|
|
2871
|
+
attributes: {
|
|
2872
|
+
values: {
|
|
2873
|
+
label: string;
|
|
2874
|
+
id: string;
|
|
2875
|
+
swatch: {
|
|
2876
|
+
kind: "image" | "color";
|
|
2877
|
+
value: string;
|
|
2878
|
+
} | null;
|
|
2879
|
+
}[];
|
|
2880
|
+
kind: "pill" | "swatch";
|
|
2881
|
+
label: string;
|
|
2882
|
+
key: string;
|
|
2883
|
+
}[];
|
|
2884
|
+
variants: {
|
|
2885
|
+
id: string;
|
|
2886
|
+
price: number;
|
|
2887
|
+
in_stock: boolean;
|
|
2888
|
+
selection: Record<string, string>;
|
|
2889
|
+
compare_at_price: number | null;
|
|
2890
|
+
featured_image?: string | undefined;
|
|
2891
|
+
}[];
|
|
2892
|
+
} | undefined;
|
|
2209
2893
|
};
|
|
2210
2894
|
layout: "image-left" | "image-right" | "image-top";
|
|
2211
2895
|
longCopy?: string | undefined;
|
|
2212
2896
|
}, {
|
|
2213
2897
|
product: {
|
|
2214
2898
|
name: string;
|
|
2215
|
-
id: string;
|
|
2216
2899
|
image: {
|
|
2217
2900
|
src: string;
|
|
2218
2901
|
alt: string;
|
|
@@ -2231,11 +2914,12 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2231
2914
|
url?: string | undefined;
|
|
2232
2915
|
} | undefined;
|
|
2233
2916
|
};
|
|
2917
|
+
id: string;
|
|
2234
2918
|
ctas: {
|
|
2235
2919
|
label: string;
|
|
2920
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2236
2921
|
href?: string | undefined;
|
|
2237
2922
|
target?: "_self" | "_blank" | undefined;
|
|
2238
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2239
2923
|
actionId?: string | undefined;
|
|
2240
2924
|
}[];
|
|
2241
2925
|
tagline?: string | undefined;
|
|
@@ -2298,9 +2982,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2298
2982
|
max?: number | undefined;
|
|
2299
2983
|
} | undefined;
|
|
2300
2984
|
specs?: {
|
|
2985
|
+
name: string;
|
|
2301
2986
|
value: string;
|
|
2302
2987
|
section: string;
|
|
2303
|
-
name: string;
|
|
2304
2988
|
unit?: string | undefined;
|
|
2305
2989
|
emphasis?: boolean | undefined;
|
|
2306
2990
|
priority?: number | undefined;
|
|
@@ -2311,6 +2995,29 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2311
2995
|
label: string;
|
|
2312
2996
|
emphasis?: boolean | undefined;
|
|
2313
2997
|
}[] | undefined;
|
|
2998
|
+
variants?: {
|
|
2999
|
+
attributes: {
|
|
3000
|
+
values: {
|
|
3001
|
+
label: string;
|
|
3002
|
+
id: string;
|
|
3003
|
+
swatch: {
|
|
3004
|
+
kind: "image" | "color";
|
|
3005
|
+
value: string;
|
|
3006
|
+
} | null;
|
|
3007
|
+
}[];
|
|
3008
|
+
kind: "pill" | "swatch";
|
|
3009
|
+
label: string;
|
|
3010
|
+
key: string;
|
|
3011
|
+
}[];
|
|
3012
|
+
variants: {
|
|
3013
|
+
id: string;
|
|
3014
|
+
price: number;
|
|
3015
|
+
in_stock: boolean;
|
|
3016
|
+
selection: Record<string, string>;
|
|
3017
|
+
compare_at_price: number | null;
|
|
3018
|
+
featured_image?: string | undefined;
|
|
3019
|
+
}[];
|
|
3020
|
+
} | undefined;
|
|
2314
3021
|
};
|
|
2315
3022
|
layout?: "image-left" | "image-right" | "image-top" | undefined;
|
|
2316
3023
|
longCopy?: string | undefined;
|
|
@@ -2500,15 +3207,15 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2500
3207
|
actionId: z.ZodOptional<z.ZodString>;
|
|
2501
3208
|
}, "strict", z.ZodTypeAny, {
|
|
2502
3209
|
label: string;
|
|
2503
|
-
target: "_self" | "_blank";
|
|
2504
3210
|
variant: "primary" | "secondary" | "ghost";
|
|
3211
|
+
target: "_self" | "_blank";
|
|
2505
3212
|
href?: string | undefined;
|
|
2506
3213
|
actionId?: string | undefined;
|
|
2507
3214
|
}, {
|
|
2508
3215
|
label: string;
|
|
3216
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2509
3217
|
href?: string | undefined;
|
|
2510
3218
|
target?: "_self" | "_blank" | undefined;
|
|
2511
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2512
3219
|
actionId?: string | undefined;
|
|
2513
3220
|
}>, "many">;
|
|
2514
3221
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -2639,16 +3346,16 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2639
3346
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
2640
3347
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
2641
3348
|
}, "strict", z.ZodTypeAny, {
|
|
3349
|
+
name: string;
|
|
2642
3350
|
value: string;
|
|
2643
3351
|
section: string;
|
|
2644
|
-
name: string;
|
|
2645
3352
|
emphasis: boolean;
|
|
2646
3353
|
unit?: string | undefined;
|
|
2647
3354
|
priority?: number | undefined;
|
|
2648
3355
|
}, {
|
|
3356
|
+
name: string;
|
|
2649
3357
|
value: string;
|
|
2650
3358
|
section: string;
|
|
2651
|
-
name: string;
|
|
2652
3359
|
unit?: string | undefined;
|
|
2653
3360
|
emphasis?: boolean | undefined;
|
|
2654
3361
|
priority?: number | undefined;
|
|
@@ -2660,16 +3367,140 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2660
3367
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
2661
3368
|
}, "strict", z.ZodTypeAny, {
|
|
2662
3369
|
value: string;
|
|
2663
|
-
emphasis: boolean;
|
|
2664
3370
|
label: string;
|
|
3371
|
+
emphasis: boolean;
|
|
2665
3372
|
}, {
|
|
2666
3373
|
value: string;
|
|
2667
3374
|
label: string;
|
|
2668
3375
|
emphasis?: boolean | undefined;
|
|
2669
3376
|
}>, "many">>;
|
|
3377
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
3378
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
3379
|
+
key: z.ZodString;
|
|
3380
|
+
label: z.ZodString;
|
|
3381
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
3382
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3383
|
+
id: z.ZodString;
|
|
3384
|
+
label: z.ZodString;
|
|
3385
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
3386
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
3387
|
+
value: z.ZodString;
|
|
3388
|
+
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
kind: "image" | "color";
|
|
3390
|
+
value: string;
|
|
3391
|
+
}, {
|
|
3392
|
+
kind: "image" | "color";
|
|
3393
|
+
value: string;
|
|
3394
|
+
}>>;
|
|
3395
|
+
}, "strip", z.ZodTypeAny, {
|
|
3396
|
+
label: string;
|
|
3397
|
+
id: string;
|
|
3398
|
+
swatch: {
|
|
3399
|
+
kind: "image" | "color";
|
|
3400
|
+
value: string;
|
|
3401
|
+
} | null;
|
|
3402
|
+
}, {
|
|
3403
|
+
label: string;
|
|
3404
|
+
id: string;
|
|
3405
|
+
swatch: {
|
|
3406
|
+
kind: "image" | "color";
|
|
3407
|
+
value: string;
|
|
3408
|
+
} | null;
|
|
3409
|
+
}>, "many">;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
values: {
|
|
3412
|
+
label: string;
|
|
3413
|
+
id: string;
|
|
3414
|
+
swatch: {
|
|
3415
|
+
kind: "image" | "color";
|
|
3416
|
+
value: string;
|
|
3417
|
+
} | null;
|
|
3418
|
+
}[];
|
|
3419
|
+
kind: "pill" | "swatch";
|
|
3420
|
+
label: string;
|
|
3421
|
+
key: string;
|
|
3422
|
+
}, {
|
|
3423
|
+
values: {
|
|
3424
|
+
label: string;
|
|
3425
|
+
id: string;
|
|
3426
|
+
swatch: {
|
|
3427
|
+
kind: "image" | "color";
|
|
3428
|
+
value: string;
|
|
3429
|
+
} | null;
|
|
3430
|
+
}[];
|
|
3431
|
+
kind: "pill" | "swatch";
|
|
3432
|
+
label: string;
|
|
3433
|
+
key: string;
|
|
3434
|
+
}>, "many">;
|
|
3435
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3436
|
+
id: z.ZodString;
|
|
3437
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3438
|
+
price: z.ZodNumber;
|
|
3439
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
3440
|
+
in_stock: z.ZodBoolean;
|
|
3441
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3442
|
+
}, "strip", z.ZodTypeAny, {
|
|
3443
|
+
id: string;
|
|
3444
|
+
price: number;
|
|
3445
|
+
in_stock: boolean;
|
|
3446
|
+
selection: Record<string, string>;
|
|
3447
|
+
compare_at_price: number | null;
|
|
3448
|
+
featured_image?: string | undefined;
|
|
3449
|
+
}, {
|
|
3450
|
+
id: string;
|
|
3451
|
+
price: number;
|
|
3452
|
+
in_stock: boolean;
|
|
3453
|
+
selection: Record<string, string>;
|
|
3454
|
+
compare_at_price: number | null;
|
|
3455
|
+
featured_image?: string | undefined;
|
|
3456
|
+
}>, "many">;
|
|
3457
|
+
}, "strip", z.ZodTypeAny, {
|
|
3458
|
+
attributes: {
|
|
3459
|
+
values: {
|
|
3460
|
+
label: string;
|
|
3461
|
+
id: string;
|
|
3462
|
+
swatch: {
|
|
3463
|
+
kind: "image" | "color";
|
|
3464
|
+
value: string;
|
|
3465
|
+
} | null;
|
|
3466
|
+
}[];
|
|
3467
|
+
kind: "pill" | "swatch";
|
|
3468
|
+
label: string;
|
|
3469
|
+
key: string;
|
|
3470
|
+
}[];
|
|
3471
|
+
variants: {
|
|
3472
|
+
id: string;
|
|
3473
|
+
price: number;
|
|
3474
|
+
in_stock: boolean;
|
|
3475
|
+
selection: Record<string, string>;
|
|
3476
|
+
compare_at_price: number | null;
|
|
3477
|
+
featured_image?: string | undefined;
|
|
3478
|
+
}[];
|
|
3479
|
+
}, {
|
|
3480
|
+
attributes: {
|
|
3481
|
+
values: {
|
|
3482
|
+
label: string;
|
|
3483
|
+
id: string;
|
|
3484
|
+
swatch: {
|
|
3485
|
+
kind: "image" | "color";
|
|
3486
|
+
value: string;
|
|
3487
|
+
} | null;
|
|
3488
|
+
}[];
|
|
3489
|
+
kind: "pill" | "swatch";
|
|
3490
|
+
label: string;
|
|
3491
|
+
key: string;
|
|
3492
|
+
}[];
|
|
3493
|
+
variants: {
|
|
3494
|
+
id: string;
|
|
3495
|
+
price: number;
|
|
3496
|
+
in_stock: boolean;
|
|
3497
|
+
selection: Record<string, string>;
|
|
3498
|
+
compare_at_price: number | null;
|
|
3499
|
+
featured_image?: string | undefined;
|
|
3500
|
+
}[];
|
|
3501
|
+
}>>;
|
|
2670
3502
|
}, "strict", z.ZodTypeAny, {
|
|
2671
3503
|
name: string;
|
|
2672
|
-
id: string;
|
|
2673
3504
|
image: {
|
|
2674
3505
|
src: string;
|
|
2675
3506
|
alt: string;
|
|
@@ -2688,10 +3519,11 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2688
3519
|
url?: string | undefined;
|
|
2689
3520
|
} | undefined;
|
|
2690
3521
|
};
|
|
3522
|
+
id: string;
|
|
2691
3523
|
ctas: {
|
|
2692
3524
|
label: string;
|
|
2693
|
-
target: "_self" | "_blank";
|
|
2694
3525
|
variant: "primary" | "secondary" | "ghost";
|
|
3526
|
+
target: "_self" | "_blank";
|
|
2695
3527
|
href?: string | undefined;
|
|
2696
3528
|
actionId?: string | undefined;
|
|
2697
3529
|
}[];
|
|
@@ -2755,9 +3587,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2755
3587
|
max: number;
|
|
2756
3588
|
} | undefined;
|
|
2757
3589
|
specs?: {
|
|
3590
|
+
name: string;
|
|
2758
3591
|
value: string;
|
|
2759
3592
|
section: string;
|
|
2760
|
-
name: string;
|
|
2761
3593
|
emphasis: boolean;
|
|
2762
3594
|
unit?: string | undefined;
|
|
2763
3595
|
priority?: number | undefined;
|
|
@@ -2765,12 +3597,34 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2765
3597
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
2766
3598
|
attributes?: {
|
|
2767
3599
|
value: string;
|
|
2768
|
-
emphasis: boolean;
|
|
2769
3600
|
label: string;
|
|
3601
|
+
emphasis: boolean;
|
|
2770
3602
|
}[] | undefined;
|
|
3603
|
+
variants?: {
|
|
3604
|
+
attributes: {
|
|
3605
|
+
values: {
|
|
3606
|
+
label: string;
|
|
3607
|
+
id: string;
|
|
3608
|
+
swatch: {
|
|
3609
|
+
kind: "image" | "color";
|
|
3610
|
+
value: string;
|
|
3611
|
+
} | null;
|
|
3612
|
+
}[];
|
|
3613
|
+
kind: "pill" | "swatch";
|
|
3614
|
+
label: string;
|
|
3615
|
+
key: string;
|
|
3616
|
+
}[];
|
|
3617
|
+
variants: {
|
|
3618
|
+
id: string;
|
|
3619
|
+
price: number;
|
|
3620
|
+
in_stock: boolean;
|
|
3621
|
+
selection: Record<string, string>;
|
|
3622
|
+
compare_at_price: number | null;
|
|
3623
|
+
featured_image?: string | undefined;
|
|
3624
|
+
}[];
|
|
3625
|
+
} | undefined;
|
|
2771
3626
|
}, {
|
|
2772
3627
|
name: string;
|
|
2773
|
-
id: string;
|
|
2774
3628
|
image: {
|
|
2775
3629
|
src: string;
|
|
2776
3630
|
alt: string;
|
|
@@ -2789,11 +3643,12 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2789
3643
|
url?: string | undefined;
|
|
2790
3644
|
} | undefined;
|
|
2791
3645
|
};
|
|
3646
|
+
id: string;
|
|
2792
3647
|
ctas: {
|
|
2793
3648
|
label: string;
|
|
3649
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2794
3650
|
href?: string | undefined;
|
|
2795
3651
|
target?: "_self" | "_blank" | undefined;
|
|
2796
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2797
3652
|
actionId?: string | undefined;
|
|
2798
3653
|
}[];
|
|
2799
3654
|
tagline?: string | undefined;
|
|
@@ -2856,9 +3711,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2856
3711
|
max?: number | undefined;
|
|
2857
3712
|
} | undefined;
|
|
2858
3713
|
specs?: {
|
|
3714
|
+
name: string;
|
|
2859
3715
|
value: string;
|
|
2860
3716
|
section: string;
|
|
2861
|
-
name: string;
|
|
2862
3717
|
unit?: string | undefined;
|
|
2863
3718
|
emphasis?: boolean | undefined;
|
|
2864
3719
|
priority?: number | undefined;
|
|
@@ -2869,13 +3724,35 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2869
3724
|
label: string;
|
|
2870
3725
|
emphasis?: boolean | undefined;
|
|
2871
3726
|
}[] | undefined;
|
|
3727
|
+
variants?: {
|
|
3728
|
+
attributes: {
|
|
3729
|
+
values: {
|
|
3730
|
+
label: string;
|
|
3731
|
+
id: string;
|
|
3732
|
+
swatch: {
|
|
3733
|
+
kind: "image" | "color";
|
|
3734
|
+
value: string;
|
|
3735
|
+
} | null;
|
|
3736
|
+
}[];
|
|
3737
|
+
kind: "pill" | "swatch";
|
|
3738
|
+
label: string;
|
|
3739
|
+
key: string;
|
|
3740
|
+
}[];
|
|
3741
|
+
variants: {
|
|
3742
|
+
id: string;
|
|
3743
|
+
price: number;
|
|
3744
|
+
in_stock: boolean;
|
|
3745
|
+
selection: Record<string, string>;
|
|
3746
|
+
compare_at_price: number | null;
|
|
3747
|
+
featured_image?: string | undefined;
|
|
3748
|
+
}[];
|
|
3749
|
+
} | undefined;
|
|
2872
3750
|
}>, "many">;
|
|
2873
3751
|
desktopColumns: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
2874
3752
|
heading: z.ZodOptional<z.ZodString>;
|
|
2875
3753
|
}, "strip", z.ZodTypeAny, {
|
|
2876
3754
|
products: {
|
|
2877
3755
|
name: string;
|
|
2878
|
-
id: string;
|
|
2879
3756
|
image: {
|
|
2880
3757
|
src: string;
|
|
2881
3758
|
alt: string;
|
|
@@ -2894,10 +3771,11 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2894
3771
|
url?: string | undefined;
|
|
2895
3772
|
} | undefined;
|
|
2896
3773
|
};
|
|
3774
|
+
id: string;
|
|
2897
3775
|
ctas: {
|
|
2898
3776
|
label: string;
|
|
2899
|
-
target: "_self" | "_blank";
|
|
2900
3777
|
variant: "primary" | "secondary" | "ghost";
|
|
3778
|
+
target: "_self" | "_blank";
|
|
2901
3779
|
href?: string | undefined;
|
|
2902
3780
|
actionId?: string | undefined;
|
|
2903
3781
|
}[];
|
|
@@ -2961,9 +3839,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2961
3839
|
max: number;
|
|
2962
3840
|
} | undefined;
|
|
2963
3841
|
specs?: {
|
|
3842
|
+
name: string;
|
|
2964
3843
|
value: string;
|
|
2965
3844
|
section: string;
|
|
2966
|
-
name: string;
|
|
2967
3845
|
emphasis: boolean;
|
|
2968
3846
|
unit?: string | undefined;
|
|
2969
3847
|
priority?: number | undefined;
|
|
@@ -2971,16 +3849,38 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2971
3849
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
2972
3850
|
attributes?: {
|
|
2973
3851
|
value: string;
|
|
2974
|
-
emphasis: boolean;
|
|
2975
3852
|
label: string;
|
|
3853
|
+
emphasis: boolean;
|
|
2976
3854
|
}[] | undefined;
|
|
3855
|
+
variants?: {
|
|
3856
|
+
attributes: {
|
|
3857
|
+
values: {
|
|
3858
|
+
label: string;
|
|
3859
|
+
id: string;
|
|
3860
|
+
swatch: {
|
|
3861
|
+
kind: "image" | "color";
|
|
3862
|
+
value: string;
|
|
3863
|
+
} | null;
|
|
3864
|
+
}[];
|
|
3865
|
+
kind: "pill" | "swatch";
|
|
3866
|
+
label: string;
|
|
3867
|
+
key: string;
|
|
3868
|
+
}[];
|
|
3869
|
+
variants: {
|
|
3870
|
+
id: string;
|
|
3871
|
+
price: number;
|
|
3872
|
+
in_stock: boolean;
|
|
3873
|
+
selection: Record<string, string>;
|
|
3874
|
+
compare_at_price: number | null;
|
|
3875
|
+
featured_image?: string | undefined;
|
|
3876
|
+
}[];
|
|
3877
|
+
} | undefined;
|
|
2977
3878
|
}[];
|
|
2978
3879
|
desktopColumns: 2 | 3;
|
|
2979
3880
|
heading?: string | undefined;
|
|
2980
3881
|
}, {
|
|
2981
3882
|
products: {
|
|
2982
3883
|
name: string;
|
|
2983
|
-
id: string;
|
|
2984
3884
|
image: {
|
|
2985
3885
|
src: string;
|
|
2986
3886
|
alt: string;
|
|
@@ -2999,11 +3899,12 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
2999
3899
|
url?: string | undefined;
|
|
3000
3900
|
} | undefined;
|
|
3001
3901
|
};
|
|
3902
|
+
id: string;
|
|
3002
3903
|
ctas: {
|
|
3003
3904
|
label: string;
|
|
3905
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3004
3906
|
href?: string | undefined;
|
|
3005
3907
|
target?: "_self" | "_blank" | undefined;
|
|
3006
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3007
3908
|
actionId?: string | undefined;
|
|
3008
3909
|
}[];
|
|
3009
3910
|
tagline?: string | undefined;
|
|
@@ -3066,9 +3967,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3066
3967
|
max?: number | undefined;
|
|
3067
3968
|
} | undefined;
|
|
3068
3969
|
specs?: {
|
|
3970
|
+
name: string;
|
|
3069
3971
|
value: string;
|
|
3070
3972
|
section: string;
|
|
3071
|
-
name: string;
|
|
3072
3973
|
unit?: string | undefined;
|
|
3073
3974
|
emphasis?: boolean | undefined;
|
|
3074
3975
|
priority?: number | undefined;
|
|
@@ -3079,14 +3980,90 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3079
3980
|
label: string;
|
|
3080
3981
|
emphasis?: boolean | undefined;
|
|
3081
3982
|
}[] | undefined;
|
|
3983
|
+
variants?: {
|
|
3984
|
+
attributes: {
|
|
3985
|
+
values: {
|
|
3986
|
+
label: string;
|
|
3987
|
+
id: string;
|
|
3988
|
+
swatch: {
|
|
3989
|
+
kind: "image" | "color";
|
|
3990
|
+
value: string;
|
|
3991
|
+
} | null;
|
|
3992
|
+
}[];
|
|
3993
|
+
kind: "pill" | "swatch";
|
|
3994
|
+
label: string;
|
|
3995
|
+
key: string;
|
|
3996
|
+
}[];
|
|
3997
|
+
variants: {
|
|
3998
|
+
id: string;
|
|
3999
|
+
price: number;
|
|
4000
|
+
in_stock: boolean;
|
|
4001
|
+
selection: Record<string, string>;
|
|
4002
|
+
compare_at_price: number | null;
|
|
4003
|
+
featured_image?: string | undefined;
|
|
4004
|
+
}[];
|
|
4005
|
+
} | undefined;
|
|
3082
4006
|
}[];
|
|
3083
4007
|
heading?: string | undefined;
|
|
3084
4008
|
desktopColumns?: 2 | 3 | undefined;
|
|
3085
4009
|
}>;
|
|
4010
|
+
export declare const recoItemSchema: z.ZodObject<{
|
|
4011
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4012
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4013
|
+
hook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4014
|
+
pdp_href: z.ZodString;
|
|
4015
|
+
}, "strip", z.ZodTypeAny, {
|
|
4016
|
+
pdp_href: string;
|
|
4017
|
+
image_url?: string | null | undefined;
|
|
4018
|
+
price?: string | null | undefined;
|
|
4019
|
+
hook?: string | null | undefined;
|
|
4020
|
+
}, {
|
|
4021
|
+
pdp_href: string;
|
|
4022
|
+
image_url?: string | null | undefined;
|
|
4023
|
+
price?: string | null | undefined;
|
|
4024
|
+
hook?: string | null | undefined;
|
|
4025
|
+
}>;
|
|
4026
|
+
export declare const recoSchema: z.ZodObject<{
|
|
4027
|
+
heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4028
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4029
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4030
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4031
|
+
hook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4032
|
+
pdp_href: z.ZodString;
|
|
4033
|
+
}, "strip", z.ZodTypeAny, {
|
|
4034
|
+
pdp_href: string;
|
|
4035
|
+
image_url?: string | null | undefined;
|
|
4036
|
+
price?: string | null | undefined;
|
|
4037
|
+
hook?: string | null | undefined;
|
|
4038
|
+
}, {
|
|
4039
|
+
pdp_href: string;
|
|
4040
|
+
image_url?: string | null | undefined;
|
|
4041
|
+
price?: string | null | undefined;
|
|
4042
|
+
hook?: string | null | undefined;
|
|
4043
|
+
}>, "many">>;
|
|
4044
|
+
}, "strip", z.ZodTypeAny, {
|
|
4045
|
+
items: {
|
|
4046
|
+
pdp_href: string;
|
|
4047
|
+
image_url?: string | null | undefined;
|
|
4048
|
+
price?: string | null | undefined;
|
|
4049
|
+
hook?: string | null | undefined;
|
|
4050
|
+
}[];
|
|
4051
|
+
heading?: string | null | undefined;
|
|
4052
|
+
}, {
|
|
4053
|
+
items?: {
|
|
4054
|
+
pdp_href: string;
|
|
4055
|
+
image_url?: string | null | undefined;
|
|
4056
|
+
price?: string | null | undefined;
|
|
4057
|
+
hook?: string | null | undefined;
|
|
4058
|
+
}[] | undefined;
|
|
4059
|
+
heading?: string | null | undefined;
|
|
4060
|
+
}>;
|
|
3086
4061
|
export type CardProps = z.infer<typeof cardSchema>;
|
|
3087
4062
|
export type ComparisonProps = z.infer<typeof comparisonSchema>;
|
|
3088
4063
|
export type HeroProps = z.infer<typeof heroSchema>;
|
|
3089
4064
|
export type GridProps = z.infer<typeof gridSchema>;
|
|
4065
|
+
export type RecoProps = z.infer<typeof recoSchema>;
|
|
4066
|
+
export type RecoItemProps = z.infer<typeof recoItemSchema>;
|
|
3090
4067
|
export declare const tileWidgets: readonly [{
|
|
3091
4068
|
readonly widget: "adaptive-product:card";
|
|
3092
4069
|
readonly defName: "productCardProps";
|
|
@@ -3275,15 +4252,15 @@ export declare const tileWidgets: readonly [{
|
|
|
3275
4252
|
actionId: z.ZodOptional<z.ZodString>;
|
|
3276
4253
|
}, "strict", z.ZodTypeAny, {
|
|
3277
4254
|
label: string;
|
|
3278
|
-
target: "_self" | "_blank";
|
|
3279
4255
|
variant: "primary" | "secondary" | "ghost";
|
|
4256
|
+
target: "_self" | "_blank";
|
|
3280
4257
|
href?: string | undefined;
|
|
3281
4258
|
actionId?: string | undefined;
|
|
3282
4259
|
}, {
|
|
3283
4260
|
label: string;
|
|
4261
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3284
4262
|
href?: string | undefined;
|
|
3285
4263
|
target?: "_self" | "_blank" | undefined;
|
|
3286
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3287
4264
|
actionId?: string | undefined;
|
|
3288
4265
|
}>, "many">;
|
|
3289
4266
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -3414,16 +4391,16 @@ export declare const tileWidgets: readonly [{
|
|
|
3414
4391
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
3415
4392
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
3416
4393
|
}, "strict", z.ZodTypeAny, {
|
|
4394
|
+
name: string;
|
|
3417
4395
|
value: string;
|
|
3418
4396
|
section: string;
|
|
3419
|
-
name: string;
|
|
3420
4397
|
emphasis: boolean;
|
|
3421
4398
|
unit?: string | undefined;
|
|
3422
4399
|
priority?: number | undefined;
|
|
3423
4400
|
}, {
|
|
4401
|
+
name: string;
|
|
3424
4402
|
value: string;
|
|
3425
4403
|
section: string;
|
|
3426
|
-
name: string;
|
|
3427
4404
|
unit?: string | undefined;
|
|
3428
4405
|
emphasis?: boolean | undefined;
|
|
3429
4406
|
priority?: number | undefined;
|
|
@@ -3435,16 +4412,140 @@ export declare const tileWidgets: readonly [{
|
|
|
3435
4412
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
3436
4413
|
}, "strict", z.ZodTypeAny, {
|
|
3437
4414
|
value: string;
|
|
3438
|
-
emphasis: boolean;
|
|
3439
4415
|
label: string;
|
|
4416
|
+
emphasis: boolean;
|
|
3440
4417
|
}, {
|
|
3441
4418
|
value: string;
|
|
3442
4419
|
label: string;
|
|
3443
4420
|
emphasis?: boolean | undefined;
|
|
3444
4421
|
}>, "many">>;
|
|
4422
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
4423
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
4424
|
+
key: z.ZodString;
|
|
4425
|
+
label: z.ZodString;
|
|
4426
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
4427
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4428
|
+
id: z.ZodString;
|
|
4429
|
+
label: z.ZodString;
|
|
4430
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
4431
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
4432
|
+
value: z.ZodString;
|
|
4433
|
+
}, "strip", z.ZodTypeAny, {
|
|
4434
|
+
kind: "image" | "color";
|
|
4435
|
+
value: string;
|
|
4436
|
+
}, {
|
|
4437
|
+
kind: "image" | "color";
|
|
4438
|
+
value: string;
|
|
4439
|
+
}>>;
|
|
4440
|
+
}, "strip", z.ZodTypeAny, {
|
|
4441
|
+
label: string;
|
|
4442
|
+
id: string;
|
|
4443
|
+
swatch: {
|
|
4444
|
+
kind: "image" | "color";
|
|
4445
|
+
value: string;
|
|
4446
|
+
} | null;
|
|
4447
|
+
}, {
|
|
4448
|
+
label: string;
|
|
4449
|
+
id: string;
|
|
4450
|
+
swatch: {
|
|
4451
|
+
kind: "image" | "color";
|
|
4452
|
+
value: string;
|
|
4453
|
+
} | null;
|
|
4454
|
+
}>, "many">;
|
|
4455
|
+
}, "strip", z.ZodTypeAny, {
|
|
4456
|
+
values: {
|
|
4457
|
+
label: string;
|
|
4458
|
+
id: string;
|
|
4459
|
+
swatch: {
|
|
4460
|
+
kind: "image" | "color";
|
|
4461
|
+
value: string;
|
|
4462
|
+
} | null;
|
|
4463
|
+
}[];
|
|
4464
|
+
kind: "pill" | "swatch";
|
|
4465
|
+
label: string;
|
|
4466
|
+
key: string;
|
|
4467
|
+
}, {
|
|
4468
|
+
values: {
|
|
4469
|
+
label: string;
|
|
4470
|
+
id: string;
|
|
4471
|
+
swatch: {
|
|
4472
|
+
kind: "image" | "color";
|
|
4473
|
+
value: string;
|
|
4474
|
+
} | null;
|
|
4475
|
+
}[];
|
|
4476
|
+
kind: "pill" | "swatch";
|
|
4477
|
+
label: string;
|
|
4478
|
+
key: string;
|
|
4479
|
+
}>, "many">;
|
|
4480
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
4481
|
+
id: z.ZodString;
|
|
4482
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4483
|
+
price: z.ZodNumber;
|
|
4484
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
4485
|
+
in_stock: z.ZodBoolean;
|
|
4486
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4487
|
+
}, "strip", z.ZodTypeAny, {
|
|
4488
|
+
id: string;
|
|
4489
|
+
price: number;
|
|
4490
|
+
in_stock: boolean;
|
|
4491
|
+
selection: Record<string, string>;
|
|
4492
|
+
compare_at_price: number | null;
|
|
4493
|
+
featured_image?: string | undefined;
|
|
4494
|
+
}, {
|
|
4495
|
+
id: string;
|
|
4496
|
+
price: number;
|
|
4497
|
+
in_stock: boolean;
|
|
4498
|
+
selection: Record<string, string>;
|
|
4499
|
+
compare_at_price: number | null;
|
|
4500
|
+
featured_image?: string | undefined;
|
|
4501
|
+
}>, "many">;
|
|
4502
|
+
}, "strip", z.ZodTypeAny, {
|
|
4503
|
+
attributes: {
|
|
4504
|
+
values: {
|
|
4505
|
+
label: string;
|
|
4506
|
+
id: string;
|
|
4507
|
+
swatch: {
|
|
4508
|
+
kind: "image" | "color";
|
|
4509
|
+
value: string;
|
|
4510
|
+
} | null;
|
|
4511
|
+
}[];
|
|
4512
|
+
kind: "pill" | "swatch";
|
|
4513
|
+
label: string;
|
|
4514
|
+
key: string;
|
|
4515
|
+
}[];
|
|
4516
|
+
variants: {
|
|
4517
|
+
id: string;
|
|
4518
|
+
price: number;
|
|
4519
|
+
in_stock: boolean;
|
|
4520
|
+
selection: Record<string, string>;
|
|
4521
|
+
compare_at_price: number | null;
|
|
4522
|
+
featured_image?: string | undefined;
|
|
4523
|
+
}[];
|
|
4524
|
+
}, {
|
|
4525
|
+
attributes: {
|
|
4526
|
+
values: {
|
|
4527
|
+
label: string;
|
|
4528
|
+
id: string;
|
|
4529
|
+
swatch: {
|
|
4530
|
+
kind: "image" | "color";
|
|
4531
|
+
value: string;
|
|
4532
|
+
} | null;
|
|
4533
|
+
}[];
|
|
4534
|
+
kind: "pill" | "swatch";
|
|
4535
|
+
label: string;
|
|
4536
|
+
key: string;
|
|
4537
|
+
}[];
|
|
4538
|
+
variants: {
|
|
4539
|
+
id: string;
|
|
4540
|
+
price: number;
|
|
4541
|
+
in_stock: boolean;
|
|
4542
|
+
selection: Record<string, string>;
|
|
4543
|
+
compare_at_price: number | null;
|
|
4544
|
+
featured_image?: string | undefined;
|
|
4545
|
+
}[];
|
|
4546
|
+
}>>;
|
|
3445
4547
|
}, "strict", z.ZodTypeAny, {
|
|
3446
4548
|
name: string;
|
|
3447
|
-
id: string;
|
|
3448
4549
|
image: {
|
|
3449
4550
|
src: string;
|
|
3450
4551
|
alt: string;
|
|
@@ -3463,10 +4564,11 @@ export declare const tileWidgets: readonly [{
|
|
|
3463
4564
|
url?: string | undefined;
|
|
3464
4565
|
} | undefined;
|
|
3465
4566
|
};
|
|
4567
|
+
id: string;
|
|
3466
4568
|
ctas: {
|
|
3467
4569
|
label: string;
|
|
3468
|
-
target: "_self" | "_blank";
|
|
3469
4570
|
variant: "primary" | "secondary" | "ghost";
|
|
4571
|
+
target: "_self" | "_blank";
|
|
3470
4572
|
href?: string | undefined;
|
|
3471
4573
|
actionId?: string | undefined;
|
|
3472
4574
|
}[];
|
|
@@ -3530,9 +4632,9 @@ export declare const tileWidgets: readonly [{
|
|
|
3530
4632
|
max: number;
|
|
3531
4633
|
} | undefined;
|
|
3532
4634
|
specs?: {
|
|
4635
|
+
name: string;
|
|
3533
4636
|
value: string;
|
|
3534
4637
|
section: string;
|
|
3535
|
-
name: string;
|
|
3536
4638
|
emphasis: boolean;
|
|
3537
4639
|
unit?: string | undefined;
|
|
3538
4640
|
priority?: number | undefined;
|
|
@@ -3540,12 +4642,34 @@ export declare const tileWidgets: readonly [{
|
|
|
3540
4642
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
3541
4643
|
attributes?: {
|
|
3542
4644
|
value: string;
|
|
3543
|
-
emphasis: boolean;
|
|
3544
4645
|
label: string;
|
|
4646
|
+
emphasis: boolean;
|
|
3545
4647
|
}[] | undefined;
|
|
4648
|
+
variants?: {
|
|
4649
|
+
attributes: {
|
|
4650
|
+
values: {
|
|
4651
|
+
label: string;
|
|
4652
|
+
id: string;
|
|
4653
|
+
swatch: {
|
|
4654
|
+
kind: "image" | "color";
|
|
4655
|
+
value: string;
|
|
4656
|
+
} | null;
|
|
4657
|
+
}[];
|
|
4658
|
+
kind: "pill" | "swatch";
|
|
4659
|
+
label: string;
|
|
4660
|
+
key: string;
|
|
4661
|
+
}[];
|
|
4662
|
+
variants: {
|
|
4663
|
+
id: string;
|
|
4664
|
+
price: number;
|
|
4665
|
+
in_stock: boolean;
|
|
4666
|
+
selection: Record<string, string>;
|
|
4667
|
+
compare_at_price: number | null;
|
|
4668
|
+
featured_image?: string | undefined;
|
|
4669
|
+
}[];
|
|
4670
|
+
} | undefined;
|
|
3546
4671
|
}, {
|
|
3547
4672
|
name: string;
|
|
3548
|
-
id: string;
|
|
3549
4673
|
image: {
|
|
3550
4674
|
src: string;
|
|
3551
4675
|
alt: string;
|
|
@@ -3564,11 +4688,12 @@ export declare const tileWidgets: readonly [{
|
|
|
3564
4688
|
url?: string | undefined;
|
|
3565
4689
|
} | undefined;
|
|
3566
4690
|
};
|
|
4691
|
+
id: string;
|
|
3567
4692
|
ctas: {
|
|
3568
4693
|
label: string;
|
|
4694
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3569
4695
|
href?: string | undefined;
|
|
3570
4696
|
target?: "_self" | "_blank" | undefined;
|
|
3571
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3572
4697
|
actionId?: string | undefined;
|
|
3573
4698
|
}[];
|
|
3574
4699
|
tagline?: string | undefined;
|
|
@@ -3631,9 +4756,9 @@ export declare const tileWidgets: readonly [{
|
|
|
3631
4756
|
max?: number | undefined;
|
|
3632
4757
|
} | undefined;
|
|
3633
4758
|
specs?: {
|
|
4759
|
+
name: string;
|
|
3634
4760
|
value: string;
|
|
3635
4761
|
section: string;
|
|
3636
|
-
name: string;
|
|
3637
4762
|
unit?: string | undefined;
|
|
3638
4763
|
emphasis?: boolean | undefined;
|
|
3639
4764
|
priority?: number | undefined;
|
|
@@ -3644,6 +4769,29 @@ export declare const tileWidgets: readonly [{
|
|
|
3644
4769
|
label: string;
|
|
3645
4770
|
emphasis?: boolean | undefined;
|
|
3646
4771
|
}[] | undefined;
|
|
4772
|
+
variants?: {
|
|
4773
|
+
attributes: {
|
|
4774
|
+
values: {
|
|
4775
|
+
label: string;
|
|
4776
|
+
id: string;
|
|
4777
|
+
swatch: {
|
|
4778
|
+
kind: "image" | "color";
|
|
4779
|
+
value: string;
|
|
4780
|
+
} | null;
|
|
4781
|
+
}[];
|
|
4782
|
+
kind: "pill" | "swatch";
|
|
4783
|
+
label: string;
|
|
4784
|
+
key: string;
|
|
4785
|
+
}[];
|
|
4786
|
+
variants: {
|
|
4787
|
+
id: string;
|
|
4788
|
+
price: number;
|
|
4789
|
+
in_stock: boolean;
|
|
4790
|
+
selection: Record<string, string>;
|
|
4791
|
+
compare_at_price: number | null;
|
|
4792
|
+
featured_image?: string | undefined;
|
|
4793
|
+
}[];
|
|
4794
|
+
} | undefined;
|
|
3647
4795
|
}>;
|
|
3648
4796
|
density: z.ZodDefault<z.ZodEnum<["compact", "standard"]>>;
|
|
3649
4797
|
/**
|
|
@@ -3657,7 +4805,6 @@ export declare const tileWidgets: readonly [{
|
|
|
3657
4805
|
}, "strip", z.ZodTypeAny, {
|
|
3658
4806
|
product: {
|
|
3659
4807
|
name: string;
|
|
3660
|
-
id: string;
|
|
3661
4808
|
image: {
|
|
3662
4809
|
src: string;
|
|
3663
4810
|
alt: string;
|
|
@@ -3676,10 +4823,11 @@ export declare const tileWidgets: readonly [{
|
|
|
3676
4823
|
url?: string | undefined;
|
|
3677
4824
|
} | undefined;
|
|
3678
4825
|
};
|
|
4826
|
+
id: string;
|
|
3679
4827
|
ctas: {
|
|
3680
4828
|
label: string;
|
|
3681
|
-
target: "_self" | "_blank";
|
|
3682
4829
|
variant: "primary" | "secondary" | "ghost";
|
|
4830
|
+
target: "_self" | "_blank";
|
|
3683
4831
|
href?: string | undefined;
|
|
3684
4832
|
actionId?: string | undefined;
|
|
3685
4833
|
}[];
|
|
@@ -3743,9 +4891,9 @@ export declare const tileWidgets: readonly [{
|
|
|
3743
4891
|
max: number;
|
|
3744
4892
|
} | undefined;
|
|
3745
4893
|
specs?: {
|
|
4894
|
+
name: string;
|
|
3746
4895
|
value: string;
|
|
3747
4896
|
section: string;
|
|
3748
|
-
name: string;
|
|
3749
4897
|
emphasis: boolean;
|
|
3750
4898
|
unit?: string | undefined;
|
|
3751
4899
|
priority?: number | undefined;
|
|
@@ -3753,16 +4901,38 @@ export declare const tileWidgets: readonly [{
|
|
|
3753
4901
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
3754
4902
|
attributes?: {
|
|
3755
4903
|
value: string;
|
|
3756
|
-
emphasis: boolean;
|
|
3757
4904
|
label: string;
|
|
4905
|
+
emphasis: boolean;
|
|
3758
4906
|
}[] | undefined;
|
|
4907
|
+
variants?: {
|
|
4908
|
+
attributes: {
|
|
4909
|
+
values: {
|
|
4910
|
+
label: string;
|
|
4911
|
+
id: string;
|
|
4912
|
+
swatch: {
|
|
4913
|
+
kind: "image" | "color";
|
|
4914
|
+
value: string;
|
|
4915
|
+
} | null;
|
|
4916
|
+
}[];
|
|
4917
|
+
kind: "pill" | "swatch";
|
|
4918
|
+
label: string;
|
|
4919
|
+
key: string;
|
|
4920
|
+
}[];
|
|
4921
|
+
variants: {
|
|
4922
|
+
id: string;
|
|
4923
|
+
price: number;
|
|
4924
|
+
in_stock: boolean;
|
|
4925
|
+
selection: Record<string, string>;
|
|
4926
|
+
compare_at_price: number | null;
|
|
4927
|
+
featured_image?: string | undefined;
|
|
4928
|
+
}[];
|
|
4929
|
+
} | undefined;
|
|
3759
4930
|
};
|
|
3760
4931
|
density: "compact" | "standard";
|
|
3761
4932
|
visibleFacts?: ("tagline" | "price" | "badge" | "framing" | "availability" | "rating" | "specs")[] | undefined;
|
|
3762
4933
|
}, {
|
|
3763
4934
|
product: {
|
|
3764
4935
|
name: string;
|
|
3765
|
-
id: string;
|
|
3766
4936
|
image: {
|
|
3767
4937
|
src: string;
|
|
3768
4938
|
alt: string;
|
|
@@ -3781,11 +4951,12 @@ export declare const tileWidgets: readonly [{
|
|
|
3781
4951
|
url?: string | undefined;
|
|
3782
4952
|
} | undefined;
|
|
3783
4953
|
};
|
|
4954
|
+
id: string;
|
|
3784
4955
|
ctas: {
|
|
3785
4956
|
label: string;
|
|
4957
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3786
4958
|
href?: string | undefined;
|
|
3787
4959
|
target?: "_self" | "_blank" | undefined;
|
|
3788
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3789
4960
|
actionId?: string | undefined;
|
|
3790
4961
|
}[];
|
|
3791
4962
|
tagline?: string | undefined;
|
|
@@ -3848,9 +5019,9 @@ export declare const tileWidgets: readonly [{
|
|
|
3848
5019
|
max?: number | undefined;
|
|
3849
5020
|
} | undefined;
|
|
3850
5021
|
specs?: {
|
|
5022
|
+
name: string;
|
|
3851
5023
|
value: string;
|
|
3852
5024
|
section: string;
|
|
3853
|
-
name: string;
|
|
3854
5025
|
unit?: string | undefined;
|
|
3855
5026
|
emphasis?: boolean | undefined;
|
|
3856
5027
|
priority?: number | undefined;
|
|
@@ -3861,6 +5032,29 @@ export declare const tileWidgets: readonly [{
|
|
|
3861
5032
|
label: string;
|
|
3862
5033
|
emphasis?: boolean | undefined;
|
|
3863
5034
|
}[] | undefined;
|
|
5035
|
+
variants?: {
|
|
5036
|
+
attributes: {
|
|
5037
|
+
values: {
|
|
5038
|
+
label: string;
|
|
5039
|
+
id: string;
|
|
5040
|
+
swatch: {
|
|
5041
|
+
kind: "image" | "color";
|
|
5042
|
+
value: string;
|
|
5043
|
+
} | null;
|
|
5044
|
+
}[];
|
|
5045
|
+
kind: "pill" | "swatch";
|
|
5046
|
+
label: string;
|
|
5047
|
+
key: string;
|
|
5048
|
+
}[];
|
|
5049
|
+
variants: {
|
|
5050
|
+
id: string;
|
|
5051
|
+
price: number;
|
|
5052
|
+
in_stock: boolean;
|
|
5053
|
+
selection: Record<string, string>;
|
|
5054
|
+
compare_at_price: number | null;
|
|
5055
|
+
featured_image?: string | undefined;
|
|
5056
|
+
}[];
|
|
5057
|
+
} | undefined;
|
|
3864
5058
|
};
|
|
3865
5059
|
density?: "compact" | "standard" | undefined;
|
|
3866
5060
|
visibleFacts?: ("tagline" | "price" | "badge" | "framing" | "availability" | "rating" | "specs")[] | undefined;
|
|
@@ -4053,15 +5247,15 @@ export declare const tileWidgets: readonly [{
|
|
|
4053
5247
|
actionId: z.ZodOptional<z.ZodString>;
|
|
4054
5248
|
}, "strict", z.ZodTypeAny, {
|
|
4055
5249
|
label: string;
|
|
4056
|
-
target: "_self" | "_blank";
|
|
4057
5250
|
variant: "primary" | "secondary" | "ghost";
|
|
5251
|
+
target: "_self" | "_blank";
|
|
4058
5252
|
href?: string | undefined;
|
|
4059
5253
|
actionId?: string | undefined;
|
|
4060
5254
|
}, {
|
|
4061
5255
|
label: string;
|
|
5256
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4062
5257
|
href?: string | undefined;
|
|
4063
5258
|
target?: "_self" | "_blank" | undefined;
|
|
4064
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4065
5259
|
actionId?: string | undefined;
|
|
4066
5260
|
}>, "many">;
|
|
4067
5261
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -4192,16 +5386,16 @@ export declare const tileWidgets: readonly [{
|
|
|
4192
5386
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
4193
5387
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
4194
5388
|
}, "strict", z.ZodTypeAny, {
|
|
5389
|
+
name: string;
|
|
4195
5390
|
value: string;
|
|
4196
5391
|
section: string;
|
|
4197
|
-
name: string;
|
|
4198
5392
|
emphasis: boolean;
|
|
4199
5393
|
unit?: string | undefined;
|
|
4200
5394
|
priority?: number | undefined;
|
|
4201
5395
|
}, {
|
|
5396
|
+
name: string;
|
|
4202
5397
|
value: string;
|
|
4203
5398
|
section: string;
|
|
4204
|
-
name: string;
|
|
4205
5399
|
unit?: string | undefined;
|
|
4206
5400
|
emphasis?: boolean | undefined;
|
|
4207
5401
|
priority?: number | undefined;
|
|
@@ -4213,16 +5407,140 @@ export declare const tileWidgets: readonly [{
|
|
|
4213
5407
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
4214
5408
|
}, "strict", z.ZodTypeAny, {
|
|
4215
5409
|
value: string;
|
|
4216
|
-
emphasis: boolean;
|
|
4217
5410
|
label: string;
|
|
5411
|
+
emphasis: boolean;
|
|
4218
5412
|
}, {
|
|
4219
5413
|
value: string;
|
|
4220
5414
|
label: string;
|
|
4221
5415
|
emphasis?: boolean | undefined;
|
|
4222
5416
|
}>, "many">>;
|
|
5417
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
5418
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
5419
|
+
key: z.ZodString;
|
|
5420
|
+
label: z.ZodString;
|
|
5421
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
5422
|
+
values: z.ZodArray<z.ZodObject<{
|
|
5423
|
+
id: z.ZodString;
|
|
5424
|
+
label: z.ZodString;
|
|
5425
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
5426
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
5427
|
+
value: z.ZodString;
|
|
5428
|
+
}, "strip", z.ZodTypeAny, {
|
|
5429
|
+
kind: "image" | "color";
|
|
5430
|
+
value: string;
|
|
5431
|
+
}, {
|
|
5432
|
+
kind: "image" | "color";
|
|
5433
|
+
value: string;
|
|
5434
|
+
}>>;
|
|
5435
|
+
}, "strip", z.ZodTypeAny, {
|
|
5436
|
+
label: string;
|
|
5437
|
+
id: string;
|
|
5438
|
+
swatch: {
|
|
5439
|
+
kind: "image" | "color";
|
|
5440
|
+
value: string;
|
|
5441
|
+
} | null;
|
|
5442
|
+
}, {
|
|
5443
|
+
label: string;
|
|
5444
|
+
id: string;
|
|
5445
|
+
swatch: {
|
|
5446
|
+
kind: "image" | "color";
|
|
5447
|
+
value: string;
|
|
5448
|
+
} | null;
|
|
5449
|
+
}>, "many">;
|
|
5450
|
+
}, "strip", z.ZodTypeAny, {
|
|
5451
|
+
values: {
|
|
5452
|
+
label: string;
|
|
5453
|
+
id: string;
|
|
5454
|
+
swatch: {
|
|
5455
|
+
kind: "image" | "color";
|
|
5456
|
+
value: string;
|
|
5457
|
+
} | null;
|
|
5458
|
+
}[];
|
|
5459
|
+
kind: "pill" | "swatch";
|
|
5460
|
+
label: string;
|
|
5461
|
+
key: string;
|
|
5462
|
+
}, {
|
|
5463
|
+
values: {
|
|
5464
|
+
label: string;
|
|
5465
|
+
id: string;
|
|
5466
|
+
swatch: {
|
|
5467
|
+
kind: "image" | "color";
|
|
5468
|
+
value: string;
|
|
5469
|
+
} | null;
|
|
5470
|
+
}[];
|
|
5471
|
+
kind: "pill" | "swatch";
|
|
5472
|
+
label: string;
|
|
5473
|
+
key: string;
|
|
5474
|
+
}>, "many">;
|
|
5475
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
5476
|
+
id: z.ZodString;
|
|
5477
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5478
|
+
price: z.ZodNumber;
|
|
5479
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
5480
|
+
in_stock: z.ZodBoolean;
|
|
5481
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
5482
|
+
}, "strip", z.ZodTypeAny, {
|
|
5483
|
+
id: string;
|
|
5484
|
+
price: number;
|
|
5485
|
+
in_stock: boolean;
|
|
5486
|
+
selection: Record<string, string>;
|
|
5487
|
+
compare_at_price: number | null;
|
|
5488
|
+
featured_image?: string | undefined;
|
|
5489
|
+
}, {
|
|
5490
|
+
id: string;
|
|
5491
|
+
price: number;
|
|
5492
|
+
in_stock: boolean;
|
|
5493
|
+
selection: Record<string, string>;
|
|
5494
|
+
compare_at_price: number | null;
|
|
5495
|
+
featured_image?: string | undefined;
|
|
5496
|
+
}>, "many">;
|
|
5497
|
+
}, "strip", z.ZodTypeAny, {
|
|
5498
|
+
attributes: {
|
|
5499
|
+
values: {
|
|
5500
|
+
label: string;
|
|
5501
|
+
id: string;
|
|
5502
|
+
swatch: {
|
|
5503
|
+
kind: "image" | "color";
|
|
5504
|
+
value: string;
|
|
5505
|
+
} | null;
|
|
5506
|
+
}[];
|
|
5507
|
+
kind: "pill" | "swatch";
|
|
5508
|
+
label: string;
|
|
5509
|
+
key: string;
|
|
5510
|
+
}[];
|
|
5511
|
+
variants: {
|
|
5512
|
+
id: string;
|
|
5513
|
+
price: number;
|
|
5514
|
+
in_stock: boolean;
|
|
5515
|
+
selection: Record<string, string>;
|
|
5516
|
+
compare_at_price: number | null;
|
|
5517
|
+
featured_image?: string | undefined;
|
|
5518
|
+
}[];
|
|
5519
|
+
}, {
|
|
5520
|
+
attributes: {
|
|
5521
|
+
values: {
|
|
5522
|
+
label: string;
|
|
5523
|
+
id: string;
|
|
5524
|
+
swatch: {
|
|
5525
|
+
kind: "image" | "color";
|
|
5526
|
+
value: string;
|
|
5527
|
+
} | null;
|
|
5528
|
+
}[];
|
|
5529
|
+
kind: "pill" | "swatch";
|
|
5530
|
+
label: string;
|
|
5531
|
+
key: string;
|
|
5532
|
+
}[];
|
|
5533
|
+
variants: {
|
|
5534
|
+
id: string;
|
|
5535
|
+
price: number;
|
|
5536
|
+
in_stock: boolean;
|
|
5537
|
+
selection: Record<string, string>;
|
|
5538
|
+
compare_at_price: number | null;
|
|
5539
|
+
featured_image?: string | undefined;
|
|
5540
|
+
}[];
|
|
5541
|
+
}>>;
|
|
4223
5542
|
}, "strict", z.ZodTypeAny, {
|
|
4224
5543
|
name: string;
|
|
4225
|
-
id: string;
|
|
4226
5544
|
image: {
|
|
4227
5545
|
src: string;
|
|
4228
5546
|
alt: string;
|
|
@@ -4241,10 +5559,11 @@ export declare const tileWidgets: readonly [{
|
|
|
4241
5559
|
url?: string | undefined;
|
|
4242
5560
|
} | undefined;
|
|
4243
5561
|
};
|
|
5562
|
+
id: string;
|
|
4244
5563
|
ctas: {
|
|
4245
5564
|
label: string;
|
|
4246
|
-
target: "_self" | "_blank";
|
|
4247
5565
|
variant: "primary" | "secondary" | "ghost";
|
|
5566
|
+
target: "_self" | "_blank";
|
|
4248
5567
|
href?: string | undefined;
|
|
4249
5568
|
actionId?: string | undefined;
|
|
4250
5569
|
}[];
|
|
@@ -4308,9 +5627,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4308
5627
|
max: number;
|
|
4309
5628
|
} | undefined;
|
|
4310
5629
|
specs?: {
|
|
5630
|
+
name: string;
|
|
4311
5631
|
value: string;
|
|
4312
5632
|
section: string;
|
|
4313
|
-
name: string;
|
|
4314
5633
|
emphasis: boolean;
|
|
4315
5634
|
unit?: string | undefined;
|
|
4316
5635
|
priority?: number | undefined;
|
|
@@ -4318,12 +5637,34 @@ export declare const tileWidgets: readonly [{
|
|
|
4318
5637
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
4319
5638
|
attributes?: {
|
|
4320
5639
|
value: string;
|
|
4321
|
-
emphasis: boolean;
|
|
4322
5640
|
label: string;
|
|
5641
|
+
emphasis: boolean;
|
|
4323
5642
|
}[] | undefined;
|
|
5643
|
+
variants?: {
|
|
5644
|
+
attributes: {
|
|
5645
|
+
values: {
|
|
5646
|
+
label: string;
|
|
5647
|
+
id: string;
|
|
5648
|
+
swatch: {
|
|
5649
|
+
kind: "image" | "color";
|
|
5650
|
+
value: string;
|
|
5651
|
+
} | null;
|
|
5652
|
+
}[];
|
|
5653
|
+
kind: "pill" | "swatch";
|
|
5654
|
+
label: string;
|
|
5655
|
+
key: string;
|
|
5656
|
+
}[];
|
|
5657
|
+
variants: {
|
|
5658
|
+
id: string;
|
|
5659
|
+
price: number;
|
|
5660
|
+
in_stock: boolean;
|
|
5661
|
+
selection: Record<string, string>;
|
|
5662
|
+
compare_at_price: number | null;
|
|
5663
|
+
featured_image?: string | undefined;
|
|
5664
|
+
}[];
|
|
5665
|
+
} | undefined;
|
|
4324
5666
|
}, {
|
|
4325
5667
|
name: string;
|
|
4326
|
-
id: string;
|
|
4327
5668
|
image: {
|
|
4328
5669
|
src: string;
|
|
4329
5670
|
alt: string;
|
|
@@ -4342,11 +5683,12 @@ export declare const tileWidgets: readonly [{
|
|
|
4342
5683
|
url?: string | undefined;
|
|
4343
5684
|
} | undefined;
|
|
4344
5685
|
};
|
|
5686
|
+
id: string;
|
|
4345
5687
|
ctas: {
|
|
4346
5688
|
label: string;
|
|
5689
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4347
5690
|
href?: string | undefined;
|
|
4348
5691
|
target?: "_self" | "_blank" | undefined;
|
|
4349
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4350
5692
|
actionId?: string | undefined;
|
|
4351
5693
|
}[];
|
|
4352
5694
|
tagline?: string | undefined;
|
|
@@ -4409,9 +5751,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4409
5751
|
max?: number | undefined;
|
|
4410
5752
|
} | undefined;
|
|
4411
5753
|
specs?: {
|
|
5754
|
+
name: string;
|
|
4412
5755
|
value: string;
|
|
4413
5756
|
section: string;
|
|
4414
|
-
name: string;
|
|
4415
5757
|
unit?: string | undefined;
|
|
4416
5758
|
emphasis?: boolean | undefined;
|
|
4417
5759
|
priority?: number | undefined;
|
|
@@ -4422,14 +5764,53 @@ export declare const tileWidgets: readonly [{
|
|
|
4422
5764
|
label: string;
|
|
4423
5765
|
emphasis?: boolean | undefined;
|
|
4424
5766
|
}[] | undefined;
|
|
5767
|
+
variants?: {
|
|
5768
|
+
attributes: {
|
|
5769
|
+
values: {
|
|
5770
|
+
label: string;
|
|
5771
|
+
id: string;
|
|
5772
|
+
swatch: {
|
|
5773
|
+
kind: "image" | "color";
|
|
5774
|
+
value: string;
|
|
5775
|
+
} | null;
|
|
5776
|
+
}[];
|
|
5777
|
+
kind: "pill" | "swatch";
|
|
5778
|
+
label: string;
|
|
5779
|
+
key: string;
|
|
5780
|
+
}[];
|
|
5781
|
+
variants: {
|
|
5782
|
+
id: string;
|
|
5783
|
+
price: number;
|
|
5784
|
+
in_stock: boolean;
|
|
5785
|
+
selection: Record<string, string>;
|
|
5786
|
+
compare_at_price: number | null;
|
|
5787
|
+
featured_image?: string | undefined;
|
|
5788
|
+
}[];
|
|
5789
|
+
} | undefined;
|
|
4425
5790
|
}>, "many">;
|
|
4426
|
-
|
|
4427
|
-
|
|
5791
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5792
|
+
label: z.ZodString;
|
|
5793
|
+
valueA: z.ZodString;
|
|
5794
|
+
valueB: z.ZodString;
|
|
5795
|
+
valueC: z.ZodOptional<z.ZodString>;
|
|
5796
|
+
valueD: z.ZodOptional<z.ZodString>;
|
|
5797
|
+
}, "strip", z.ZodTypeAny, {
|
|
5798
|
+
label: string;
|
|
5799
|
+
valueA: string;
|
|
5800
|
+
valueB: string;
|
|
5801
|
+
valueC?: string | undefined;
|
|
5802
|
+
valueD?: string | undefined;
|
|
5803
|
+
}, {
|
|
5804
|
+
label: string;
|
|
5805
|
+
valueA: string;
|
|
5806
|
+
valueB: string;
|
|
5807
|
+
valueC?: string | undefined;
|
|
5808
|
+
valueD?: string | undefined;
|
|
5809
|
+
}>, "many">>;
|
|
4428
5810
|
heading: z.ZodOptional<z.ZodString>;
|
|
4429
5811
|
}, "strip", z.ZodTypeAny, {
|
|
4430
5812
|
products: {
|
|
4431
5813
|
name: string;
|
|
4432
|
-
id: string;
|
|
4433
5814
|
image: {
|
|
4434
5815
|
src: string;
|
|
4435
5816
|
alt: string;
|
|
@@ -4448,10 +5829,11 @@ export declare const tileWidgets: readonly [{
|
|
|
4448
5829
|
url?: string | undefined;
|
|
4449
5830
|
} | undefined;
|
|
4450
5831
|
};
|
|
5832
|
+
id: string;
|
|
4451
5833
|
ctas: {
|
|
4452
5834
|
label: string;
|
|
4453
|
-
target: "_self" | "_blank";
|
|
4454
5835
|
variant: "primary" | "secondary" | "ghost";
|
|
5836
|
+
target: "_self" | "_blank";
|
|
4455
5837
|
href?: string | undefined;
|
|
4456
5838
|
actionId?: string | undefined;
|
|
4457
5839
|
}[];
|
|
@@ -4515,9 +5897,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4515
5897
|
max: number;
|
|
4516
5898
|
} | undefined;
|
|
4517
5899
|
specs?: {
|
|
5900
|
+
name: string;
|
|
4518
5901
|
value: string;
|
|
4519
5902
|
section: string;
|
|
4520
|
-
name: string;
|
|
4521
5903
|
emphasis: boolean;
|
|
4522
5904
|
unit?: string | undefined;
|
|
4523
5905
|
priority?: number | undefined;
|
|
@@ -4525,17 +5907,44 @@ export declare const tileWidgets: readonly [{
|
|
|
4525
5907
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
4526
5908
|
attributes?: {
|
|
4527
5909
|
value: string;
|
|
4528
|
-
emphasis: boolean;
|
|
4529
5910
|
label: string;
|
|
5911
|
+
emphasis: boolean;
|
|
4530
5912
|
}[] | undefined;
|
|
5913
|
+
variants?: {
|
|
5914
|
+
attributes: {
|
|
5915
|
+
values: {
|
|
5916
|
+
label: string;
|
|
5917
|
+
id: string;
|
|
5918
|
+
swatch: {
|
|
5919
|
+
kind: "image" | "color";
|
|
5920
|
+
value: string;
|
|
5921
|
+
} | null;
|
|
5922
|
+
}[];
|
|
5923
|
+
kind: "pill" | "swatch";
|
|
5924
|
+
label: string;
|
|
5925
|
+
key: string;
|
|
5926
|
+
}[];
|
|
5927
|
+
variants: {
|
|
5928
|
+
id: string;
|
|
5929
|
+
price: number;
|
|
5930
|
+
in_stock: boolean;
|
|
5931
|
+
selection: Record<string, string>;
|
|
5932
|
+
compare_at_price: number | null;
|
|
5933
|
+
featured_image?: string | undefined;
|
|
5934
|
+
}[];
|
|
5935
|
+
} | undefined;
|
|
4531
5936
|
}[];
|
|
4532
|
-
|
|
4533
|
-
|
|
5937
|
+
rows?: {
|
|
5938
|
+
label: string;
|
|
5939
|
+
valueA: string;
|
|
5940
|
+
valueB: string;
|
|
5941
|
+
valueC?: string | undefined;
|
|
5942
|
+
valueD?: string | undefined;
|
|
5943
|
+
}[] | undefined;
|
|
4534
5944
|
heading?: string | undefined;
|
|
4535
5945
|
}, {
|
|
4536
5946
|
products: {
|
|
4537
5947
|
name: string;
|
|
4538
|
-
id: string;
|
|
4539
5948
|
image: {
|
|
4540
5949
|
src: string;
|
|
4541
5950
|
alt: string;
|
|
@@ -4554,11 +5963,12 @@ export declare const tileWidgets: readonly [{
|
|
|
4554
5963
|
url?: string | undefined;
|
|
4555
5964
|
} | undefined;
|
|
4556
5965
|
};
|
|
5966
|
+
id: string;
|
|
4557
5967
|
ctas: {
|
|
4558
5968
|
label: string;
|
|
5969
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4559
5970
|
href?: string | undefined;
|
|
4560
5971
|
target?: "_self" | "_blank" | undefined;
|
|
4561
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4562
5972
|
actionId?: string | undefined;
|
|
4563
5973
|
}[];
|
|
4564
5974
|
tagline?: string | undefined;
|
|
@@ -4621,9 +6031,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4621
6031
|
max?: number | undefined;
|
|
4622
6032
|
} | undefined;
|
|
4623
6033
|
specs?: {
|
|
6034
|
+
name: string;
|
|
4624
6035
|
value: string;
|
|
4625
6036
|
section: string;
|
|
4626
|
-
name: string;
|
|
4627
6037
|
unit?: string | undefined;
|
|
4628
6038
|
emphasis?: boolean | undefined;
|
|
4629
6039
|
priority?: number | undefined;
|
|
@@ -4634,9 +6044,37 @@ export declare const tileWidgets: readonly [{
|
|
|
4634
6044
|
label: string;
|
|
4635
6045
|
emphasis?: boolean | undefined;
|
|
4636
6046
|
}[] | undefined;
|
|
6047
|
+
variants?: {
|
|
6048
|
+
attributes: {
|
|
6049
|
+
values: {
|
|
6050
|
+
label: string;
|
|
6051
|
+
id: string;
|
|
6052
|
+
swatch: {
|
|
6053
|
+
kind: "image" | "color";
|
|
6054
|
+
value: string;
|
|
6055
|
+
} | null;
|
|
6056
|
+
}[];
|
|
6057
|
+
kind: "pill" | "swatch";
|
|
6058
|
+
label: string;
|
|
6059
|
+
key: string;
|
|
6060
|
+
}[];
|
|
6061
|
+
variants: {
|
|
6062
|
+
id: string;
|
|
6063
|
+
price: number;
|
|
6064
|
+
in_stock: boolean;
|
|
6065
|
+
selection: Record<string, string>;
|
|
6066
|
+
compare_at_price: number | null;
|
|
6067
|
+
featured_image?: string | undefined;
|
|
6068
|
+
}[];
|
|
6069
|
+
} | undefined;
|
|
4637
6070
|
}[];
|
|
4638
|
-
|
|
4639
|
-
|
|
6071
|
+
rows?: {
|
|
6072
|
+
label: string;
|
|
6073
|
+
valueA: string;
|
|
6074
|
+
valueB: string;
|
|
6075
|
+
valueC?: string | undefined;
|
|
6076
|
+
valueD?: string | undefined;
|
|
6077
|
+
}[] | undefined;
|
|
4640
6078
|
heading?: string | undefined;
|
|
4641
6079
|
}>;
|
|
4642
6080
|
}, {
|
|
@@ -4827,15 +6265,15 @@ export declare const tileWidgets: readonly [{
|
|
|
4827
6265
|
actionId: z.ZodOptional<z.ZodString>;
|
|
4828
6266
|
}, "strict", z.ZodTypeAny, {
|
|
4829
6267
|
label: string;
|
|
4830
|
-
target: "_self" | "_blank";
|
|
4831
6268
|
variant: "primary" | "secondary" | "ghost";
|
|
6269
|
+
target: "_self" | "_blank";
|
|
4832
6270
|
href?: string | undefined;
|
|
4833
6271
|
actionId?: string | undefined;
|
|
4834
6272
|
}, {
|
|
4835
6273
|
label: string;
|
|
6274
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4836
6275
|
href?: string | undefined;
|
|
4837
6276
|
target?: "_self" | "_blank" | undefined;
|
|
4838
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4839
6277
|
actionId?: string | undefined;
|
|
4840
6278
|
}>, "many">;
|
|
4841
6279
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -4966,16 +6404,16 @@ export declare const tileWidgets: readonly [{
|
|
|
4966
6404
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
4967
6405
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
4968
6406
|
}, "strict", z.ZodTypeAny, {
|
|
6407
|
+
name: string;
|
|
4969
6408
|
value: string;
|
|
4970
6409
|
section: string;
|
|
4971
|
-
name: string;
|
|
4972
6410
|
emphasis: boolean;
|
|
4973
6411
|
unit?: string | undefined;
|
|
4974
6412
|
priority?: number | undefined;
|
|
4975
6413
|
}, {
|
|
6414
|
+
name: string;
|
|
4976
6415
|
value: string;
|
|
4977
6416
|
section: string;
|
|
4978
|
-
name: string;
|
|
4979
6417
|
unit?: string | undefined;
|
|
4980
6418
|
emphasis?: boolean | undefined;
|
|
4981
6419
|
priority?: number | undefined;
|
|
@@ -4987,16 +6425,140 @@ export declare const tileWidgets: readonly [{
|
|
|
4987
6425
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
4988
6426
|
}, "strict", z.ZodTypeAny, {
|
|
4989
6427
|
value: string;
|
|
4990
|
-
emphasis: boolean;
|
|
4991
6428
|
label: string;
|
|
6429
|
+
emphasis: boolean;
|
|
4992
6430
|
}, {
|
|
4993
6431
|
value: string;
|
|
4994
6432
|
label: string;
|
|
4995
6433
|
emphasis?: boolean | undefined;
|
|
4996
6434
|
}>, "many">>;
|
|
6435
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
6436
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
6437
|
+
key: z.ZodString;
|
|
6438
|
+
label: z.ZodString;
|
|
6439
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
6440
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6441
|
+
id: z.ZodString;
|
|
6442
|
+
label: z.ZodString;
|
|
6443
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
6444
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
6445
|
+
value: z.ZodString;
|
|
6446
|
+
}, "strip", z.ZodTypeAny, {
|
|
6447
|
+
kind: "image" | "color";
|
|
6448
|
+
value: string;
|
|
6449
|
+
}, {
|
|
6450
|
+
kind: "image" | "color";
|
|
6451
|
+
value: string;
|
|
6452
|
+
}>>;
|
|
6453
|
+
}, "strip", z.ZodTypeAny, {
|
|
6454
|
+
label: string;
|
|
6455
|
+
id: string;
|
|
6456
|
+
swatch: {
|
|
6457
|
+
kind: "image" | "color";
|
|
6458
|
+
value: string;
|
|
6459
|
+
} | null;
|
|
6460
|
+
}, {
|
|
6461
|
+
label: string;
|
|
6462
|
+
id: string;
|
|
6463
|
+
swatch: {
|
|
6464
|
+
kind: "image" | "color";
|
|
6465
|
+
value: string;
|
|
6466
|
+
} | null;
|
|
6467
|
+
}>, "many">;
|
|
6468
|
+
}, "strip", z.ZodTypeAny, {
|
|
6469
|
+
values: {
|
|
6470
|
+
label: string;
|
|
6471
|
+
id: string;
|
|
6472
|
+
swatch: {
|
|
6473
|
+
kind: "image" | "color";
|
|
6474
|
+
value: string;
|
|
6475
|
+
} | null;
|
|
6476
|
+
}[];
|
|
6477
|
+
kind: "pill" | "swatch";
|
|
6478
|
+
label: string;
|
|
6479
|
+
key: string;
|
|
6480
|
+
}, {
|
|
6481
|
+
values: {
|
|
6482
|
+
label: string;
|
|
6483
|
+
id: string;
|
|
6484
|
+
swatch: {
|
|
6485
|
+
kind: "image" | "color";
|
|
6486
|
+
value: string;
|
|
6487
|
+
} | null;
|
|
6488
|
+
}[];
|
|
6489
|
+
kind: "pill" | "swatch";
|
|
6490
|
+
label: string;
|
|
6491
|
+
key: string;
|
|
6492
|
+
}>, "many">;
|
|
6493
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
6494
|
+
id: z.ZodString;
|
|
6495
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6496
|
+
price: z.ZodNumber;
|
|
6497
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
6498
|
+
in_stock: z.ZodBoolean;
|
|
6499
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6500
|
+
}, "strip", z.ZodTypeAny, {
|
|
6501
|
+
id: string;
|
|
6502
|
+
price: number;
|
|
6503
|
+
in_stock: boolean;
|
|
6504
|
+
selection: Record<string, string>;
|
|
6505
|
+
compare_at_price: number | null;
|
|
6506
|
+
featured_image?: string | undefined;
|
|
6507
|
+
}, {
|
|
6508
|
+
id: string;
|
|
6509
|
+
price: number;
|
|
6510
|
+
in_stock: boolean;
|
|
6511
|
+
selection: Record<string, string>;
|
|
6512
|
+
compare_at_price: number | null;
|
|
6513
|
+
featured_image?: string | undefined;
|
|
6514
|
+
}>, "many">;
|
|
6515
|
+
}, "strip", z.ZodTypeAny, {
|
|
6516
|
+
attributes: {
|
|
6517
|
+
values: {
|
|
6518
|
+
label: string;
|
|
6519
|
+
id: string;
|
|
6520
|
+
swatch: {
|
|
6521
|
+
kind: "image" | "color";
|
|
6522
|
+
value: string;
|
|
6523
|
+
} | null;
|
|
6524
|
+
}[];
|
|
6525
|
+
kind: "pill" | "swatch";
|
|
6526
|
+
label: string;
|
|
6527
|
+
key: string;
|
|
6528
|
+
}[];
|
|
6529
|
+
variants: {
|
|
6530
|
+
id: string;
|
|
6531
|
+
price: number;
|
|
6532
|
+
in_stock: boolean;
|
|
6533
|
+
selection: Record<string, string>;
|
|
6534
|
+
compare_at_price: number | null;
|
|
6535
|
+
featured_image?: string | undefined;
|
|
6536
|
+
}[];
|
|
6537
|
+
}, {
|
|
6538
|
+
attributes: {
|
|
6539
|
+
values: {
|
|
6540
|
+
label: string;
|
|
6541
|
+
id: string;
|
|
6542
|
+
swatch: {
|
|
6543
|
+
kind: "image" | "color";
|
|
6544
|
+
value: string;
|
|
6545
|
+
} | null;
|
|
6546
|
+
}[];
|
|
6547
|
+
kind: "pill" | "swatch";
|
|
6548
|
+
label: string;
|
|
6549
|
+
key: string;
|
|
6550
|
+
}[];
|
|
6551
|
+
variants: {
|
|
6552
|
+
id: string;
|
|
6553
|
+
price: number;
|
|
6554
|
+
in_stock: boolean;
|
|
6555
|
+
selection: Record<string, string>;
|
|
6556
|
+
compare_at_price: number | null;
|
|
6557
|
+
featured_image?: string | undefined;
|
|
6558
|
+
}[];
|
|
6559
|
+
}>>;
|
|
4997
6560
|
}, "strict", z.ZodTypeAny, {
|
|
4998
6561
|
name: string;
|
|
4999
|
-
id: string;
|
|
5000
6562
|
image: {
|
|
5001
6563
|
src: string;
|
|
5002
6564
|
alt: string;
|
|
@@ -5015,10 +6577,11 @@ export declare const tileWidgets: readonly [{
|
|
|
5015
6577
|
url?: string | undefined;
|
|
5016
6578
|
} | undefined;
|
|
5017
6579
|
};
|
|
6580
|
+
id: string;
|
|
5018
6581
|
ctas: {
|
|
5019
6582
|
label: string;
|
|
5020
|
-
target: "_self" | "_blank";
|
|
5021
6583
|
variant: "primary" | "secondary" | "ghost";
|
|
6584
|
+
target: "_self" | "_blank";
|
|
5022
6585
|
href?: string | undefined;
|
|
5023
6586
|
actionId?: string | undefined;
|
|
5024
6587
|
}[];
|
|
@@ -5082,9 +6645,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5082
6645
|
max: number;
|
|
5083
6646
|
} | undefined;
|
|
5084
6647
|
specs?: {
|
|
6648
|
+
name: string;
|
|
5085
6649
|
value: string;
|
|
5086
6650
|
section: string;
|
|
5087
|
-
name: string;
|
|
5088
6651
|
emphasis: boolean;
|
|
5089
6652
|
unit?: string | undefined;
|
|
5090
6653
|
priority?: number | undefined;
|
|
@@ -5092,12 +6655,34 @@ export declare const tileWidgets: readonly [{
|
|
|
5092
6655
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
5093
6656
|
attributes?: {
|
|
5094
6657
|
value: string;
|
|
5095
|
-
emphasis: boolean;
|
|
5096
6658
|
label: string;
|
|
6659
|
+
emphasis: boolean;
|
|
5097
6660
|
}[] | undefined;
|
|
6661
|
+
variants?: {
|
|
6662
|
+
attributes: {
|
|
6663
|
+
values: {
|
|
6664
|
+
label: string;
|
|
6665
|
+
id: string;
|
|
6666
|
+
swatch: {
|
|
6667
|
+
kind: "image" | "color";
|
|
6668
|
+
value: string;
|
|
6669
|
+
} | null;
|
|
6670
|
+
}[];
|
|
6671
|
+
kind: "pill" | "swatch";
|
|
6672
|
+
label: string;
|
|
6673
|
+
key: string;
|
|
6674
|
+
}[];
|
|
6675
|
+
variants: {
|
|
6676
|
+
id: string;
|
|
6677
|
+
price: number;
|
|
6678
|
+
in_stock: boolean;
|
|
6679
|
+
selection: Record<string, string>;
|
|
6680
|
+
compare_at_price: number | null;
|
|
6681
|
+
featured_image?: string | undefined;
|
|
6682
|
+
}[];
|
|
6683
|
+
} | undefined;
|
|
5098
6684
|
}, {
|
|
5099
6685
|
name: string;
|
|
5100
|
-
id: string;
|
|
5101
6686
|
image: {
|
|
5102
6687
|
src: string;
|
|
5103
6688
|
alt: string;
|
|
@@ -5116,11 +6701,12 @@ export declare const tileWidgets: readonly [{
|
|
|
5116
6701
|
url?: string | undefined;
|
|
5117
6702
|
} | undefined;
|
|
5118
6703
|
};
|
|
6704
|
+
id: string;
|
|
5119
6705
|
ctas: {
|
|
5120
6706
|
label: string;
|
|
6707
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5121
6708
|
href?: string | undefined;
|
|
5122
6709
|
target?: "_self" | "_blank" | undefined;
|
|
5123
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5124
6710
|
actionId?: string | undefined;
|
|
5125
6711
|
}[];
|
|
5126
6712
|
tagline?: string | undefined;
|
|
@@ -5183,9 +6769,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5183
6769
|
max?: number | undefined;
|
|
5184
6770
|
} | undefined;
|
|
5185
6771
|
specs?: {
|
|
6772
|
+
name: string;
|
|
5186
6773
|
value: string;
|
|
5187
6774
|
section: string;
|
|
5188
|
-
name: string;
|
|
5189
6775
|
unit?: string | undefined;
|
|
5190
6776
|
emphasis?: boolean | undefined;
|
|
5191
6777
|
priority?: number | undefined;
|
|
@@ -5196,13 +6782,35 @@ export declare const tileWidgets: readonly [{
|
|
|
5196
6782
|
label: string;
|
|
5197
6783
|
emphasis?: boolean | undefined;
|
|
5198
6784
|
}[] | undefined;
|
|
6785
|
+
variants?: {
|
|
6786
|
+
attributes: {
|
|
6787
|
+
values: {
|
|
6788
|
+
label: string;
|
|
6789
|
+
id: string;
|
|
6790
|
+
swatch: {
|
|
6791
|
+
kind: "image" | "color";
|
|
6792
|
+
value: string;
|
|
6793
|
+
} | null;
|
|
6794
|
+
}[];
|
|
6795
|
+
kind: "pill" | "swatch";
|
|
6796
|
+
label: string;
|
|
6797
|
+
key: string;
|
|
6798
|
+
}[];
|
|
6799
|
+
variants: {
|
|
6800
|
+
id: string;
|
|
6801
|
+
price: number;
|
|
6802
|
+
in_stock: boolean;
|
|
6803
|
+
selection: Record<string, string>;
|
|
6804
|
+
compare_at_price: number | null;
|
|
6805
|
+
featured_image?: string | undefined;
|
|
6806
|
+
}[];
|
|
6807
|
+
} | undefined;
|
|
5199
6808
|
}>;
|
|
5200
6809
|
layout: z.ZodDefault<z.ZodEnum<["image-left", "image-right", "image-top"]>>;
|
|
5201
6810
|
longCopy: z.ZodOptional<z.ZodString>;
|
|
5202
6811
|
}, "strip", z.ZodTypeAny, {
|
|
5203
6812
|
product: {
|
|
5204
6813
|
name: string;
|
|
5205
|
-
id: string;
|
|
5206
6814
|
image: {
|
|
5207
6815
|
src: string;
|
|
5208
6816
|
alt: string;
|
|
@@ -5221,10 +6829,11 @@ export declare const tileWidgets: readonly [{
|
|
|
5221
6829
|
url?: string | undefined;
|
|
5222
6830
|
} | undefined;
|
|
5223
6831
|
};
|
|
6832
|
+
id: string;
|
|
5224
6833
|
ctas: {
|
|
5225
6834
|
label: string;
|
|
5226
|
-
target: "_self" | "_blank";
|
|
5227
6835
|
variant: "primary" | "secondary" | "ghost";
|
|
6836
|
+
target: "_self" | "_blank";
|
|
5228
6837
|
href?: string | undefined;
|
|
5229
6838
|
actionId?: string | undefined;
|
|
5230
6839
|
}[];
|
|
@@ -5288,9 +6897,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5288
6897
|
max: number;
|
|
5289
6898
|
} | undefined;
|
|
5290
6899
|
specs?: {
|
|
6900
|
+
name: string;
|
|
5291
6901
|
value: string;
|
|
5292
6902
|
section: string;
|
|
5293
|
-
name: string;
|
|
5294
6903
|
emphasis: boolean;
|
|
5295
6904
|
unit?: string | undefined;
|
|
5296
6905
|
priority?: number | undefined;
|
|
@@ -5298,16 +6907,38 @@ export declare const tileWidgets: readonly [{
|
|
|
5298
6907
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
5299
6908
|
attributes?: {
|
|
5300
6909
|
value: string;
|
|
5301
|
-
emphasis: boolean;
|
|
5302
6910
|
label: string;
|
|
6911
|
+
emphasis: boolean;
|
|
5303
6912
|
}[] | undefined;
|
|
6913
|
+
variants?: {
|
|
6914
|
+
attributes: {
|
|
6915
|
+
values: {
|
|
6916
|
+
label: string;
|
|
6917
|
+
id: string;
|
|
6918
|
+
swatch: {
|
|
6919
|
+
kind: "image" | "color";
|
|
6920
|
+
value: string;
|
|
6921
|
+
} | null;
|
|
6922
|
+
}[];
|
|
6923
|
+
kind: "pill" | "swatch";
|
|
6924
|
+
label: string;
|
|
6925
|
+
key: string;
|
|
6926
|
+
}[];
|
|
6927
|
+
variants: {
|
|
6928
|
+
id: string;
|
|
6929
|
+
price: number;
|
|
6930
|
+
in_stock: boolean;
|
|
6931
|
+
selection: Record<string, string>;
|
|
6932
|
+
compare_at_price: number | null;
|
|
6933
|
+
featured_image?: string | undefined;
|
|
6934
|
+
}[];
|
|
6935
|
+
} | undefined;
|
|
5304
6936
|
};
|
|
5305
6937
|
layout: "image-left" | "image-right" | "image-top";
|
|
5306
6938
|
longCopy?: string | undefined;
|
|
5307
6939
|
}, {
|
|
5308
6940
|
product: {
|
|
5309
6941
|
name: string;
|
|
5310
|
-
id: string;
|
|
5311
6942
|
image: {
|
|
5312
6943
|
src: string;
|
|
5313
6944
|
alt: string;
|
|
@@ -5326,11 +6957,12 @@ export declare const tileWidgets: readonly [{
|
|
|
5326
6957
|
url?: string | undefined;
|
|
5327
6958
|
} | undefined;
|
|
5328
6959
|
};
|
|
6960
|
+
id: string;
|
|
5329
6961
|
ctas: {
|
|
5330
6962
|
label: string;
|
|
6963
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5331
6964
|
href?: string | undefined;
|
|
5332
6965
|
target?: "_self" | "_blank" | undefined;
|
|
5333
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5334
6966
|
actionId?: string | undefined;
|
|
5335
6967
|
}[];
|
|
5336
6968
|
tagline?: string | undefined;
|
|
@@ -5393,9 +7025,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5393
7025
|
max?: number | undefined;
|
|
5394
7026
|
} | undefined;
|
|
5395
7027
|
specs?: {
|
|
7028
|
+
name: string;
|
|
5396
7029
|
value: string;
|
|
5397
7030
|
section: string;
|
|
5398
|
-
name: string;
|
|
5399
7031
|
unit?: string | undefined;
|
|
5400
7032
|
emphasis?: boolean | undefined;
|
|
5401
7033
|
priority?: number | undefined;
|
|
@@ -5406,6 +7038,29 @@ export declare const tileWidgets: readonly [{
|
|
|
5406
7038
|
label: string;
|
|
5407
7039
|
emphasis?: boolean | undefined;
|
|
5408
7040
|
}[] | undefined;
|
|
7041
|
+
variants?: {
|
|
7042
|
+
attributes: {
|
|
7043
|
+
values: {
|
|
7044
|
+
label: string;
|
|
7045
|
+
id: string;
|
|
7046
|
+
swatch: {
|
|
7047
|
+
kind: "image" | "color";
|
|
7048
|
+
value: string;
|
|
7049
|
+
} | null;
|
|
7050
|
+
}[];
|
|
7051
|
+
kind: "pill" | "swatch";
|
|
7052
|
+
label: string;
|
|
7053
|
+
key: string;
|
|
7054
|
+
}[];
|
|
7055
|
+
variants: {
|
|
7056
|
+
id: string;
|
|
7057
|
+
price: number;
|
|
7058
|
+
in_stock: boolean;
|
|
7059
|
+
selection: Record<string, string>;
|
|
7060
|
+
compare_at_price: number | null;
|
|
7061
|
+
featured_image?: string | undefined;
|
|
7062
|
+
}[];
|
|
7063
|
+
} | undefined;
|
|
5409
7064
|
};
|
|
5410
7065
|
layout?: "image-left" | "image-right" | "image-top" | undefined;
|
|
5411
7066
|
longCopy?: string | undefined;
|
|
@@ -5598,15 +7253,15 @@ export declare const tileWidgets: readonly [{
|
|
|
5598
7253
|
actionId: z.ZodOptional<z.ZodString>;
|
|
5599
7254
|
}, "strict", z.ZodTypeAny, {
|
|
5600
7255
|
label: string;
|
|
5601
|
-
target: "_self" | "_blank";
|
|
5602
7256
|
variant: "primary" | "secondary" | "ghost";
|
|
7257
|
+
target: "_self" | "_blank";
|
|
5603
7258
|
href?: string | undefined;
|
|
5604
7259
|
actionId?: string | undefined;
|
|
5605
7260
|
}, {
|
|
5606
7261
|
label: string;
|
|
7262
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5607
7263
|
href?: string | undefined;
|
|
5608
7264
|
target?: "_self" | "_blank" | undefined;
|
|
5609
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5610
7265
|
actionId?: string | undefined;
|
|
5611
7266
|
}>, "many">;
|
|
5612
7267
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -5737,16 +7392,16 @@ export declare const tileWidgets: readonly [{
|
|
|
5737
7392
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
5738
7393
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
5739
7394
|
}, "strict", z.ZodTypeAny, {
|
|
7395
|
+
name: string;
|
|
5740
7396
|
value: string;
|
|
5741
7397
|
section: string;
|
|
5742
|
-
name: string;
|
|
5743
7398
|
emphasis: boolean;
|
|
5744
7399
|
unit?: string | undefined;
|
|
5745
7400
|
priority?: number | undefined;
|
|
5746
7401
|
}, {
|
|
7402
|
+
name: string;
|
|
5747
7403
|
value: string;
|
|
5748
7404
|
section: string;
|
|
5749
|
-
name: string;
|
|
5750
7405
|
unit?: string | undefined;
|
|
5751
7406
|
emphasis?: boolean | undefined;
|
|
5752
7407
|
priority?: number | undefined;
|
|
@@ -5758,16 +7413,140 @@ export declare const tileWidgets: readonly [{
|
|
|
5758
7413
|
emphasis: z.ZodDefault<z.ZodBoolean>;
|
|
5759
7414
|
}, "strict", z.ZodTypeAny, {
|
|
5760
7415
|
value: string;
|
|
5761
|
-
emphasis: boolean;
|
|
5762
7416
|
label: string;
|
|
7417
|
+
emphasis: boolean;
|
|
5763
7418
|
}, {
|
|
5764
7419
|
value: string;
|
|
5765
7420
|
label: string;
|
|
5766
7421
|
emphasis?: boolean | undefined;
|
|
5767
7422
|
}>, "many">>;
|
|
7423
|
+
variants: z.ZodOptional<z.ZodObject<{
|
|
7424
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
7425
|
+
key: z.ZodString;
|
|
7426
|
+
label: z.ZodString;
|
|
7427
|
+
kind: z.ZodEnum<["pill", "swatch"]>;
|
|
7428
|
+
values: z.ZodArray<z.ZodObject<{
|
|
7429
|
+
id: z.ZodString;
|
|
7430
|
+
label: z.ZodString;
|
|
7431
|
+
swatch: z.ZodNullable<z.ZodObject<{
|
|
7432
|
+
kind: z.ZodEnum<["color", "image"]>;
|
|
7433
|
+
value: z.ZodString;
|
|
7434
|
+
}, "strip", z.ZodTypeAny, {
|
|
7435
|
+
kind: "image" | "color";
|
|
7436
|
+
value: string;
|
|
7437
|
+
}, {
|
|
7438
|
+
kind: "image" | "color";
|
|
7439
|
+
value: string;
|
|
7440
|
+
}>>;
|
|
7441
|
+
}, "strip", z.ZodTypeAny, {
|
|
7442
|
+
label: string;
|
|
7443
|
+
id: string;
|
|
7444
|
+
swatch: {
|
|
7445
|
+
kind: "image" | "color";
|
|
7446
|
+
value: string;
|
|
7447
|
+
} | null;
|
|
7448
|
+
}, {
|
|
7449
|
+
label: string;
|
|
7450
|
+
id: string;
|
|
7451
|
+
swatch: {
|
|
7452
|
+
kind: "image" | "color";
|
|
7453
|
+
value: string;
|
|
7454
|
+
} | null;
|
|
7455
|
+
}>, "many">;
|
|
7456
|
+
}, "strip", z.ZodTypeAny, {
|
|
7457
|
+
values: {
|
|
7458
|
+
label: string;
|
|
7459
|
+
id: string;
|
|
7460
|
+
swatch: {
|
|
7461
|
+
kind: "image" | "color";
|
|
7462
|
+
value: string;
|
|
7463
|
+
} | null;
|
|
7464
|
+
}[];
|
|
7465
|
+
kind: "pill" | "swatch";
|
|
7466
|
+
label: string;
|
|
7467
|
+
key: string;
|
|
7468
|
+
}, {
|
|
7469
|
+
values: {
|
|
7470
|
+
label: string;
|
|
7471
|
+
id: string;
|
|
7472
|
+
swatch: {
|
|
7473
|
+
kind: "image" | "color";
|
|
7474
|
+
value: string;
|
|
7475
|
+
} | null;
|
|
7476
|
+
}[];
|
|
7477
|
+
kind: "pill" | "swatch";
|
|
7478
|
+
label: string;
|
|
7479
|
+
key: string;
|
|
7480
|
+
}>, "many">;
|
|
7481
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
7482
|
+
id: z.ZodString;
|
|
7483
|
+
selection: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7484
|
+
price: z.ZodNumber;
|
|
7485
|
+
compare_at_price: z.ZodNullable<z.ZodNumber>;
|
|
7486
|
+
in_stock: z.ZodBoolean;
|
|
7487
|
+
featured_image: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7488
|
+
}, "strip", z.ZodTypeAny, {
|
|
7489
|
+
id: string;
|
|
7490
|
+
price: number;
|
|
7491
|
+
in_stock: boolean;
|
|
7492
|
+
selection: Record<string, string>;
|
|
7493
|
+
compare_at_price: number | null;
|
|
7494
|
+
featured_image?: string | undefined;
|
|
7495
|
+
}, {
|
|
7496
|
+
id: string;
|
|
7497
|
+
price: number;
|
|
7498
|
+
in_stock: boolean;
|
|
7499
|
+
selection: Record<string, string>;
|
|
7500
|
+
compare_at_price: number | null;
|
|
7501
|
+
featured_image?: string | undefined;
|
|
7502
|
+
}>, "many">;
|
|
7503
|
+
}, "strip", z.ZodTypeAny, {
|
|
7504
|
+
attributes: {
|
|
7505
|
+
values: {
|
|
7506
|
+
label: string;
|
|
7507
|
+
id: string;
|
|
7508
|
+
swatch: {
|
|
7509
|
+
kind: "image" | "color";
|
|
7510
|
+
value: string;
|
|
7511
|
+
} | null;
|
|
7512
|
+
}[];
|
|
7513
|
+
kind: "pill" | "swatch";
|
|
7514
|
+
label: string;
|
|
7515
|
+
key: string;
|
|
7516
|
+
}[];
|
|
7517
|
+
variants: {
|
|
7518
|
+
id: string;
|
|
7519
|
+
price: number;
|
|
7520
|
+
in_stock: boolean;
|
|
7521
|
+
selection: Record<string, string>;
|
|
7522
|
+
compare_at_price: number | null;
|
|
7523
|
+
featured_image?: string | undefined;
|
|
7524
|
+
}[];
|
|
7525
|
+
}, {
|
|
7526
|
+
attributes: {
|
|
7527
|
+
values: {
|
|
7528
|
+
label: string;
|
|
7529
|
+
id: string;
|
|
7530
|
+
swatch: {
|
|
7531
|
+
kind: "image" | "color";
|
|
7532
|
+
value: string;
|
|
7533
|
+
} | null;
|
|
7534
|
+
}[];
|
|
7535
|
+
kind: "pill" | "swatch";
|
|
7536
|
+
label: string;
|
|
7537
|
+
key: string;
|
|
7538
|
+
}[];
|
|
7539
|
+
variants: {
|
|
7540
|
+
id: string;
|
|
7541
|
+
price: number;
|
|
7542
|
+
in_stock: boolean;
|
|
7543
|
+
selection: Record<string, string>;
|
|
7544
|
+
compare_at_price: number | null;
|
|
7545
|
+
featured_image?: string | undefined;
|
|
7546
|
+
}[];
|
|
7547
|
+
}>>;
|
|
5768
7548
|
}, "strict", z.ZodTypeAny, {
|
|
5769
7549
|
name: string;
|
|
5770
|
-
id: string;
|
|
5771
7550
|
image: {
|
|
5772
7551
|
src: string;
|
|
5773
7552
|
alt: string;
|
|
@@ -5786,10 +7565,11 @@ export declare const tileWidgets: readonly [{
|
|
|
5786
7565
|
url?: string | undefined;
|
|
5787
7566
|
} | undefined;
|
|
5788
7567
|
};
|
|
7568
|
+
id: string;
|
|
5789
7569
|
ctas: {
|
|
5790
7570
|
label: string;
|
|
5791
|
-
target: "_self" | "_blank";
|
|
5792
7571
|
variant: "primary" | "secondary" | "ghost";
|
|
7572
|
+
target: "_self" | "_blank";
|
|
5793
7573
|
href?: string | undefined;
|
|
5794
7574
|
actionId?: string | undefined;
|
|
5795
7575
|
}[];
|
|
@@ -5853,9 +7633,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5853
7633
|
max: number;
|
|
5854
7634
|
} | undefined;
|
|
5855
7635
|
specs?: {
|
|
7636
|
+
name: string;
|
|
5856
7637
|
value: string;
|
|
5857
7638
|
section: string;
|
|
5858
|
-
name: string;
|
|
5859
7639
|
emphasis: boolean;
|
|
5860
7640
|
unit?: string | undefined;
|
|
5861
7641
|
priority?: number | undefined;
|
|
@@ -5863,12 +7643,34 @@ export declare const tileWidgets: readonly [{
|
|
|
5863
7643
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
5864
7644
|
attributes?: {
|
|
5865
7645
|
value: string;
|
|
5866
|
-
emphasis: boolean;
|
|
5867
7646
|
label: string;
|
|
7647
|
+
emphasis: boolean;
|
|
5868
7648
|
}[] | undefined;
|
|
7649
|
+
variants?: {
|
|
7650
|
+
attributes: {
|
|
7651
|
+
values: {
|
|
7652
|
+
label: string;
|
|
7653
|
+
id: string;
|
|
7654
|
+
swatch: {
|
|
7655
|
+
kind: "image" | "color";
|
|
7656
|
+
value: string;
|
|
7657
|
+
} | null;
|
|
7658
|
+
}[];
|
|
7659
|
+
kind: "pill" | "swatch";
|
|
7660
|
+
label: string;
|
|
7661
|
+
key: string;
|
|
7662
|
+
}[];
|
|
7663
|
+
variants: {
|
|
7664
|
+
id: string;
|
|
7665
|
+
price: number;
|
|
7666
|
+
in_stock: boolean;
|
|
7667
|
+
selection: Record<string, string>;
|
|
7668
|
+
compare_at_price: number | null;
|
|
7669
|
+
featured_image?: string | undefined;
|
|
7670
|
+
}[];
|
|
7671
|
+
} | undefined;
|
|
5869
7672
|
}, {
|
|
5870
7673
|
name: string;
|
|
5871
|
-
id: string;
|
|
5872
7674
|
image: {
|
|
5873
7675
|
src: string;
|
|
5874
7676
|
alt: string;
|
|
@@ -5887,11 +7689,12 @@ export declare const tileWidgets: readonly [{
|
|
|
5887
7689
|
url?: string | undefined;
|
|
5888
7690
|
} | undefined;
|
|
5889
7691
|
};
|
|
7692
|
+
id: string;
|
|
5890
7693
|
ctas: {
|
|
5891
7694
|
label: string;
|
|
7695
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5892
7696
|
href?: string | undefined;
|
|
5893
7697
|
target?: "_self" | "_blank" | undefined;
|
|
5894
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5895
7698
|
actionId?: string | undefined;
|
|
5896
7699
|
}[];
|
|
5897
7700
|
tagline?: string | undefined;
|
|
@@ -5954,9 +7757,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5954
7757
|
max?: number | undefined;
|
|
5955
7758
|
} | undefined;
|
|
5956
7759
|
specs?: {
|
|
7760
|
+
name: string;
|
|
5957
7761
|
value: string;
|
|
5958
7762
|
section: string;
|
|
5959
|
-
name: string;
|
|
5960
7763
|
unit?: string | undefined;
|
|
5961
7764
|
emphasis?: boolean | undefined;
|
|
5962
7765
|
priority?: number | undefined;
|
|
@@ -5967,13 +7770,35 @@ export declare const tileWidgets: readonly [{
|
|
|
5967
7770
|
label: string;
|
|
5968
7771
|
emphasis?: boolean | undefined;
|
|
5969
7772
|
}[] | undefined;
|
|
7773
|
+
variants?: {
|
|
7774
|
+
attributes: {
|
|
7775
|
+
values: {
|
|
7776
|
+
label: string;
|
|
7777
|
+
id: string;
|
|
7778
|
+
swatch: {
|
|
7779
|
+
kind: "image" | "color";
|
|
7780
|
+
value: string;
|
|
7781
|
+
} | null;
|
|
7782
|
+
}[];
|
|
7783
|
+
kind: "pill" | "swatch";
|
|
7784
|
+
label: string;
|
|
7785
|
+
key: string;
|
|
7786
|
+
}[];
|
|
7787
|
+
variants: {
|
|
7788
|
+
id: string;
|
|
7789
|
+
price: number;
|
|
7790
|
+
in_stock: boolean;
|
|
7791
|
+
selection: Record<string, string>;
|
|
7792
|
+
compare_at_price: number | null;
|
|
7793
|
+
featured_image?: string | undefined;
|
|
7794
|
+
}[];
|
|
7795
|
+
} | undefined;
|
|
5970
7796
|
}>, "many">;
|
|
5971
7797
|
desktopColumns: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
5972
7798
|
heading: z.ZodOptional<z.ZodString>;
|
|
5973
7799
|
}, "strip", z.ZodTypeAny, {
|
|
5974
7800
|
products: {
|
|
5975
7801
|
name: string;
|
|
5976
|
-
id: string;
|
|
5977
7802
|
image: {
|
|
5978
7803
|
src: string;
|
|
5979
7804
|
alt: string;
|
|
@@ -5992,10 +7817,11 @@ export declare const tileWidgets: readonly [{
|
|
|
5992
7817
|
url?: string | undefined;
|
|
5993
7818
|
} | undefined;
|
|
5994
7819
|
};
|
|
7820
|
+
id: string;
|
|
5995
7821
|
ctas: {
|
|
5996
7822
|
label: string;
|
|
5997
|
-
target: "_self" | "_blank";
|
|
5998
7823
|
variant: "primary" | "secondary" | "ghost";
|
|
7824
|
+
target: "_self" | "_blank";
|
|
5999
7825
|
href?: string | undefined;
|
|
6000
7826
|
actionId?: string | undefined;
|
|
6001
7827
|
}[];
|
|
@@ -6059,9 +7885,9 @@ export declare const tileWidgets: readonly [{
|
|
|
6059
7885
|
max: number;
|
|
6060
7886
|
} | undefined;
|
|
6061
7887
|
specs?: {
|
|
7888
|
+
name: string;
|
|
6062
7889
|
value: string;
|
|
6063
7890
|
section: string;
|
|
6064
|
-
name: string;
|
|
6065
7891
|
emphasis: boolean;
|
|
6066
7892
|
unit?: string | undefined;
|
|
6067
7893
|
priority?: number | undefined;
|
|
@@ -6069,16 +7895,38 @@ export declare const tileWidgets: readonly [{
|
|
|
6069
7895
|
labels?: Record<string, string | number | boolean> | undefined;
|
|
6070
7896
|
attributes?: {
|
|
6071
7897
|
value: string;
|
|
6072
|
-
emphasis: boolean;
|
|
6073
7898
|
label: string;
|
|
7899
|
+
emphasis: boolean;
|
|
6074
7900
|
}[] | undefined;
|
|
7901
|
+
variants?: {
|
|
7902
|
+
attributes: {
|
|
7903
|
+
values: {
|
|
7904
|
+
label: string;
|
|
7905
|
+
id: string;
|
|
7906
|
+
swatch: {
|
|
7907
|
+
kind: "image" | "color";
|
|
7908
|
+
value: string;
|
|
7909
|
+
} | null;
|
|
7910
|
+
}[];
|
|
7911
|
+
kind: "pill" | "swatch";
|
|
7912
|
+
label: string;
|
|
7913
|
+
key: string;
|
|
7914
|
+
}[];
|
|
7915
|
+
variants: {
|
|
7916
|
+
id: string;
|
|
7917
|
+
price: number;
|
|
7918
|
+
in_stock: boolean;
|
|
7919
|
+
selection: Record<string, string>;
|
|
7920
|
+
compare_at_price: number | null;
|
|
7921
|
+
featured_image?: string | undefined;
|
|
7922
|
+
}[];
|
|
7923
|
+
} | undefined;
|
|
6075
7924
|
}[];
|
|
6076
7925
|
desktopColumns: 2 | 3;
|
|
6077
7926
|
heading?: string | undefined;
|
|
6078
7927
|
}, {
|
|
6079
7928
|
products: {
|
|
6080
7929
|
name: string;
|
|
6081
|
-
id: string;
|
|
6082
7930
|
image: {
|
|
6083
7931
|
src: string;
|
|
6084
7932
|
alt: string;
|
|
@@ -6097,11 +7945,12 @@ export declare const tileWidgets: readonly [{
|
|
|
6097
7945
|
url?: string | undefined;
|
|
6098
7946
|
} | undefined;
|
|
6099
7947
|
};
|
|
7948
|
+
id: string;
|
|
6100
7949
|
ctas: {
|
|
6101
7950
|
label: string;
|
|
7951
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6102
7952
|
href?: string | undefined;
|
|
6103
7953
|
target?: "_self" | "_blank" | undefined;
|
|
6104
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6105
7954
|
actionId?: string | undefined;
|
|
6106
7955
|
}[];
|
|
6107
7956
|
tagline?: string | undefined;
|
|
@@ -6164,9 +8013,9 @@ export declare const tileWidgets: readonly [{
|
|
|
6164
8013
|
max?: number | undefined;
|
|
6165
8014
|
} | undefined;
|
|
6166
8015
|
specs?: {
|
|
8016
|
+
name: string;
|
|
6167
8017
|
value: string;
|
|
6168
8018
|
section: string;
|
|
6169
|
-
name: string;
|
|
6170
8019
|
unit?: string | undefined;
|
|
6171
8020
|
emphasis?: boolean | undefined;
|
|
6172
8021
|
priority?: number | undefined;
|
|
@@ -6177,11 +8026,96 @@ export declare const tileWidgets: readonly [{
|
|
|
6177
8026
|
label: string;
|
|
6178
8027
|
emphasis?: boolean | undefined;
|
|
6179
8028
|
}[] | undefined;
|
|
8029
|
+
variants?: {
|
|
8030
|
+
attributes: {
|
|
8031
|
+
values: {
|
|
8032
|
+
label: string;
|
|
8033
|
+
id: string;
|
|
8034
|
+
swatch: {
|
|
8035
|
+
kind: "image" | "color";
|
|
8036
|
+
value: string;
|
|
8037
|
+
} | null;
|
|
8038
|
+
}[];
|
|
8039
|
+
kind: "pill" | "swatch";
|
|
8040
|
+
label: string;
|
|
8041
|
+
key: string;
|
|
8042
|
+
}[];
|
|
8043
|
+
variants: {
|
|
8044
|
+
id: string;
|
|
8045
|
+
price: number;
|
|
8046
|
+
in_stock: boolean;
|
|
8047
|
+
selection: Record<string, string>;
|
|
8048
|
+
compare_at_price: number | null;
|
|
8049
|
+
featured_image?: string | undefined;
|
|
8050
|
+
}[];
|
|
8051
|
+
} | undefined;
|
|
6180
8052
|
}[];
|
|
6181
8053
|
heading?: string | undefined;
|
|
6182
8054
|
desktopColumns?: 2 | 3 | undefined;
|
|
6183
8055
|
}>;
|
|
8056
|
+
}, {
|
|
8057
|
+
readonly widget: "adaptive-product:reco";
|
|
8058
|
+
readonly defName: "productRecoProps";
|
|
8059
|
+
readonly propsSchema: z.ZodObject<{
|
|
8060
|
+
heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8061
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8062
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8063
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8064
|
+
hook: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8065
|
+
pdp_href: z.ZodString;
|
|
8066
|
+
}, "strip", z.ZodTypeAny, {
|
|
8067
|
+
pdp_href: string;
|
|
8068
|
+
image_url?: string | null | undefined;
|
|
8069
|
+
price?: string | null | undefined;
|
|
8070
|
+
hook?: string | null | undefined;
|
|
8071
|
+
}, {
|
|
8072
|
+
pdp_href: string;
|
|
8073
|
+
image_url?: string | null | undefined;
|
|
8074
|
+
price?: string | null | undefined;
|
|
8075
|
+
hook?: string | null | undefined;
|
|
8076
|
+
}>, "many">>;
|
|
8077
|
+
}, "strip", z.ZodTypeAny, {
|
|
8078
|
+
items: {
|
|
8079
|
+
pdp_href: string;
|
|
8080
|
+
image_url?: string | null | undefined;
|
|
8081
|
+
price?: string | null | undefined;
|
|
8082
|
+
hook?: string | null | undefined;
|
|
8083
|
+
}[];
|
|
8084
|
+
heading?: string | null | undefined;
|
|
8085
|
+
}, {
|
|
8086
|
+
items?: {
|
|
8087
|
+
pdp_href: string;
|
|
8088
|
+
image_url?: string | null | undefined;
|
|
8089
|
+
price?: string | null | undefined;
|
|
8090
|
+
hook?: string | null | undefined;
|
|
8091
|
+
}[] | undefined;
|
|
8092
|
+
heading?: string | null | undefined;
|
|
8093
|
+
}>;
|
|
6184
8094
|
}];
|
|
8095
|
+
export declare const CAPABILITIES_DOCUMENTATION: {
|
|
8096
|
+
packageId: string;
|
|
8097
|
+
plannerSummary: string;
|
|
8098
|
+
description: string;
|
|
8099
|
+
whenToUse: {
|
|
8100
|
+
goal: string;
|
|
8101
|
+
action: string;
|
|
8102
|
+
}[];
|
|
8103
|
+
conventions: {
|
|
8104
|
+
name: string;
|
|
8105
|
+
description: string;
|
|
8106
|
+
}[];
|
|
8107
|
+
events: never[];
|
|
8108
|
+
};
|
|
8109
|
+
export type { AddToCartInput, AddToCartResult, AttributeDef, AttributeValue, ProductPlatformAdapter, SwatchSpec, Variant, VariantPayload, } from './platformAdapter';
|
|
8110
|
+
export { getProductPlatformAdapter } from './platformAdapter';
|
|
6185
8111
|
export type { ImageBind, PriceBind, Product } from './schema-primitives';
|
|
6186
8112
|
export { productSchema } from './schema-primitives';
|
|
8113
|
+
export interface SyntroPdpProps {
|
|
8114
|
+
/** Stable product identifier passed to the backend planner. */
|
|
8115
|
+
productId: string;
|
|
8116
|
+
/** Display name used by the planner when authoring headers / copy. */
|
|
8117
|
+
productName: string;
|
|
8118
|
+
/** Optional short product blurb passed verbatim into the planner. */
|
|
8119
|
+
productBlurb?: string;
|
|
8120
|
+
}
|
|
6187
8121
|
//# sourceMappingURL=schema.d.ts.map
|