@contentful/experiences-validators 1.42.0-prerelease-20250626T1154-6ca57b0.0 → 1.42.0-prerelease-20250630T1135-a8b68d4.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/types.d.ts CHANGED
@@ -576,116 +576,232 @@ declare const ComponentSettingsSchema: z.ZodObject<{
576
576
  }>>;
577
577
  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"]>>;
578
578
  category: z.ZodOptional<z.ZodString>;
579
- variableMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
580
- parameterId: z.ZodString;
581
- type: z.ZodLiteral<"ContentTypeMapping">;
582
- pathsByContentType: z.ZodRecord<z.ZodString, z.ZodObject<{
583
- path: z.ZodString;
584
- }, "strip", z.ZodTypeAny, {
585
- path: string;
586
- }, {
587
- path: string;
588
- }>>;
589
- }, "strip", z.ZodTypeAny, {
590
- type: "ContentTypeMapping";
591
- parameterId: string;
592
- pathsByContentType: Record<string, {
593
- path: string;
594
- }>;
595
- }, {
596
- type: "ContentTypeMapping";
597
- parameterId: string;
598
- pathsByContentType: Record<string, {
599
- path: string;
600
- }>;
601
- }>>>;
602
- parameterDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
603
- defaultValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
604
- sys: z.ZodObject<{
605
- type: z.ZodLiteral<"Link">;
606
- id: z.ZodString;
607
- linkType: z.ZodEnum<["Entry"]>;
579
+ prebindingDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
580
+ id: z.ZodString;
581
+ variableMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
582
+ parameterId: z.ZodString;
583
+ type: z.ZodLiteral<"ContentTypeMapping">;
584
+ pathsByContentType: z.ZodRecord<z.ZodString, z.ZodObject<{
585
+ path: z.ZodString;
608
586
  }, "strip", z.ZodTypeAny, {
609
- type: "Link";
610
- id: string;
611
- linkType: "Entry";
587
+ path: string;
612
588
  }, {
613
- type: "Link";
614
- id: string;
615
- linkType: "Entry";
616
- }>;
589
+ path: string;
590
+ }>>;
617
591
  }, "strip", z.ZodTypeAny, {
618
- sys: {
619
- type: "Link";
620
- id: string;
621
- linkType: "Entry";
622
- };
592
+ type: "ContentTypeMapping";
593
+ parameterId: string;
594
+ pathsByContentType: Record<string, {
595
+ path: string;
596
+ }>;
623
597
  }, {
624
- sys: {
625
- type: "Link";
626
- id: string;
627
- linkType: "Entry";
628
- };
598
+ type: "ContentTypeMapping";
599
+ parameterId: string;
600
+ pathsByContentType: Record<string, {
601
+ path: string;
602
+ }>;
629
603
  }>>>;
630
- contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
631
- sys: z.ZodObject<{
632
- type: z.ZodLiteral<"Link">;
633
- id: z.ZodString;
634
- linkType: z.ZodEnum<["ContentType"]>;
604
+ parameterDefinitions: z.ZodRecord<z.ZodString, z.ZodObject<{
605
+ defaultSource: z.ZodOptional<z.ZodObject<{
606
+ type: z.ZodEnum<["Entry"]>;
607
+ contentTypeId: z.ZodString;
608
+ link: z.ZodObject<{
609
+ sys: z.ZodObject<{
610
+ type: z.ZodLiteral<"Link">;
611
+ id: z.ZodString;
612
+ linkType: z.ZodEnum<["Entry"]>;
613
+ }, "strict", z.ZodTypeAny, {
614
+ type: "Link";
615
+ id: string;
616
+ linkType: "Entry";
617
+ }, {
618
+ type: "Link";
619
+ id: string;
620
+ linkType: "Entry";
621
+ }>;
622
+ }, "strict", z.ZodTypeAny, {
623
+ sys: {
624
+ type: "Link";
625
+ id: string;
626
+ linkType: "Entry";
627
+ };
628
+ }, {
629
+ sys: {
630
+ type: "Link";
631
+ id: string;
632
+ linkType: "Entry";
633
+ };
634
+ }>;
635
+ }, "strict", z.ZodTypeAny, {
636
+ type: "Entry";
637
+ contentTypeId: string;
638
+ link: {
639
+ sys: {
640
+ type: "Link";
641
+ id: string;
642
+ linkType: "Entry";
643
+ };
644
+ };
645
+ }, {
646
+ type: "Entry";
647
+ contentTypeId: string;
648
+ link: {
649
+ sys: {
650
+ type: "Link";
651
+ id: string;
652
+ linkType: "Entry";
653
+ };
654
+ };
655
+ }>>;
656
+ contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
657
+ sys: z.ZodObject<{
658
+ type: z.ZodLiteral<"Link">;
659
+ id: z.ZodString;
660
+ linkType: z.ZodEnum<["ContentType"]>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ type: "Link";
663
+ id: string;
664
+ linkType: "ContentType";
665
+ }, {
666
+ type: "Link";
667
+ id: string;
668
+ linkType: "ContentType";
669
+ }>;
635
670
  }, "strip", z.ZodTypeAny, {
636
- type: "Link";
637
- id: string;
638
- linkType: "ContentType";
671
+ sys: {
672
+ type: "Link";
673
+ id: string;
674
+ linkType: "ContentType";
675
+ };
639
676
  }, {
640
- type: "Link";
641
- id: string;
642
- linkType: "ContentType";
643
- }>;
677
+ sys: {
678
+ type: "Link";
679
+ id: string;
680
+ linkType: "ContentType";
681
+ };
682
+ }>>;
644
683
  }, "strip", z.ZodTypeAny, {
645
- sys: {
646
- type: "Link";
647
- id: string;
648
- linkType: "ContentType";
649
- };
684
+ contentTypes: Record<string, {
685
+ sys: {
686
+ type: "Link";
687
+ id: string;
688
+ linkType: "ContentType";
689
+ };
690
+ }>;
691
+ defaultSource?: {
692
+ type: "Entry";
693
+ contentTypeId: string;
694
+ link: {
695
+ sys: {
696
+ type: "Link";
697
+ id: string;
698
+ linkType: "Entry";
699
+ };
700
+ };
701
+ } | undefined;
650
702
  }, {
651
- sys: {
652
- type: "Link";
653
- id: string;
654
- linkType: "ContentType";
655
- };
703
+ contentTypes: Record<string, {
704
+ sys: {
705
+ type: "Link";
706
+ id: string;
707
+ linkType: "ContentType";
708
+ };
709
+ }>;
710
+ defaultSource?: {
711
+ type: "Entry";
712
+ contentTypeId: string;
713
+ link: {
714
+ sys: {
715
+ type: "Link";
716
+ id: string;
717
+ linkType: "Entry";
718
+ };
719
+ };
720
+ } | undefined;
656
721
  }>>;
