@contentful/experiences-validators 1.42.0-prerelease-20250630T1135-a8b68d4.0 → 1.42.1-beta.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,232 +576,148 @@ 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
- 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;
586
- }, "strip", z.ZodTypeAny, {
587
- path: string;
588
- }, {
589
- path: string;
590
- }>>;
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;
591
584
  }, "strip", z.ZodTypeAny, {
592
- type: "ContentTypeMapping";
593
- parameterId: string;
594
- pathsByContentType: Record<string, {
595
- path: string;
596
- }>;
585
+ path: string;
597
586
  }, {
598
- type: "ContentTypeMapping";
599
- parameterId: string;
600
- pathsByContentType: Record<string, {
601
- path: string;
602
- }>;
603
- }>>>;
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<{
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
+ defaultSource: z.ZodOptional<z.ZodObject<{
604
+ type: z.ZodEnum<["Entry"]>;
605
+ contentTypeId: z.ZodString;
606
+ link: z.ZodObject<{
657
607
  sys: z.ZodObject<{
658
608
  type: z.ZodLiteral<"Link">;
659
609
  id: z.ZodString;
660
- linkType: z.ZodEnum<["ContentType"]>;
661
- }, "strip", z.ZodTypeAny, {
610
+ linkType: z.ZodEnum<["Entry"]>;
611
+ }, "strict", z.ZodTypeAny, {
662
612
  type: "Link";
663
613
  id: string;
664
- linkType: "ContentType";
614
+ linkType: "Entry";
665
615
  }, {
666
616
  type: "Link";
667
617
  id: string;
668
- linkType: "ContentType";
618
+ linkType: "Entry";
669
619
  }>;
670
- }, "strip", z.ZodTypeAny, {
620
+ }, "strict", z.ZodTypeAny, {
671
621
  sys: {
672
622
  type: "Link";
673
623
  id: string;
674
- linkType: "ContentType";
624
+ linkType: "Entry";
675
625
  };
676
626
  }, {
677
627
  sys: {
678
628
  type: "Link";
679
629
  id: string;
680
- linkType: "ContentType";
630
+ linkType: "Entry";
681
631
  };
682
- }>>;
683
- }, "strip", z.ZodTypeAny, {
684
- contentTypes: Record<string, {
632
+ }>;
633
+ }, "strict", z.ZodTypeAny, {
634
+ type: "Entry";
635
+ contentTypeId: string;
636
+ link: {
685
637
  sys: {
686
638
  type: "Link";
687
639
  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
- };
640
+ linkType: "Entry";
700
641
  };
701
- } | undefined;
642
+ };
702
643
  }, {
703
- contentTypes: Record<string, {
644
+ type: "Entry";
645
+ contentTypeId: string;
646
+ link: {
704
647
  sys: {
705
648
  type: "Link";
706
649
  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
- };
650
+ linkType: "Entry";
719
651
  };
720
- } | undefined;
652
+ };
721
653
  }>>;
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;
654
+ contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
655
+ sys: z.ZodObject<{
656
+ type: z.ZodLiteral<"Link">;
657
+ id: z.ZodString;
658
+ linkType: z.ZodEnum<["ContentType"]>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ type: "Link";
661
+ id: string;
662
+ linkType: "ContentType";
663
+ }, {
664
+ type: "Link";
665
+ id: string;
666
+ linkType: "ContentType";
667
+ }>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ sys: {
670
+ type: "Link";
671
+ id: string;
672
+ linkType: "ContentType";
673
+ };
730
674
  }, {
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, {
675
+ sys: {
676
+ type: "Link";
677
+ id: string;
678
+ linkType: "ContentType";
679
+ };
680
+ }>>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ contentTypes: Record<string, {
683
+ sys: {
684
+ type: "Link";
685
+ id: string;
686
+ linkType: "ContentType";
687
+ };
688
+ }>;
689
+ defaultSource?: {
690
+ type: "Entry";
691
+ contentTypeId: string;
692
+ link: {
739
693
  sys: {
740
694
  type: "Link";
741
695
  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
- };
696
+ linkType: "Entry";
754
697
  };
755
- } | undefined;
756
- }>;
757
- variableMappings?: Record<string, {
758
- type: "ContentTypeMapping";
759
- parameterId: string;
760
- pathsByContentType: Record<string, {
761
- path: string;
762
- }>;
763
- }> | undefined;
764
- passToNodes?: {
765
- parameterId: string;
766
- nodeId: string;
767
- prebindingId: string;
768
- }[] | undefined;
698
+ };
699
+ } | undefined;
769
700
  }, {
770
- id: string;
771
- parameterDefinitions: Record<string, {
772
- contentTypes: Record<string, {
701
+ contentTypes: Record<string, {
702
+ sys: {
703
+ type: "Link";
704
+ id: string;
705
+ linkType: "ContentType";
706
+ };
707
+ }>;
708
+ defaultSource?: {
709
+ type: "Entry";
710
+ contentTypeId: string;
711
+ link: {
773
712
  sys: {
774
713
  type: "Link";
775
714
  id: string;
776
- linkType: "ContentType";
715
+ linkType: "Entry";
777
716
  };
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;
790
- }>;
791
- variableMappings?: Record<string, {
792
- type: "ContentTypeMapping";
793
- parameterId: string;
794
- pathsByContentType: Record<string, {
795
- path: string;
796
- }>;
797
- }> | undefined;
798
- passToNodes?: {
799
- parameterId: string;
800
- nodeId: string;
801
- prebindingId: string;
802
- }[] | undefined;
803
- }>, "many">>;
804
- }, "strict", z.ZodTypeAny, {
717
+ };
718
+ } | undefined;
719
+ }>>>;
720
+ }, "strip", z.ZodTypeAny, {
805
721
  variableDefinitions: Record<string, {
806
722
  type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
807
723
  displayName?: string | undefined;
@@ -838,41 +754,33 @@ declare const ComponentSettingsSchema: z.ZodObject<{
838
754
  }>;
839
755
  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;
840
756
  category?: string | undefined;
841
- prebindingDefinitions?: {
842
- id: string;
843
- parameterDefinitions: Record<string, {
844
- contentTypes: Record<string, {
757
+ variableMappings?: Record<string, {
758
+ type: "ContentTypeMapping";
759
+ parameterId: string;
760
+ pathsByContentType: Record<string, {
761
+ path: string;
762
+ }>;
763
+ }> | undefined;
764
+ parameterDefinitions?: Record<string, {
765
+ contentTypes: Record<string, {
766
+ sys: {
767
+ type: "Link";
768
+ id: string;
769
+ linkType: "ContentType";
770
+ };
771
+ }>;
772
+ defaultSource?: {
773
+ type: "Entry";
774
+ contentTypeId: string;
775
+ link: {
845
776
  sys: {
846
777
  type: "Link";
847
778
  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
- };
779
+ linkType: "Entry";
860
780
  };
861
- } | undefined;
862
- }>;
863
- variableMappings?: Record<string, {
864
- type: "ContentTypeMapping";
865
- parameterId: string;
866
- pathsByContentType: Record<string, {
867
- path: string;
868
- }>;
869
- }> | undefined;
870
- passToNodes?: {
871
- parameterId: string;
872
- nodeId: string;
873
- prebindingId: string;
874
- }[] | undefined;
875
- }[] | undefined;
781
+ };
782
+ } | undefined;
783
+ }> | undefined;
876
784
  }, {
877
785
  variableDefinitions: Record<string, {
878
786
  type: "Text" | "RichText" | "Number" | "Date" | "Boolean" | "Location" | "Media" | "Object" | "Hyperlink" | "Array" | "Link";
@@ -910,41 +818,33 @@ declare const ComponentSettingsSchema: z.ZodObject<{
910
818
  }>;
911
819
  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;
912
820
  category?: string | undefined;
913
- prebindingDefinitions?: {
914
- id: string;
915
- parameterDefinitions: Record<string, {
916
- contentTypes: Record<string, {
821
+ variableMappings?: Record<string, {
822
+ type: "ContentTypeMapping";
823
+ parameterId: string;
824
+ pathsByContentType: Record<string, {
825
+ path: string;
826
+ }>;
827
+ }> | undefined;
828
+ parameterDefinitions?: Record<string, {
829
+ contentTypes: Record<string, {
830
+ sys: {
831
+ type: "Link";
832
+ id: string;
833
+ linkType: "ContentType";
834
+ };
835
+ }>;
836
+ defaultSource?: {
837
+ type: "Entry";
838
+ contentTypeId: string;
839
+ link: {
917
840
  sys: {
918
841
  type: "Link";
919
842
  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
- };
843
+ linkType: "Entry";
932
844
  };
933
- } | undefined;
934
- }>;
935
- variableMappings?: Record<string, {
936
- type: "ContentTypeMapping";
937
- parameterId: string;
938
- pathsByContentType: Record<string, {
939
- path: string;
940
- }>;
941
- }> | undefined;
942
- passToNodes?: {
943
- parameterId: string;
944
- nodeId: string;
945
- prebindingId: string;
946
- }[] | undefined;
947
- }[] | undefined;
845
+ };
846
+ } | undefined;
847
+ }> | undefined;
948
848
  }>;
949
849
  declare const PatternFieldsCMAShapeSchema: z.ZodObject<{
950
850
  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-20250630T1135-a8b68d4.0",
3
+ "version": "1.42.1-beta.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": "fef03f40081f64415d179b9d61fcb1677fd13ba5"
54
+ "gitHead": "15fe32297dfba36897a36178c68f893f228c5cfe"
55
55
  }