@contentful/experiences-validators 1.42.0-dev-20250630T1405-f8cda11.0 → 1.42.0-prerelease-20250620T1340-2128bcf.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/index.cjs +16 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +178 -388
- package/dist/index.js +16 -35
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +141 -296
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ declare const ComponentPropertyValueSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
169
169
|
type: "NoValue";
|
|
170
170
|
}>]>;
|
|
171
171
|
type ComponentPropertyValue = z.infer<typeof ComponentPropertyValueSchema>;
|
|
172
|
-
declare const
|
|
172
|
+
declare const PatternPropertySchema: z.ZodObject<{
|
|
173
173
|
type: z.ZodLiteral<"BoundValue">;
|
|
174
174
|
path: z.ZodString;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -415,10 +415,10 @@ type NoValue = z.infer<typeof NoValueSchema>;
|
|
|
415
415
|
type UnboundValue = z.infer<typeof UnboundValueSchema>;
|
|
416
416
|
type ComponentValue = z.infer<typeof ComponentValueSchema>;
|
|
417
417
|
type BindingSourceTypeEnum = z.infer<typeof BindingSourceTypeEnumSchema>;
|
|
418
|
-
type
|
|
418
|
+
type PatternProperty = z.infer<typeof PatternPropertySchema>;
|
|
419
419
|
|
|
420
420
|
declare const VariableMappingSchema: z.ZodObject<{
|
|
421
|
-
|
|
421
|
+
parameterDefinitionId: z.ZodString;
|
|
422
422
|
type: z.ZodLiteral<"ContentTypeMapping">;
|
|
423
423
|
pathsByContentType: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
424
424
|
path: z.ZodString;
|
|
@@ -429,69 +429,45 @@ declare const VariableMappingSchema: z.ZodObject<{
|
|
|
429
429
|
}>>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
431
|
type: "ContentTypeMapping";
|
|
432
|
-
|
|
432
|
+
parameterDefinitionId: string;
|
|
433
433
|
pathsByContentType: Record<string, {
|
|
434
434
|
path: string;
|
|
435
435
|
}>;
|
|
436
436
|
}, {
|
|
437
437
|
type: "ContentTypeMapping";
|
|
438
|
-
|
|
438
|
+
parameterDefinitionId: string;
|
|
439
439
|
pathsByContentType: Record<string, {
|
|
440
440
|
path: string;
|
|
441
441
|
}>;
|
|
442
442
|
}>;
|
|
443
443
|
declare const ParameterDefinitionSchema: z.ZodObject<{
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
type: "Link";
|
|
454
|
-
id: string;
|
|
455
|
-
linkType: "Entry";
|
|
456
|
-
}, {
|
|
457
|
-
type: "Link";
|
|
458
|
-
id: string;
|
|
459
|
-
linkType: "Entry";
|
|
460
|
-
}>;
|
|
461
|
-
}, "strict", z.ZodTypeAny, {
|
|
462
|
-
sys: {
|
|
463
|
-
type: "Link";
|
|
464
|
-
id: string;
|
|
465
|
-
linkType: "Entry";
|
|
466
|
-
};
|
|
444
|
+
defaultValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
445
|
+
sys: z.ZodObject<{
|
|
446
|
+
type: z.ZodLiteral<"Link">;
|
|
447
|
+
id: z.ZodString;
|
|
448
|
+
linkType: z.ZodEnum<["Entry"]>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
type: "Link";
|
|
451
|
+
id: string;
|
|
452
|
+
linkType: "Entry";
|
|
467
453
|
}, {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
linkType: "Entry";
|
|
472
|
-
};
|
|
454
|
+
type: "Link";
|
|
455
|
+
id: string;
|
|
456
|
+
linkType: "Entry";
|
|
473
457
|
}>;
|
|
474
|
-
}, "
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
type: "Link";
|
|
480
|
-
id: string;
|
|
481
|
-
linkType: "Entry";
|
|
482
|
-
};
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
sys: {
|
|
460
|
+
type: "Link";
|
|
461
|
+
id: string;
|
|
462
|
+
linkType: "Entry";
|
|
483
463
|
};
|
|
484
464
|
}, {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
type: "Link";
|
|
490
|
-
id: string;
|
|
491
|
-
linkType: "Entry";
|
|
492
|
-
};
|
|
465
|
+
sys: {
|
|
466
|
+
type: "Link";
|
|
467
|
+
id: string;
|
|
468
|
+
linkType: "Entry";
|
|
493
469
|
};
|
|
494
|
-
}
|
|
470
|
+
}>>>;
|
|
495
471
|
contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
496
472
|
sys: z.ZodObject<{
|
|
497
473
|
type: z.ZodLiteral<"Link">;
|
|
@@ -519,19 +495,6 @@ declare const ParameterDefinitionSchema: z.ZodObject<{
|
|
|
519
495
|
linkType: "ContentType";
|
|
520
496
|
};
|
|
521
497
|
}>>;
|
|
522
|
-
passToNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
523
|
-
nodeId: z.ZodString;
|
|
524
|
-
parameterId: z.ZodString;
|
|
525
|
-
prebindingId: z.ZodString;
|
|
526
|
-
}, "strict", z.ZodTypeAny, {
|
|
527
|
-
parameterId: string;
|
|
528
|
-
nodeId: string;
|
|
529
|
-
prebindingId: string;
|
|
530
|
-
}, {
|
|
531
|
-
parameterId: string;
|
|
532
|
-
nodeId: string;
|
|
533
|
-
prebindingId: string;
|
|
534
|
-
}>, "many">>;
|
|
535
498
|
}, "strip", z.ZodTypeAny, {
|
|
536
499
|
contentTypes: Record<string, {
|
|
537
500
|
sys: {
|
|
@@ -540,22 +503,13 @@ declare const ParameterDefinitionSchema: z.ZodObject<{
|
|
|
540
503
|
linkType: "ContentType";
|
|
541
504
|
};
|
|
542
505
|
}>;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
type: "Link";
|
|
549
|
-
id: string;
|
|
550
|
-
linkType: "Entry";
|
|
551
|
-
};
|
|
506
|
+
defaultValue?: Record<string, {
|
|
507
|
+
sys: {
|
|
508
|
+
type: "Link";
|
|
509
|
+
id: string;
|
|
510
|
+
linkType: "Entry";
|
|
552
511
|
};
|
|
553
|
-
} | undefined;
|
|
554
|
-
passToNodes?: {
|
|
555
|
-
parameterId: string;
|
|
556
|
-
nodeId: string;
|
|
557
|
-
prebindingId: string;
|
|
558
|
-
}[] | undefined;
|
|
512
|
+
}> | undefined;
|
|
559
513
|
}, {
|
|
560
514
|
contentTypes: Record<string, {
|
|
561
515
|
sys: {
|
|
@@ -564,22 +518,13 @@ declare const ParameterDefinitionSchema: z.ZodObject<{
|
|
|
564
518
|
linkType: "ContentType";
|
|
565
519
|
};
|
|
566
520
|
}>;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
type: "Link";
|
|
573
|
-
id: string;
|
|
574
|
-
linkType: "Entry";
|
|
575
|
-
};
|
|
521
|
+
defaultValue?: Record<string, {
|
|
522
|
+
sys: {
|
|
523
|
+
type: "Link";
|
|
524
|
+
id: string;
|
|
525
|
+
linkType: "Entry";
|
|
576
526
|
};
|
|
577
|
-
} | undefined;
|
|
578
|
-
passToNodes?: {
|
|
579
|
-
parameterId: string;
|
|
580
|
-
nodeId: string;
|
|
581
|
-
prebindingId: string;
|
|
582
|
-
}[] | undefined;
|
|
527
|
+
}> | undefined;
|
|
583
528
|
}>;
|
|
584
529
|
declare const ComponentSettingsSchema: z.ZodObject<{
|
|
585
530
|
variableDefinitions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -742,245 +687,116 @@ declare const ComponentSettingsSchema: z.ZodObject<{
|
|
|
742
687
|
}>>;
|
|
743
688
|
thumbnailId: z.ZodOptional<z.ZodEnum<["columns", "columnsPlusRight", "imagesSquare", "subtitles", "rowsPlusBottom", "userRectangle", "textbox", "monitorPlay", "article", "table", "star", "heartStraight", "frameCorners", "rows", "dotsThreeOutline", "listDashes", "checkerBoard", "gridFour", "slideshow", "diamondsFour", "cards", "textColumns", "duplex"]>>;
|
|
744
689
|
category: z.ZodOptional<z.ZodString>;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
contentTypeId: z.ZodString;
|
|
751
|
-
link: z.ZodObject<{
|
|
752
|
-
sys: z.ZodObject<{
|
|
753
|
-
type: z.ZodLiteral<"Link">;
|
|
754
|
-
id: z.ZodString;
|
|
755
|
-
linkType: z.ZodEnum<["Entry"]>;
|
|
756
|
-
}, "strict", z.ZodTypeAny, {
|
|
757
|
-
type: "Link";
|
|
758
|
-
id: string;
|
|
759
|
-
linkType: "Entry";
|
|
760
|
-
}, {
|
|
761
|
-
type: "Link";
|
|
762
|
-
id: string;
|
|
763
|
-
linkType: "Entry";
|
|
764
|
-
}>;
|
|
765
|
-
}, "strict", z.ZodTypeAny, {
|
|
766
|
-
sys: {
|
|
767
|
-
type: "Link";
|
|
768
|
-
id: string;
|
|
769
|
-
linkType: "Entry";
|
|
770
|
-
};
|
|
771
|
-
}, {
|
|
772
|
-
sys: {
|
|
773
|
-
type: "Link";
|
|
774
|
-
id: string;
|
|
775
|
-
linkType: "Entry";
|
|
776
|
-
};
|
|
777
|
-
}>;
|
|
778
|
-
}, "strict", z.ZodTypeAny, {
|
|
779
|
-
type: "Entry";
|
|
780
|
-
contentTypeId: string;
|
|
781
|
-
link: {
|
|
782
|
-
sys: {
|
|
783
|
-
type: "Link";
|
|
784
|
-
id: string;
|
|
785
|
-
linkType: "Entry";
|
|
786
|
-
};
|
|
787
|
-
};
|
|
788
|
-
}, {
|
|
789
|
-
type: "Entry";
|
|
790
|
-
contentTypeId: string;
|
|
791
|
-
link: {
|
|
792
|
-
sys: {
|
|
793
|
-
type: "Link";
|
|
794
|
-
id: string;
|
|
795
|
-
linkType: "Entry";
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
}>>;
|
|
799
|
-
contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
800
|
-
sys: z.ZodObject<{
|
|
801
|
-
type: z.ZodLiteral<"Link">;
|
|
802
|
-
id: z.ZodString;
|
|
803
|
-
linkType: z.ZodEnum<["ContentType"]>;
|
|
804
|
-
}, "strip", z.ZodTypeAny, {
|
|
805
|
-
type: "Link";
|
|
806
|
-
id: string;
|
|
807
|
-
linkType: "ContentType";
|
|
808
|
-
}, {
|
|
809
|
-
type: "Link";
|
|
810
|
-
id: string;
|
|
811
|
-
linkType: "ContentType";
|
|
812
|
-
}>;
|
|
813
|
-
}, "strip", z.ZodTypeAny, {
|
|
814
|
-
sys: {
|
|
815
|
-
type: "Link";
|
|
816
|
-
id: string;
|
|
817
|
-
linkType: "ContentType";
|
|
818
|
-
};
|
|
819
|
-
}, {
|
|
820
|
-
sys: {
|
|
821
|
-
type: "Link";
|
|
822
|
-
id: string;
|
|
823
|
-
linkType: "ContentType";
|
|
824
|
-
};
|
|
825
|
-
}>>;
|
|
826
|
-
passToNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
|
-
nodeId: z.ZodString;
|
|
828
|
-
parameterId: z.ZodString;
|
|
829
|
-
prebindingId: z.ZodString;
|
|
830
|
-
}, "strict", z.ZodTypeAny, {
|
|
831
|
-
parameterId: string;
|
|
832
|
-
nodeId: string;
|
|
833
|
-
prebindingId: string;
|
|
834
|
-
}, {
|
|
835
|
-
parameterId: string;
|
|
836
|
-
nodeId: string;
|
|
837
|
-
prebindingId: string;
|
|
838
|
-
}>, "many">>;
|
|
690
|
+
variableMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
691
|
+
parameterDefinitionId: z.ZodString;
|
|
692
|
+
type: z.ZodLiteral<"ContentTypeMapping">;
|
|
693
|
+
pathsByContentType: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
694
|
+
path: z.ZodString;
|
|
839
695
|
}, "strip", z.ZodTypeAny, {
|
|
840
|
-
|
|
841
|
-
sys: {
|
|
842
|
-
type: "Link";
|
|
843
|
-
id: string;
|
|
844
|
-
linkType: "ContentType";
|
|
845
|
-
};
|
|
846
|
-
}>;
|
|
847
|
-
defaultSource?: {
|
|
848
|
-
type: "Entry";
|
|
849
|
-
contentTypeId: string;
|
|
850
|
-
link: {
|
|
851
|
-
sys: {
|
|
852
|
-
type: "Link";
|
|
853
|
-
id: string;
|
|
854
|
-
linkType: "Entry";
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
} | undefined;
|
|
858
|
-
passToNodes?: {
|
|
859
|
-
parameterId: string;
|
|
860
|
-
nodeId: string;
|
|
861
|
-
prebindingId: string;
|
|
862
|
-
}[] | undefined;
|
|
696
|
+
path: string;
|
|
863
697
|
}, {
|
|
864
|
-
|
|
865
|
-
sys: {
|
|
866
|
-
type: "Link";
|
|
867
|
-
id: string;
|
|
868
|
-
linkType: "ContentType";
|
|
869
|
-
};
|
|
870
|
-
}>;
|
|
871
|
-
defaultSource?: {
|
|
872
|
-
type: "Entry";
|
|
873
|
-
contentTypeId: string;
|
|
874
|
-
link: {
|
|
875
|
-
sys: {
|
|
876
|
-
type: "Link";
|
|
877
|
-
id: string;
|
|
878
|
-
linkType: "Entry";
|
|
879
|
-
};
|
|
880
|
-
};
|
|
881
|
-
} | undefined;
|
|
882
|
-
passToNodes?: {
|
|
883
|
-
parameterId: string;
|
|
884
|
-
nodeId: string;
|
|
885
|
-
prebindingId: string;
|
|
886
|
-
}[] | undefined;
|
|
698
|
+
path: string;
|
|
887
699
|
}>>;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
700
|
+
}, "strip", z.ZodTypeAny, {
|
|
701
|
+
type: "ContentTypeMapping";
|
|
702
|
+
parameterDefinitionId: string;
|
|
703
|
+
pathsByContentType: Record<string, {
|
|
704
|
+
path: string;
|
|
705
|
+
}>;
|
|
706
|
+
}, {
|
|
707
|
+
type: "ContentTypeMapping";
|
|
708
|
+
parameterDefinitionId: string;
|
|
709
|
+
pathsByContentType: Record<string, {
|
|
710
|
+
path: string;
|
|
711
|
+
}>;
|
|
712
|
+
}>>>;
|
|
713
|
+
parameterDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
714
|
+
defaultValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
715
|
+
sys: z.ZodObject<{
|
|
716
|
+
type: z.ZodLiteral<"Link">;
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
linkType: z.ZodEnum<["Entry"]>;
|
|
893
719
|
}, "strip", z.ZodTypeAny, {
|
|
894
|
-
|
|
720
|
+
type: "Link";
|
|
721
|
+
id: string;
|
|
722
|
+
linkType: "Entry";
|
|
895
723
|
}, {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
type: "ContentTypeMapping";
|
|
900
|
-
parameterId: string;
|
|
901
|
-
pathsByContentType: Record<string, {
|
|
902
|
-
path: string;
|
|
724
|
+
type: "Link";
|
|
725
|
+
id: string;
|
|
726
|
+
linkType: "Entry";
|
|
903
727
|
}>;
|
|
728
|
+
}, "strip", z.ZodTypeAny, {
|
|
729
|
+
sys: {
|
|
730
|
+
type: "Link";
|
|
731
|
+
id: string;
|
|
732
|
+
linkType: "Entry";
|
|
733
|
+
};
|
|
904
734
|
}, {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}
|
|
735
|
+
sys: {
|
|
736
|
+
type: "Link";
|
|
737
|
+
id: string;
|
|
738
|
+
linkType: "Entry";
|
|
739
|
+
};
|
|
910
740
|
}>>>;
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
741
|
+
contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
742
|
+
sys: z.ZodObject<{
|
|
743
|
+
type: z.ZodLiteral<"Link">;
|
|
744
|
+
id: z.ZodString;
|
|
745
|
+
linkType: z.ZodEnum<["ContentType"]>;
|
|
746
|
+
}, "strip", z.ZodTypeAny, {
|
|
747
|
+
type: "Link";
|
|
748
|
+
id: string;
|
|
749
|
+
linkType: "ContentType";
|
|
750
|
+
}, {
|
|
751
|
+
type: "Link";
|
|
752
|
+
id: string;
|
|
753
|
+
linkType: "ContentType";
|
|
921
754
|
}>;
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
sys: {
|
|
757
|
+
type: "Link";
|
|
758
|
+
id: string;
|
|
759
|
+
linkType: "ContentType";
|
|
760
|
+
};
|
|
761
|
+
}, {
|
|
762
|
+
sys: {
|
|
763
|
+
type: "Link";
|
|
764
|
+
id: string;
|
|
765
|
+
linkType: "ContentType";
|
|
766
|
+
};
|
|
767
|
+
}>>;
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
contentTypes: Record<string, {
|
|
770
|
+
sys: {
|
|
771
|
+
type: "Link";
|
|
772
|
+
id: string;
|
|
773
|
+
linkType: "ContentType";
|
|
774
|
+
};
|
|
938
775
|
}>;
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
}
|
|
776
|
+
defaultValue?: Record<string, {
|
|
777
|
+
sys: {
|
|
778
|
+
type: "Link";
|
|
779
|
+
id: string;
|
|
780
|
+
linkType: "Entry";
|
|
781
|
+
};
|
|
945
782
|
}> | undefined;
|
|
946
|
-
allowedVariableOverrides?: string[] | undefined;
|
|
947
783
|
}, {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
linkType: "ContentType";
|
|
955
|
-
};
|
|
956
|
-
}>;
|
|
957
|
-
defaultSource?: {
|
|
958
|
-
type: "Entry";
|
|
959
|
-
contentTypeId: string;
|
|
960
|
-
link: {
|
|
961
|
-
sys: {
|
|
962
|
-
type: "Link";
|
|
963
|
-
id: string;
|
|
964
|
-
linkType: "Entry";
|
|
965
|
-
};
|
|
966
|
-
};
|
|
967
|
-
} | undefined;
|
|
968
|
-
passToNodes?: {
|
|
969
|
-
parameterId: string;
|
|
970
|
-
nodeId: string;
|
|
971
|
-
prebindingId: string;
|
|
972
|
-
}[] | undefined;
|
|
784
|
+
contentTypes: Record<string, {
|
|
785
|
+
sys: {
|
|
786
|
+
type: "Link";
|
|
787
|
+
id: string;
|
|
788
|
+
linkType: "ContentType";
|
|
789
|
+
};
|
|
973
790
|
}>;
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
}
|
|
791
|
+
defaultValue?: Record<string, {
|
|
792
|
+
sys: {
|
|
793
|
+
type: "Link";
|
|
794
|
+
id: string;
|
|
795
|
+
linkType: "Entry";
|
|
796
|
+
};
|
|
980
797
|
}> | undefined;
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
}, "strict", z.ZodTypeAny, {
|
|
798
|
+
}>>>;
|
|
799
|
+
}, "strip", z.ZodTypeAny, {
|
|
984
800
|
variableDefinitions: Record<string, {
|
|
985
801
|
type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
|
|
986
802
|
displayName?: string | undefined;
|
|
@@ -1017,42 +833,29 @@ declare const ComponentSettingsSchema: z.ZodObject<{
|
|
|
1017
833
|
}>;
|
|
1018
834
|
thumbnailId?: "columns" | "columnsPlusRight" | "imagesSquare" | "subtitles" | "rowsPlusBottom" | "userRectangle" | "textbox" | "monitorPlay" | "article" | "table" | "star" | "heartStraight" | "frameCorners" | "rows" | "dotsThreeOutline" | "listDashes" | "checkerBoard" | "gridFour" | "slideshow" | "diamondsFour" | "cards" | "textColumns" | "duplex" | undefined;
|
|
1019
835
|
category?: string | undefined;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
type: "Link";
|
|
1026
|
-
id: string;
|
|
1027
|
-
linkType: "ContentType";
|
|
1028
|
-
};
|
|
1029
|
-
}>;
|
|
1030
|
-
defaultSource?: {
|
|
1031
|
-
type: "Entry";
|
|
1032
|
-
contentTypeId: string;
|
|
1033
|
-
link: {
|
|
1034
|
-
sys: {
|
|
1035
|
-
type: "Link";
|
|
1036
|
-
id: string;
|
|
1037
|
-
linkType: "Entry";
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
1040
|
-
} | undefined;
|
|
1041
|
-
passToNodes?: {
|
|
1042
|
-
parameterId: string;
|
|
1043
|
-
nodeId: string;
|
|
1044
|
-
prebindingId: string;
|
|
1045
|
-
}[] | undefined;
|
|
836
|
+
variableMappings?: Record<string, {
|
|
837
|
+
type: "ContentTypeMapping";
|
|
838
|
+
parameterDefinitionId: string;
|
|
839
|
+
pathsByContentType: Record<string, {
|
|
840
|
+
path: string;
|
|
1046
841
|
}>;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
842
|
+
}> | undefined;
|
|
843
|
+
parameterDefinitions?: Record<string, {
|
|
844
|
+
contentTypes: Record<string, {
|
|
845
|
+
sys: {
|
|
846
|
+
type: "Link";
|
|
847
|
+
id: string;
|
|
848
|
+
linkType: "ContentType";
|
|
849
|
+
};
|
|
850
|
+
}>;
|
|
851
|
+
defaultValue?: Record<string, {
|
|
852
|
+
sys: {
|
|
853
|
+
type: "Link";
|
|
854
|
+
id: string;
|
|
855
|
+
linkType: "Entry";
|
|
856
|
+
};
|
|
1053
857
|
}> | undefined;
|
|
1054
|
-
|
|
1055
|
-
}[] | undefined;
|
|
858
|
+
}> | undefined;
|
|
1056
859
|
}, {
|
|
1057
860
|
variableDefinitions: Record<string, {
|
|
1058
861
|
type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
|
|
@@ -1090,42 +893,29 @@ declare const ComponentSettingsSchema: z.ZodObject<{
|
|
|
1090
893
|
}>;
|
|
1091
894
|
thumbnailId?: "columns" | "columnsPlusRight" | "imagesSquare" | "subtitles" | "rowsPlusBottom" | "userRectangle" | "textbox" | "monitorPlay" | "article" | "table" | "star" | "heartStraight" | "frameCorners" | "rows" | "dotsThreeOutline" | "listDashes" | "checkerBoard" | "gridFour" | "slideshow" | "diamondsFour" | "cards" | "textColumns" | "duplex" | undefined;
|
|
1092
895
|
category?: string | undefined;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
type: "Link";
|
|
1099
|
-
id: string;
|
|
1100
|
-
linkType: "ContentType";
|
|
1101
|
-
};
|
|
1102
|
-
}>;
|
|
1103
|
-
defaultSource?: {
|
|
1104
|
-
type: "Entry";
|
|
1105
|
-
contentTypeId: string;
|
|
1106
|
-
link: {
|
|
1107
|
-
sys: {
|
|
1108
|
-
type: "Link";
|
|
1109
|
-
id: string;
|
|
1110
|
-
linkType: "Entry";
|
|
1111
|
-
};
|
|
1112
|
-
};
|
|
1113
|
-
} | undefined;
|
|
1114
|
-
passToNodes?: {
|
|
1115
|
-
parameterId: string;
|
|
1116
|
-
nodeId: string;
|
|
1117
|
-
prebindingId: string;
|
|
1118
|
-
}[] | undefined;
|
|
896
|
+
variableMappings?: Record<string, {
|
|
897
|
+
type: "ContentTypeMapping";
|
|
898
|
+
parameterDefinitionId: string;
|
|
899
|
+
pathsByContentType: Record<string, {
|
|
900
|
+
path: string;
|
|
1119
901
|
}>;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
902
|
+
}> | undefined;
|
|
903
|
+
parameterDefinitions?: Record<string, {
|
|
904
|
+
contentTypes: Record<string, {
|
|
905
|
+
sys: {
|
|
906
|
+
type: "Link";
|
|
907
|
+
id: string;
|
|
908
|
+
linkType: "ContentType";
|
|
909
|
+
};
|
|
910
|
+
}>;
|
|
911
|
+
defaultValue?: Record<string, {
|
|
912
|
+
sys: {
|
|
913
|
+
type: "Link";
|
|
914
|
+
id: string;
|
|
915
|
+
linkType: "Entry";
|
|
916
|
+
};
|
|
1126
917
|
}> | undefined;
|
|
1127
|
-
|
|
1128
|
-
}[] | undefined;
|
|
918
|
+
}> | undefined;
|
|
1129
919
|
}>;
|
|
1130
920
|
declare const PatternFieldsCMAShapeSchema: z.ZodObject<{
|
|
1131
921
|
componentTree: z.ZodRecord<z.ZodString, z.ZodTypeAny>;
|
|
@@ -1388,4 +1178,4 @@ declare const validateExperienceFields: (experience: {
|
|
|
1388
1178
|
fields: Record<string, any>;
|
|
1389
1179
|
}, schemaVersionOverride?: SchemaVersions) => ValidatorReturnValue;
|
|
1390
1180
|
|
|
1391
|
-
export { type BindingSourceTypeEnum, type BoundValue, type Breakpoint, type ComponentDefinitionPropertyType, ComponentDefinitionSchema, type ComponentPropertyValue, type ComponentTreeNode, type ComponentValue, type DesignValue, type PatternComponentSettings as ExperienceComponentSettings, type ExperienceComponentTree, type ExperienceDataSource, type ExperienceFields, ExperienceFieldsCMAShapeSchema as ExperienceSchema_2023_09_28, type ExperienceUnboundValues, type ExperienceUsedComponents, type NoValue, type
|
|
1181
|
+
export { type BindingSourceTypeEnum, type BoundValue, type Breakpoint, type ComponentDefinitionPropertyType, ComponentDefinitionSchema, type ComponentPropertyValue, type ComponentTreeNode, type ComponentValue, type DesignValue, type PatternComponentSettings as ExperienceComponentSettings, type ExperienceComponentTree, type ExperienceDataSource, type ExperienceFields, ExperienceFieldsCMAShapeSchema as ExperienceSchema_2023_09_28, type ExperienceUnboundValues, type ExperienceUsedComponents, type NoValue, type ParameterDefinition, type PatternFields, type PatternProperty, PatternFieldsCMAShapeSchema as PatternSchema_2023_09_28, type PrimitiveValue, SchemaVersions, type UnboundValue, type ValuesByBreakpoint, type VariableMapping, validateBreakpointsDefinition, validateComponentDefinition, validateExperienceFields };
|