657
- }, "strip", z.ZodTypeAny, {
658
- contentTypes: Record<string, {
659
- sys: {
660
- type: "Link";
661
- id: string;
662
- linkType: "ContentType";
663
- };
722
+ passToNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
+ nodeId: z.ZodString;
724
+ parameterId: z.ZodString;
725
+ prebindingId: z.ZodString;
726
+ }, "strict", z.ZodTypeAny, {
727
+ parameterId: string;
728
+ nodeId: string;
729
+ prebindingId: string;
730
+ }, {
731
+ parameterId: string;
732
+ nodeId: string;
733
+ prebindingId: string;
734
+ }>, "many">>;
735
+ }, "strict", z.ZodTypeAny, {
736
+ id: string;
737
+ parameterDefinitions: Record<string, {
738
+ contentTypes: Record<string, {
739
+ sys: {
740
+ type: "Link";
741
+ id: string;
742
+ linkType: "ContentType";
743
+ };
744
+ }>;
745
+ defaultSource?: {
746
+ type: "Entry";
747
+ contentTypeId: string;
748
+ link: {
749
+ sys: {
750
+ type: "Link";
751
+ id: string;
752
+ linkType: "Entry";
753
+ };
754
+ };
755
+ } | undefined;
664
756
  }>;
665
- defaultValue?: Record<string, {
666
- sys: {
667
- type: "Link";
668
- id: string;
669
- linkType: "Entry";
670
- };
757
+ variableMappings?: Record<string, {
758
+ type: "ContentTypeMapping";
759
+ parameterId: string;
760
+ pathsByContentType: Record<string, {
761
+ path: string;
762
+ }>;
671
763
  }> | undefined;
764
+ passToNodes?: {
765
+ parameterId: string;
766
+ nodeId: string;
767
+ prebindingId: string;
768
+ }[] | undefined;
672
769
  }, {
673
- contentTypes: Record<string, {
674
- sys: {
675
- type: "Link";
676
- id: string;
677
- linkType: "ContentType";
678
- };
770
+ id: string;
771
+ parameterDefinitions: Record<string, {
772
+ contentTypes: Record<string, {
773
+ sys: {
774
+ type: "Link";
775
+ id: string;
776
+ linkType: "ContentType";
777
+ };
778
+ }>;
779
+ defaultSource?: {
780
+ type: "Entry";
781
+ contentTypeId: string;
782
+ link: {
783
+ sys: {
784
+ type: "Link";
785
+ id: string;
786
+ linkType: "Entry";
787
+ };
788
+ };
789
+ } | undefined;
679
790
  }>;
680
- defaultValue?: Record<string, {
681
- sys: {
682
- type: "Link";
683
- id: string;
684
- linkType: "Entry";
685
- };
791
+ variableMappings?: Record<string, {
792
+ type: "ContentTypeMapping";
793
+ parameterId: string;
794
+ pathsByContentType: Record<string, {
795
+ path: string;
796
+ }>;
686
797
  }> | undefined;
687
- }>>>;
688
- }, "strip", z.ZodTypeAny, {
798
+ passToNodes?: {
799
+ parameterId: string;
800
+ nodeId: string;
801
+ prebindingId: string;
802
+ }[] | undefined;
803
+ }>, "many">>;
804
+ }, "strict", z.ZodTypeAny, {
689
805
  variableDefinitions: Record<string, {
690
806
  type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
691
807
  displayName?: string | undefined;
@@ -722,29 +838,41 @@ declare const ComponentSettingsSchema: z.ZodObject<{
722
838
  }>;
723
839
  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;
724
840
  category?: string | undefined;
725
- variableMappings?: Record<string, {
726
- type: "ContentTypeMapping";
727
- parameterId: string;
728
- pathsByContentType: Record<string, {
729
- path: string;
730
- }>;
731
- }> | undefined;
732
- parameterDefinitions?: Record<string, {
733
- contentTypes: Record<string, {
734
- sys: {
735
- type: "Link";
736
- id: string;
737
- linkType: "ContentType";
738
- };
841
+ prebindingDefinitions?: {
842
+ id: string;
843
+ parameterDefinitions: Record<string, {
844
+ contentTypes: Record<string, {
845
+ sys: {
846
+ type: "Link";
847
+ id: string;
848
+ linkType: "ContentType";
849
+ };
850
+ }>;
851
+ defaultSource?: {
852
+ type: "Entry";
853
+ contentTypeId: string;
854
+ link: {
855
+ sys: {
856
+ type: "Link";
857
+ id: string;
858
+ linkType: "Entry";
859
+ };
860
+ };
861
+ } | undefined;
739
862
  }>;
740
- defaultValue?: Record<string, {
741
- sys: {
742
- type: "Link";
743
- id: string;
744
- linkType: "Entry";
745
- };
863
+ variableMappings?: Record<string, {
864
+ type: "ContentTypeMapping";
865
+ parameterId: string;
866
+ pathsByContentType: Record<string, {
867
+ path: string;
868
+ }>;
746
869
  }> | undefined;
747
- }> | undefined;
870
+ passToNodes?: {
871
+ parameterId: string;
872
+ nodeId: string;
873
+ prebindingId: string;
874
+ }[] | undefined;
875
+ }[] | undefined;
748
876
  }, {
749
877
  variableDefinitions: Record<string, {
750
878
  type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
@@ -782,29 +910,41 @@ declare const ComponentSettingsSchema: z.ZodObject<{
782
910
  }>;
783
911
  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;
784
912
  category?: string | undefined;
785
- variableMappings?: Record<string, {
786
- type: "ContentTypeMapping";
787
- parameterId: string;
788
- pathsByContentType: Record<string, {
789
- path: string;
790
- }>;
791
- }> | undefined;
792
- parameterDefinitions?: Record<string, {
793
- contentTypes: Record<string, {
794
- sys: {
795
- type: "Link";
796
- id: string;
797
- linkType: "ContentType";
798
- };
913
+ prebindingDefinitions?: {
914
+ id: string;
915
+ parameterDefinitions: Record<string, {
916
+ contentTypes: Record<string, {
917
+ sys: {
918
+ type: "Link";
919
+ id: string;
920
+ linkType: "ContentType";
921
+ };
922
+ }>;
923
+ defaultSource?: {
924
+ type: "Entry";
925
+ contentTypeId: string;
926
+ link: {
927
+ sys: {
928
+ type: "Link";
929
+ id: string;
930
+ linkType: "Entry";
931
+ };
932
+ };
933
+ } | undefined;
799
934
  }>;
800
- defaultValue?: Record<string, {
801
- sys: {
802
- type: "Link";
803
- id: string;
804
- linkType: "Entry";
805
- };
935
+ variableMappings?: Record<string, {
936
+ type: "ContentTypeMapping";
937
+ parameterId: string;
938
+ pathsByContentType: Record<string, {
939
+ path: string;
940
+ }>;
806
941
  }> | undefined;
807
- }> | undefined;
942
+ passToNodes?: {
943
+ parameterId: string;
944
+ nodeId: string;
945
+ prebindingId: string;
946
+ }[] | undefined;
947
+ }[] | undefined;
808
948
  }>;
809
949
  declare const PatternFieldsCMAShapeSchema: z.ZodObject<{
810
950
  componentTree: z.ZodRecord<z.ZodString, z.ZodTypeAny>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-validators",
3
- "version": "1.42.0-prerelease-20250626T1154-6ca57b0.0",
3
+ "version": "1.42.0-prerelease-20250630T1135-a8b68d4.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "registry": "https://npm.pkg.github.com/"
53
53
  },
54
- "gitHead": "76a5cb81c1e8b4361db5574f33c0c94c29b9394c"
54
+ "gitHead": "fef03f40081f64415d179b9d61fcb1677fd13ba5"
55
55
  }