@prismicio/types-internal 1.2.0-alpha.0 → 1.2.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.
Files changed (76) hide show
  1. package/lib/content/fields/GroupContent.d.ts +810 -0
  2. package/lib/content/fields/GroupContent.js +17 -0
  3. package/lib/content/fields/index.d.ts +3 -0
  4. package/lib/content/fields/index.js +6 -0
  5. package/lib/content/fields/nestable/BooleanContent.d.ts +7 -0
  6. package/lib/content/fields/nestable/BooleanContent.js +11 -0
  7. package/lib/content/fields/nestable/EmbedContent.d.ts +70 -0
  8. package/lib/content/fields/nestable/EmbedContent.js +13 -0
  9. package/lib/content/fields/nestable/FieldContent.d.ts +26 -0
  10. package/lib/content/fields/nestable/FieldContent.js +22 -0
  11. package/lib/content/fields/nestable/GeoPointContent.d.ts +18 -0
  12. package/lib/content/fields/nestable/GeoPointContent.js +13 -0
  13. package/lib/content/fields/nestable/Image.d.ts +103 -0
  14. package/lib/content/fields/nestable/Image.js +13 -0
  15. package/lib/content/fields/nestable/ImageContent.d.ts +104 -0
  16. package/lib/content/fields/nestable/ImageContent.js +13 -0
  17. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +7 -0
  18. package/lib/content/fields/nestable/IntegrationFieldContent.js +11 -0
  19. package/lib/content/fields/nestable/LinkContent.d.ts +159 -0
  20. package/lib/content/fields/nestable/LinkContent.js +48 -0
  21. package/lib/content/fields/nestable/NestableContent.d.ts +400 -0
  22. package/lib/content/fields/nestable/NestableContent.js +25 -0
  23. package/lib/content/fields/nestable/RichTextContent.d.ts +127 -0
  24. package/lib/content/fields/nestable/RichTextContent.js +11 -0
  25. package/lib/content/fields/nestable/SeparatorContent.d.ts +6 -0
  26. package/lib/content/fields/nestable/SeparatorContent.js +10 -0
  27. package/lib/content/fields/nestable/index.d.ts +10 -0
  28. package/lib/content/fields/nestable/index.js +13 -0
  29. package/lib/content/fields/slices/SharedSliceContent.d.ts +806 -0
  30. package/lib/content/fields/slices/SharedSliceContent.js +15 -0
  31. package/lib/content/fields/slices/index.d.ts +1 -0
  32. package/lib/content/fields/slices/index.js +4 -0
  33. package/lib/content/index.d.ts +1 -0
  34. package/lib/content/index.js +4 -0
  35. package/lib/customtypes/Comparators/SharedSlice.d.ts +260 -260
  36. package/lib/customtypes/Comparators/Variation.d.ts +258 -258
  37. package/lib/customtypes/CustomType.d.ts +932 -932
  38. package/lib/customtypes/Section.d.ts +932 -932
  39. package/lib/customtypes/widgets/Widget.d.ts +664 -664
  40. package/lib/customtypes/widgets/slices/Slices.d.ts +792 -792
  41. package/lib/documents/widgets/nestable/EmbedContent.d.ts +5 -6
  42. package/lib/documents/widgets/nestable/EmbedContent.js +5 -5
  43. package/lib/documents/widgets/nestable/ImageContent.d.ts +14 -14
  44. package/lib/documents/widgets/nestable/Link/ExternalLink.d.ts +4 -4
  45. package/lib/documents/widgets/nestable/Link/FileLink.d.ts +1 -1
  46. package/lib/documents/widgets/nestable/Link/FileLink.js +2 -1
  47. package/lib/documents/widgets/nestable/Link/LinkContent.d.ts +3 -3
  48. package/lib/documents/widgets/nestable/Link/index.d.ts +5 -5
  49. package/lib/documents/widgets/nestable/SeparatorContent.d.ts +4 -0
  50. package/lib/documents/widgets/nestable/SeparatorContent.js +5 -0
  51. package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +10 -10
  52. package/lib/utils/Objects.d.ts +3 -3
  53. package/lib/validators/TrimmedString.d.ts +5 -0
  54. package/lib/validators/TrimmedString.js +23 -0
  55. package/package.json +1 -1
  56. package/src/content/fields/GroupContent.ts +21 -0
  57. package/src/content/fields/index.ts +3 -0
  58. package/src/content/fields/nestable/BooleanContent.ts +11 -0
  59. package/src/content/fields/nestable/EmbedContent.ts +16 -0
  60. package/src/content/fields/nestable/FieldContent.ts +25 -0
  61. package/src/content/fields/nestable/GeoPointContent.ts +16 -0
  62. package/src/content/fields/nestable/ImageContent.ts +16 -0
  63. package/src/content/fields/nestable/IntegrationFieldContent.ts +11 -0
  64. package/src/content/fields/nestable/LinkContent.ts +68 -0
  65. package/src/content/fields/nestable/NestableContent.ts +25 -0
  66. package/src/content/fields/nestable/RichTextContent.ts +14 -0
  67. package/src/content/fields/nestable/SeparatorContent.ts +10 -0
  68. package/src/content/fields/nestable/index.ts +10 -0
  69. package/src/content/fields/slices/SharedSliceContent.ts +14 -0
  70. package/src/content/fields/slices/index.ts +1 -0
  71. package/src/content/index.ts +1 -0
  72. package/src/documents/widgets/nestable/EmbedContent.ts +1 -1
  73. package/src/documents/widgets/nestable/Link/FileLink.ts +2 -1
  74. package/src/documents/widgets/nestable/SeparatorContent.ts +5 -0
  75. package/src/utils/Objects.ts +13 -14
  76. package/src/validators/TrimmedString.ts +33 -0
@@ -676,663 +676,663 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
676
676
  [x: string]: readonly ({
677
677
  name: string;
678
678
  } & {
679
- display?: string | undefined;
679
+ display?: string;
680
680
  })[];
681
- } | null | undefined;
681
+ } | null;
682
682
  choices?: {
683
683
  [x: string]: ({
684
684
  type: "Boolean";
685
685
  } & {
686
686
  config?: {
687
687
  label?: string | null | undefined;
688
- default_value?: boolean | undefined;
689
- placeholder_true?: string | undefined;
690
- placeholder_false?: string | undefined;
691
- } | undefined;
688
+ default_value?: boolean;
689
+ placeholder_true?: string;
690
+ placeholder_false?: string;
691
+ };
692
692
  }) | ({
693
693
  type: "Color";
694
694
  } & {
695
695
  fieldset?: string | null | undefined;
696
696
  config?: {
697
697
  label?: string | null | undefined;
698
- placeholder?: string | undefined;
699
- } | undefined;
698
+ placeholder?: string;
699
+ };
700
700
  }) | ({
701
701
  type: "Date";
702
702
  } & {
703
703
  fieldset?: string | null | undefined;
704
704
  config?: {
705
705
  label?: string | null | undefined;
706
- placeholder?: string | undefined;
707
- default?: string | undefined;
708
- } | undefined;
706
+ placeholder?: string;
707
+ default?: string;
708
+ };
709
709
  }) | ({
710
710
  type: "Embed";
711
711
  } & {
712
712
  fieldset?: string | null | undefined;
713
713
  config?: {
714
714
  label?: string | null | undefined;
715
- placeholder?: string | undefined;
716
- useAsTitle?: boolean | undefined;
717
- } | undefined;
715
+ placeholder?: string;
716
+ useAsTitle?: boolean;
717
+ };
718
718
  }) | ({
719
719
  type: "GeoPoint";
720
720
  } & {
721
721
  fieldset?: string | null | undefined;
722
722
  config?: {
723
723
  label?: string | null | undefined;
724
- } | undefined;
724
+ };
725
725
  }) | ({
726
726
  type: "Image";
727
727
  } & {
728
728
  fieldset?: string | null | undefined;
729
729
  config?: {
730
730
  label?: string | null | undefined;
731
- placeholder?: string | undefined;
731
+ placeholder?: string;
732
732
  constraint?: {
733
- width?: number | null | undefined;
734
- height?: number | null | undefined;
735
- } | undefined;
733
+ width?: number | null;
734
+ height?: number | null;
735
+ };
736
736
  thumbnails?: readonly ({
737
737
  name: string;
738
738
  } & {
739
- width?: number | null | undefined;
740
- height?: number | null | undefined;
741
- })[] | undefined;
742
- } | undefined;
739
+ width?: number | null;
740
+ height?: number | null;
741
+ })[];
742
+ };
743
743
  }) | ({
744
744
  type: "IntegrationFields";
745
745
  } & {
746
746
  fieldset?: string | null | undefined;
747
747
  config?: {
748
748
  label?: string | null | undefined;
749
- placeholder?: string | undefined;
750
- catalog?: string | undefined;
751
- } | undefined;
749
+ placeholder?: string;
750
+ catalog?: string;
751
+ };
752
752
  }) | ({
753
753
  type: "Link";
754
754
  } & {
755
755
  fieldset?: string | null | undefined;
756
756
  config?: {
757
757
  label?: string | null | undefined;
758
- useAsTitle?: boolean | undefined;
759
- placeholder?: string | undefined;
760
- select?: "web" | "media" | "document" | null | undefined;
761
- customtypes?: readonly string[] | undefined;
762
- masks?: readonly string[] | undefined;
763
- tags?: readonly string[] | undefined;
764
- allowTargetBlank?: boolean | undefined;
765
- } | undefined;
758
+ useAsTitle?: boolean;
759
+ placeholder?: string;
760
+ select?: "web" | "media" | "document" | null;
761
+ customtypes?: readonly string[];
762
+ masks?: readonly string[];
763
+ tags?: readonly string[];
764
+ allowTargetBlank?: boolean;
765
+ };
766
766
  }) | ({
767
767
  type: "Number";
768
768
  } & {
769
769
  fieldset?: string | null | undefined;
770
770
  config?: {
771
771
  label?: string | null | undefined;
772
- placeholder?: string | undefined;
773
- min?: number | undefined;
774
- max?: number | undefined;
775
- step?: number | undefined;
776
- } | undefined;
772
+ placeholder?: string;
773
+ min?: number;
774
+ max?: number;
775
+ step?: number;
776
+ };
777
777
  }) | ({
778
778
  type: "Range";
779
779
  } & {
780
780
  fieldset?: string | null | undefined;
781
781
  config?: {
782
782
  label?: string | null | undefined;
783
- placeholder?: string | undefined;
784
- min?: number | undefined;
785
- max?: number | undefined;
786
- step?: number | undefined;
787
- } | undefined;
783
+ placeholder?: string;
784
+ min?: number;
785
+ max?: number;
786
+ step?: number;
787
+ };
788
788
  }) | ({
789
789
  type: "StructuredText";
790
790
  } & {
791
791
  fieldset?: string | null | undefined;
792
792
  config?: {
793
793
  label?: string | null | undefined;
794
- placeholder?: string | undefined;
795
- useAsTitle?: boolean | undefined;
796
- single?: string | undefined;
797
- multi?: string | undefined;
794
+ placeholder?: string;
795
+ useAsTitle?: boolean;
796
+ single?: string;
797
+ multi?: string;
798
798
  imageConstraint?: {
799
- width?: number | null | undefined;
800
- height?: number | null | undefined;
801
- } | undefined;
802
- labels?: readonly string[] | undefined;
803
- allowTargetBlank?: boolean | undefined;
804
- } | undefined;
799
+ width?: number | null;
800
+ height?: number | null;
801
+ };
802
+ labels?: readonly string[];
803
+ allowTargetBlank?: boolean;
804
+ };
805
805
  }) | ({
806
806
  type: "Select";
807
807
  } & {
808
808
  fieldset?: string | null | undefined;
809
809
  config?: {
810
810
  label?: string | null | undefined;
811
- placeholder?: string | undefined;
812
- default_value?: string | undefined;
813
- options?: readonly string[] | undefined;
814
- } | undefined;
811
+ placeholder?: string;
812
+ default_value?: string;
813
+ options?: readonly string[];
814
+ };
815
815
  }) | ({
816
816
  type: "Separator";
817
817
  } & {
818
818
  config?: {
819
819
  label?: string | null | undefined;
820
- } | undefined;
820
+ };
821
821
  }) | ({
822
822
  type: "Text";
823
823
  } & {
824
824
  fieldset?: string | null | undefined;
825
825
  config?: {
826
826
  label?: string | null | undefined;
827
- useAsTitle?: boolean | undefined;
828
- placeholder?: string | undefined;
829
- } | undefined;
827
+ useAsTitle?: boolean;
828
+ placeholder?: string;
829
+ };
830
830
  }) | ({
831
831
  type: "Timestamp";
832
832
  } & {
833
833
  fieldset?: string | null | undefined;
834
834
  config?: {
835
835
  label?: string | null | undefined;
836
- placeholder?: string | undefined;
837
- default?: string | undefined;
838
- } | undefined;
836
+ placeholder?: string;
837
+ default?: string;
838
+ };
839
839
  }) | ({
840
840
  type: "Slice";
841
841
  } & {
842
842
  fieldset?: string | null | undefined;
843
- description?: string | undefined;
844
- icon?: string | undefined;
845
- display?: string | undefined;
843
+ description?: string;
844
+ icon?: string;
845
+ display?: string;
846
846
  "non-repeat"?: {
847
847
  [x: string]: ({
848
848
  type: "Boolean";
849
849
  } & {
850
850
  config?: {
851
851
  label?: string | null | undefined;
852
- default_value?: boolean | undefined;
853
- placeholder_true?: string | undefined;
854
- placeholder_false?: string | undefined;
855
- } | undefined;
852
+ default_value?: boolean;
853
+ placeholder_true?: string;
854
+ placeholder_false?: string;
855
+ };
856
856
  }) | ({
857
857
  type: "Color";
858
858
  } & {
859
859
  fieldset?: string | null | undefined;
860
860
  config?: {
861
861
  label?: string | null | undefined;
862
- placeholder?: string | undefined;
863
- } | undefined;
862
+ placeholder?: string;
863
+ };
864
864
  }) | ({
865
865
  type: "Date";
866
866
  } & {
867
867
  fieldset?: string | null | undefined;
868
868
  config?: {
869
869
  label?: string | null | undefined;
870
- placeholder?: string | undefined;
871
- default?: string | undefined;
872
- } | undefined;
870
+ placeholder?: string;
871
+ default?: string;
872
+ };
873
873
  }) | ({
874
874
  type: "Embed";
875
875
  } & {
876
876
  fieldset?: string | null | undefined;
877
877
  config?: {
878
878
  label?: string | null | undefined;
879
- placeholder?: string | undefined;
880
- useAsTitle?: boolean | undefined;
881
- } | undefined;
879
+ placeholder?: string;
880
+ useAsTitle?: boolean;
881
+ };
882
882
  }) | ({
883
883
  type: "GeoPoint";
884
884
  } & {
885
885
  fieldset?: string | null | undefined;
886
886
  config?: {
887
887
  label?: string | null | undefined;
888
- } | undefined;
888
+ };
889
889
  }) | ({
890
890
  type: "Image";
891
891
  } & {
892
892
  fieldset?: string | null | undefined;
893
893
  config?: {
894
894
  label?: string | null | undefined;
895
- placeholder?: string | undefined;
895
+ placeholder?: string;
896
896
  constraint?: {
897
- width?: number | null | undefined;
898
- height?: number | null | undefined;
899
- } | undefined;
897
+ width?: number | null;
898
+ height?: number | null;
899
+ };
900
900
  thumbnails?: readonly ({
901
901
  name: string;
902
902
  } & {
903
- width?: number | null | undefined;
904
- height?: number | null | undefined;
905
- })[] | undefined;
906
- } | undefined;
903
+ width?: number | null;
904
+ height?: number | null;
905
+ })[];
906
+ };
907
907
  }) | ({
908
908
  type: "IntegrationFields";
909
909
  } & {
910
910
  fieldset?: string | null | undefined;
911
911
  config?: {
912
912
  label?: string | null | undefined;
913
- placeholder?: string | undefined;
914
- catalog?: string | undefined;
915
- } | undefined;
913
+ placeholder?: string;
914
+ catalog?: string;
915
+ };
916
916
  }) | ({
917
917
  type: "Link";
918
918
  } & {
919
919
  fieldset?: string | null | undefined;
920
920
  config?: {
921
921
  label?: string | null | undefined;
922
- useAsTitle?: boolean | undefined;
923
- placeholder?: string | undefined;
924
- select?: "web" | "media" | "document" | null | undefined;
925
- customtypes?: readonly string[] | undefined;
926
- masks?: readonly string[] | undefined;
927
- tags?: readonly string[] | undefined;
928
- allowTargetBlank?: boolean | undefined;
929
- } | undefined;
922
+ useAsTitle?: boolean;
923
+ placeholder?: string;
924
+ select?: "web" | "media" | "document" | null;
925
+ customtypes?: readonly string[];
926
+ masks?: readonly string[];
927
+ tags?: readonly string[];
928
+ allowTargetBlank?: boolean;
929
+ };
930
930
  }) | ({
931
931
  type: "Number";
932
932
  } & {
933
933
  fieldset?: string | null | undefined;
934
934
  config?: {
935
935
  label?: string | null | undefined;
936
- placeholder?: string | undefined;
937
- min?: number | undefined;
938
- max?: number | undefined;
939
- step?: number | undefined;
940
- } | undefined;
936
+ placeholder?: string;
937
+ min?: number;
938
+ max?: number;
939
+ step?: number;
940
+ };
941
941
  }) | ({
942
942
  type: "Range";
943
943
  } & {
944
944
  fieldset?: string | null | undefined;
945
945
  config?: {
946
946
  label?: string | null | undefined;
947
- placeholder?: string | undefined;
948
- min?: number | undefined;
949
- max?: number | undefined;
950
- step?: number | undefined;
951
- } | undefined;
947
+ placeholder?: string;
948
+ min?: number;
949
+ max?: number;
950
+ step?: number;
951
+ };
952
952
  }) | ({
953
953
  type: "StructuredText";
954
954
  } & {
955
955
  fieldset?: string | null | undefined;
956
956
  config?: {
957
957
  label?: string | null | undefined;
958
- placeholder?: string | undefined;
959
- useAsTitle?: boolean | undefined;
960
- single?: string | undefined;
961
- multi?: string | undefined;
958
+ placeholder?: string;
959
+ useAsTitle?: boolean;
960
+ single?: string;
961
+ multi?: string;
962
962
  imageConstraint?: {
963
- width?: number | null | undefined;
964
- height?: number | null | undefined;
965
- } | undefined;
966
- labels?: readonly string[] | undefined;
967
- allowTargetBlank?: boolean | undefined;
968
- } | undefined;
963
+ width?: number | null;
964
+ height?: number | null;
965
+ };
966
+ labels?: readonly string[];
967
+ allowTargetBlank?: boolean;
968
+ };
969
969
  }) | ({
970
970
  type: "Select";
971
971
  } & {
972
972
  fieldset?: string | null | undefined;
973
973
  config?: {
974
974
  label?: string | null | undefined;
975
- placeholder?: string | undefined;
976
- default_value?: string | undefined;
977
- options?: readonly string[] | undefined;
978
- } | undefined;
975
+ placeholder?: string;
976
+ default_value?: string;
977
+ options?: readonly string[];
978
+ };
979
979
  }) | ({
980
980
  type: "Separator";
981
981
  } & {
982
982
  config?: {
983
983
  label?: string | null | undefined;
984
- } | undefined;
984
+ };
985
985
  }) | ({
986
986
  type: "Text";
987
987
  } & {
988
988
  fieldset?: string | null | undefined;
989
989
  config?: {
990
990
  label?: string | null | undefined;
991
- useAsTitle?: boolean | undefined;
992
- placeholder?: string | undefined;
993
- } | undefined;
991
+ useAsTitle?: boolean;
992
+ placeholder?: string;
993
+ };
994
994
  }) | ({
995
995
  type: "Timestamp";
996
996
  } & {
997
997
  fieldset?: string | null | undefined;
998
998
  config?: {
999
999
  label?: string | null | undefined;
1000
- placeholder?: string | undefined;
1001
- default?: string | undefined;
1002
- } | undefined;
1000
+ placeholder?: string;
1001
+ default?: string;
1002
+ };
1003
1003
  });
1004
- } | undefined;
1004
+ };
1005
1005
  repeat?: {
1006
1006
  [x: string]: ({
1007
1007
  type: "Boolean";
1008
1008
  } & {
1009
1009
  config?: {
1010
1010
  label?: string | null | undefined;
1011
- default_value?: boolean | undefined;
1012
- placeholder_true?: string | undefined;
1013
- placeholder_false?: string | undefined;
1014
- } | undefined;
1011
+ default_value?: boolean;
1012
+ placeholder_true?: string;
1013
+ placeholder_false?: string;
1014
+ };
1015
1015
  }) | ({
1016
1016
  type: "Color";
1017
1017
  } & {
1018
1018
  fieldset?: string | null | undefined;
1019
1019
  config?: {
1020
1020
  label?: string | null | undefined;
1021
- placeholder?: string | undefined;
1022
- } | undefined;
1021
+ placeholder?: string;
1022
+ };
1023
1023
  }) | ({
1024
1024
  type: "Date";
1025
1025
  } & {
1026
1026
  fieldset?: string | null | undefined;
1027
1027
  config?: {
1028
1028
  label?: string | null | undefined;
1029
- placeholder?: string | undefined;
1030
- default?: string | undefined;
1031
- } | undefined;
1029
+ placeholder?: string;
1030
+ default?: string;
1031
+ };
1032
1032
  }) | ({
1033
1033
  type: "Embed";
1034
1034
  } & {
1035
1035
  fieldset?: string | null | undefined;
1036
1036
  config?: {
1037
1037
  label?: string | null | undefined;
1038
- placeholder?: string | undefined;
1039
- useAsTitle?: boolean | undefined;
1040
- } | undefined;
1038
+ placeholder?: string;
1039
+ useAsTitle?: boolean;
1040
+ };
1041
1041
  }) | ({
1042
1042
  type: "GeoPoint";
1043
1043
  } & {
1044
1044
  fieldset?: string | null | undefined;
1045
1045
  config?: {
1046
1046
  label?: string | null | undefined;
1047
- } | undefined;
1047
+ };
1048
1048
  }) | ({
1049
1049
  type: "Image";
1050
1050
  } & {
1051
1051
  fieldset?: string | null | undefined;
1052
1052
  config?: {
1053
1053
  label?: string | null | undefined;
1054
- placeholder?: string | undefined;
1054
+ placeholder?: string;
1055
1055
  constraint?: {
1056
- width?: number | null | undefined;
1057
- height?: number | null | undefined;
1058
- } | undefined;
1056
+ width?: number | null;
1057
+ height?: number | null;
1058
+ };
1059
1059
  thumbnails?: readonly ({
1060
1060
  name: string;
1061
1061
  } & {
1062
- width?: number | null | undefined;
1063
- height?: number | null | undefined;
1064
- })[] | undefined;
1065
- } | undefined;
1062
+ width?: number | null;
1063
+ height?: number | null;
1064
+ })[];
1065
+ };
1066
1066
  }) | ({
1067
1067
  type: "IntegrationFields";
1068
1068
  } & {
1069
1069
  fieldset?: string | null | undefined;
1070
1070
  config?: {
1071
1071
  label?: string | null | undefined;
1072
- placeholder?: string | undefined;
1073
- catalog?: string | undefined;
1074
- } | undefined;
1072
+ placeholder?: string;
1073
+ catalog?: string;
1074
+ };
1075
1075
  }) | ({
1076
1076
  type: "Link";
1077
1077
  } & {
1078
1078
  fieldset?: string | null | undefined;
1079
1079
  config?: {
1080
1080
  label?: string | null | undefined;
1081
- useAsTitle?: boolean | undefined;
1082
- placeholder?: string | undefined;
1083
- select?: "web" | "media" | "document" | null | undefined;
1084
- customtypes?: readonly string[] | undefined;
1085
- masks?: readonly string[] | undefined;
1086
- tags?: readonly string[] | undefined;
1087
- allowTargetBlank?: boolean | undefined;
1088
- } | undefined;
1081
+ useAsTitle?: boolean;
1082
+ placeholder?: string;
1083
+ select?: "web" | "media" | "document" | null;
1084
+ customtypes?: readonly string[];
1085
+ masks?: readonly string[];
1086
+ tags?: readonly string[];
1087
+ allowTargetBlank?: boolean;
1088
+ };
1089
1089
  }) | ({
1090
1090
  type: "Number";
1091
1091
  } & {
1092
1092
  fieldset?: string | null | undefined;
1093
1093
  config?: {
1094
1094
  label?: string | null | undefined;
1095
- placeholder?: string | undefined;
1096
- min?: number | undefined;
1097
- max?: number | undefined;
1098
- step?: number | undefined;
1099
- } | undefined;
1095
+ placeholder?: string;
1096
+ min?: number;
1097
+ max?: number;
1098
+ step?: number;
1099
+ };
1100
1100
  }) | ({
1101
1101
  type: "Range";
1102
1102
  } & {
1103
1103
  fieldset?: string | null | undefined;
1104
1104
  config?: {
1105
1105
  label?: string | null | undefined;
1106
- placeholder?: string | undefined;
1107
- min?: number | undefined;
1108
- max?: number | undefined;
1109
- step?: number | undefined;
1110
- } | undefined;
1106
+ placeholder?: string;
1107
+ min?: number;
1108
+ max?: number;
1109
+ step?: number;
1110
+ };
1111
1111
  }) | ({
1112
1112
  type: "StructuredText";
1113
1113
  } & {
1114
1114
  fieldset?: string | null | undefined;
1115
1115
  config?: {
1116
1116
  label?: string | null | undefined;
1117
- placeholder?: string | undefined;
1118
- useAsTitle?: boolean | undefined;
1119
- single?: string | undefined;
1120
- multi?: string | undefined;
1117
+ placeholder?: string;
1118
+ useAsTitle?: boolean;
1119
+ single?: string;
1120
+ multi?: string;
1121
1121
  imageConstraint?: {
1122
- width?: number | null | undefined;
1123
- height?: number | null | undefined;
1124
- } | undefined;
1125
- labels?: readonly string[] | undefined;
1126
- allowTargetBlank?: boolean | undefined;
1127
- } | undefined;
1122
+ width?: number | null;
1123
+ height?: number | null;
1124
+ };
1125
+ labels?: readonly string[];
1126
+ allowTargetBlank?: boolean;
1127
+ };
1128
1128
  }) | ({
1129
1129
  type: "Select";
1130
1130
  } & {
1131
1131
  fieldset?: string | null | undefined;
1132
1132
  config?: {
1133
1133
  label?: string | null | undefined;
1134
- placeholder?: string | undefined;
1135
- default_value?: string | undefined;
1136
- options?: readonly string[] | undefined;
1137
- } | undefined;
1134
+ placeholder?: string;
1135
+ default_value?: string;
1136
+ options?: readonly string[];
1137
+ };
1138
1138
  }) | ({
1139
1139
  type: "Separator";
1140
1140
  } & {
1141
1141
  config?: {
1142
1142
  label?: string | null | undefined;
1143
- } | undefined;
1143
+ };
1144
1144
  }) | ({
1145
1145
  type: "Text";
1146
1146
  } & {
1147
1147
  fieldset?: string | null | undefined;
1148
1148
  config?: {
1149
1149
  label?: string | null | undefined;
1150
- useAsTitle?: boolean | undefined;
1151
- placeholder?: string | undefined;
1152
- } | undefined;
1150
+ useAsTitle?: boolean;
1151
+ placeholder?: string;
1152
+ };
1153
1153
  }) | ({
1154
1154
  type: "Timestamp";
1155
1155
  } & {
1156
1156
  fieldset?: string | null | undefined;
1157
1157
  config?: {
1158
1158
  label?: string | null | undefined;
1159
- placeholder?: string | undefined;
1160
- default?: string | undefined;
1161
- } | undefined;
1159
+ placeholder?: string;
1160
+ default?: string;
1161
+ };
1162
1162
  });
1163
- } | undefined;
1163
+ };
1164
1164
  config?: {
1165
1165
  label?: string | null | undefined;
1166
- } | undefined;
1166
+ };
1167
1167
  }) | ({
1168
1168
  type: "Group";
1169
1169
  } & {
1170
1170
  fieldset?: string | null | undefined;
1171
- icon?: string | undefined;
1172
- description?: string | undefined;
1171
+ icon?: string;
1172
+ description?: string;
1173
1173
  config?: {
1174
1174
  label?: string | null | undefined;
1175
- repeat?: boolean | undefined;
1175
+ repeat?: boolean;
1176
1176
  fields?: {
1177
1177
  [x: string]: ({
1178
1178
  type: "Boolean";
1179
1179
  } & {
1180
1180
  config?: {
1181
1181
  label?: string | null | undefined;
1182
- default_value?: boolean | undefined;
1183
- placeholder_true?: string | undefined;
1184
- placeholder_false?: string | undefined;
1185
- } | undefined;
1182
+ default_value?: boolean;
1183
+ placeholder_true?: string;
1184
+ placeholder_false?: string;
1185
+ };
1186
1186
  }) | ({
1187
1187
  type: "Color";
1188
1188
  } & {
1189
1189
  fieldset?: string | null | undefined;
1190
1190
  config?: {
1191
1191
  label?: string | null | undefined;
1192
- placeholder?: string | undefined;
1193
- } | undefined;
1192
+ placeholder?: string;
1193
+ };
1194
1194
  }) | ({
1195
1195
  type: "Date";
1196
1196
  } & {
1197
1197
  fieldset?: string | null | undefined;
1198
1198
  config?: {
1199
1199
  label?: string | null | undefined;
1200
- placeholder?: string | undefined;
1201
- default?: string | undefined;
1202
- } | undefined;
1200
+ placeholder?: string;
1201
+ default?: string;
1202
+ };
1203
1203
  }) | ({
1204
1204
  type: "Embed";
1205
1205
  } & {
1206
1206
  fieldset?: string | null | undefined;
1207
1207
  config?: {
1208
1208
  label?: string | null | undefined;
1209
- placeholder?: string | undefined;
1210
- useAsTitle?: boolean | undefined;
1211
- } | undefined;
1209
+ placeholder?: string;
1210
+ useAsTitle?: boolean;
1211
+ };
1212
1212
  }) | ({
1213
1213
  type: "GeoPoint";
1214
1214
  } & {
1215
1215
  fieldset?: string | null | undefined;
1216
1216
  config?: {
1217
1217
  label?: string | null | undefined;
1218
- } | undefined;
1218
+ };
1219
1219
  }) | ({
1220
1220
  type: "Image";
1221
1221
  } & {
1222
1222
  fieldset?: string | null | undefined;
1223
1223
  config?: {
1224
1224
  label?: string | null | undefined;
1225
- placeholder?: string | undefined;
1225
+ placeholder?: string;
1226
1226
  constraint?: {
1227
- width?: number | null | undefined;
1228
- height?: number | null | undefined;
1229
- } | undefined;
1227
+ width?: number | null;
1228
+ height?: number | null;
1229
+ };
1230
1230
  thumbnails?: readonly ({
1231
1231
  name: string;
1232
1232
  } & {
1233
- width?: number | null | undefined;
1234
- height?: number | null | undefined;
1235
- })[] | undefined;
1236
- } | undefined;
1233
+ width?: number | null;
1234
+ height?: number | null;
1235
+ })[];
1236
+ };
1237
1237
  }) | ({
1238
1238
  type: "IntegrationFields";
1239
1239
  } & {
1240
1240
  fieldset?: string | null | undefined;
1241
1241
  config?: {
1242
1242
  label?: string | null | undefined;
1243
- placeholder?: string | undefined;
1244
- catalog?: string | undefined;
1245
- } | undefined;
1243
+ placeholder?: string;
1244
+ catalog?: string;
1245
+ };
1246
1246
  }) | ({
1247
1247
  type: "Link";
1248
1248
  } & {
1249
1249
  fieldset?: string | null | undefined;
1250
1250
  config?: {
1251
1251
  label?: string | null | undefined;
1252
- useAsTitle?: boolean | undefined;
1253
- placeholder?: string | undefined;
1254
- select?: "web" | "media" | "document" | null | undefined;
1255
- customtypes?: readonly string[] | undefined;
1256
- masks?: readonly string[] | undefined;
1257
- tags?: readonly string[] | undefined;
1258
- allowTargetBlank?: boolean | undefined;
1259
- } | undefined;
1252
+ useAsTitle?: boolean;
1253
+ placeholder?: string;
1254
+ select?: "web" | "media" | "document" | null;
1255
+ customtypes?: readonly string[];
1256
+ masks?: readonly string[];
1257
+ tags?: readonly string[];
1258
+ allowTargetBlank?: boolean;
1259
+ };
1260
1260
  }) | ({
1261
1261
  type: "Number";
1262
1262
  } & {
1263
1263
  fieldset?: string | null | undefined;
1264
1264
  config?: {
1265
1265
  label?: string | null | undefined;
1266
- placeholder?: string | undefined;
1267
- min?: number | undefined;
1268
- max?: number | undefined;
1269
- step?: number | undefined;
1270
- } | undefined;
1266
+ placeholder?: string;
1267
+ min?: number;
1268
+ max?: number;
1269
+ step?: number;
1270
+ };
1271
1271
  }) | ({
1272
1272
  type: "Range";
1273
1273
  } & {
1274
1274
  fieldset?: string | null | undefined;
1275
1275
  config?: {
1276
1276
  label?: string | null | undefined;
1277
- placeholder?: string | undefined;
1278
- min?: number | undefined;
1279
- max?: number | undefined;
1280
- step?: number | undefined;
1281
- } | undefined;
1277
+ placeholder?: string;
1278
+ min?: number;
1279
+ max?: number;
1280
+ step?: number;
1281
+ };
1282
1282
  }) | ({
1283
1283
  type: "StructuredText";
1284
1284
  } & {
1285
1285
  fieldset?: string | null | undefined;
1286
1286
  config?: {
1287
1287
  label?: string | null | undefined;
1288
- placeholder?: string | undefined;
1289
- useAsTitle?: boolean | undefined;
1290
- single?: string | undefined;
1291
- multi?: string | undefined;
1288
+ placeholder?: string;
1289
+ useAsTitle?: boolean;
1290
+ single?: string;
1291
+ multi?: string;
1292
1292
  imageConstraint?: {
1293
- width?: number | null | undefined;
1294
- height?: number | null | undefined;
1295
- } | undefined;
1296
- labels?: readonly string[] | undefined;
1297
- allowTargetBlank?: boolean | undefined;
1298
- } | undefined;
1293
+ width?: number | null;
1294
+ height?: number | null;
1295
+ };
1296
+ labels?: readonly string[];
1297
+ allowTargetBlank?: boolean;
1298
+ };
1299
1299
  }) | ({
1300
1300
  type: "Select";
1301
1301
  } & {
1302
1302
  fieldset?: string | null | undefined;
1303
1303
  config?: {
1304
1304
  label?: string | null | undefined;
1305
- placeholder?: string | undefined;
1306
- default_value?: string | undefined;
1307
- options?: readonly string[] | undefined;
1308
- } | undefined;
1305
+ placeholder?: string;
1306
+ default_value?: string;
1307
+ options?: readonly string[];
1308
+ };
1309
1309
  }) | ({
1310
1310
  type: "Separator";
1311
1311
  } & {
1312
1312
  config?: {
1313
1313
  label?: string | null | undefined;
1314
- } | undefined;
1314
+ };
1315
1315
  }) | ({
1316
1316
  type: "Text";
1317
1317
  } & {
1318
1318
  fieldset?: string | null | undefined;
1319
1319
  config?: {
1320
1320
  label?: string | null | undefined;
1321
- useAsTitle?: boolean | undefined;
1322
- placeholder?: string | undefined;
1323
- } | undefined;
1321
+ useAsTitle?: boolean;
1322
+ placeholder?: string;
1323
+ };
1324
1324
  }) | ({
1325
1325
  type: "Timestamp";
1326
1326
  } & {
1327
1327
  fieldset?: string | null | undefined;
1328
1328
  config?: {
1329
1329
  label?: string | null | undefined;
1330
- placeholder?: string | undefined;
1331
- default?: string | undefined;
1332
- } | undefined;
1330
+ placeholder?: string;
1331
+ default?: string;
1332
+ };
1333
1333
  });
1334
- } | undefined;
1335
- } | undefined;
1334
+ };
1335
+ };
1336
1336
  }) | ({
1337
1337
  id: string;
1338
1338
  type: "SharedSlice";
@@ -1345,331 +1345,331 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1345
1345
  docURL: string;
1346
1346
  version: string;
1347
1347
  } & {
1348
- display?: string | undefined;
1348
+ display?: string;
1349
1349
  primary?: {
1350
1350
  [x: string]: ({
1351
1351
  type: "Boolean";
1352
1352
  } & {
1353
1353
  config?: {
1354
1354
  label?: string | null | undefined;
1355
- default_value?: boolean | undefined;
1356
- placeholder_true?: string | undefined;
1357
- placeholder_false?: string | undefined;
1358
- } | undefined;
1355
+ default_value?: boolean;
1356
+ placeholder_true?: string;
1357
+ placeholder_false?: string;
1358
+ };
1359
1359
  }) | ({
1360
1360
  type: "Color";
1361
1361
  } & {
1362
1362
  fieldset?: string | null | undefined;
1363
1363
  config?: {
1364
1364
  label?: string | null | undefined;
1365
- placeholder?: string | undefined;
1366
- } | undefined;
1365
+ placeholder?: string;
1366
+ };
1367
1367
  }) | ({
1368
1368
  type: "Date";
1369
1369
  } & {
1370
1370
  fieldset?: string | null | undefined;
1371
1371
  config?: {
1372
1372
  label?: string | null | undefined;
1373
- placeholder?: string | undefined;
1374
- default?: string | undefined;
1375
- } | undefined;
1373
+ placeholder?: string;
1374
+ default?: string;
1375
+ };
1376
1376
  }) | ({
1377
1377
  type: "Embed";
1378
1378
  } & {
1379
1379
  fieldset?: string | null | undefined;
1380
1380
  config?: {
1381
1381
  label?: string | null | undefined;
1382
- placeholder?: string | undefined;
1383
- useAsTitle?: boolean | undefined;
1384
- } | undefined;
1382
+ placeholder?: string;
1383
+ useAsTitle?: boolean;
1384
+ };
1385
1385
  }) | ({
1386
1386
  type: "GeoPoint";
1387
1387
  } & {
1388
1388
  fieldset?: string | null | undefined;
1389
1389
  config?: {
1390
1390
  label?: string | null | undefined;
1391
- } | undefined;
1391
+ };
1392
1392
  }) | ({
1393
1393
  type: "Image";
1394
1394
  } & {
1395
1395
  fieldset?: string | null | undefined;
1396
1396
  config?: {
1397
1397
  label?: string | null | undefined;
1398
- placeholder?: string | undefined;
1398
+ placeholder?: string;
1399
1399
  constraint?: {
1400
- width?: number | null | undefined;
1401
- height?: number | null | undefined;
1402
- } | undefined;
1400
+ width?: number | null;
1401
+ height?: number | null;
1402
+ };
1403
1403
  thumbnails?: readonly ({
1404
1404
  name: string;
1405
1405
  } & {
1406
- width?: number | null | undefined;
1407
- height?: number | null | undefined;
1408
- })[] | undefined;
1409
- } | undefined;
1406
+ width?: number | null;
1407
+ height?: number | null;
1408
+ })[];
1409
+ };
1410
1410
  }) | ({
1411
1411
  type: "IntegrationFields";
1412
1412
  } & {
1413
1413
  fieldset?: string | null | undefined;
1414
1414
  config?: {
1415
1415
  label?: string | null | undefined;
1416
- placeholder?: string | undefined;
1417
- catalog?: string | undefined;
1418
- } | undefined;
1416
+ placeholder?: string;
1417
+ catalog?: string;
1418
+ };
1419
1419
  }) | ({
1420
1420
  type: "Link";
1421
1421
  } & {
1422
1422
  fieldset?: string | null | undefined;
1423
1423
  config?: {
1424
1424
  label?: string | null | undefined;
1425
- useAsTitle?: boolean | undefined;
1426
- placeholder?: string | undefined;
1427
- select?: "web" | "media" | "document" | null | undefined;
1428
- customtypes?: readonly string[] | undefined;
1429
- masks?: readonly string[] | undefined;
1430
- tags?: readonly string[] | undefined;
1431
- allowTargetBlank?: boolean | undefined;
1432
- } | undefined;
1425
+ useAsTitle?: boolean;
1426
+ placeholder?: string;
1427
+ select?: "web" | "media" | "document" | null;
1428
+ customtypes?: readonly string[];
1429
+ masks?: readonly string[];
1430
+ tags?: readonly string[];
1431
+ allowTargetBlank?: boolean;
1432
+ };
1433
1433
  }) | ({
1434
1434
  type: "Number";
1435
1435
  } & {
1436
1436
  fieldset?: string | null | undefined;
1437
1437
  config?: {
1438
1438
  label?: string | null | undefined;
1439
- placeholder?: string | undefined;
1440
- min?: number | undefined;
1441
- max?: number | undefined;
1442
- step?: number | undefined;
1443
- } | undefined;
1439
+ placeholder?: string;
1440
+ min?: number;
1441
+ max?: number;
1442
+ step?: number;
1443
+ };
1444
1444
  }) | ({
1445
1445
  type: "Range";
1446
1446
  } & {
1447
1447
  fieldset?: string | null | undefined;
1448
1448
  config?: {
1449
1449
  label?: string | null | undefined;
1450
- placeholder?: string | undefined;
1451
- min?: number | undefined;
1452
- max?: number | undefined;
1453
- step?: number | undefined;
1454
- } | undefined;
1450
+ placeholder?: string;
1451
+ min?: number;
1452
+ max?: number;
1453
+ step?: number;
1454
+ };
1455
1455
  }) | ({
1456
1456
  type: "StructuredText";
1457
1457
  } & {
1458
1458
  fieldset?: string | null | undefined;
1459
1459
  config?: {
1460
1460
  label?: string | null | undefined;
1461
- placeholder?: string | undefined;
1462
- useAsTitle?: boolean | undefined;
1463
- single?: string | undefined;
1464
- multi?: string | undefined;
1461
+ placeholder?: string;
1462
+ useAsTitle?: boolean;
1463
+ single?: string;
1464
+ multi?: string;
1465
1465
  imageConstraint?: {
1466
- width?: number | null | undefined;
1467
- height?: number | null | undefined;
1468
- } | undefined;
1469
- labels?: readonly string[] | undefined;
1470
- allowTargetBlank?: boolean | undefined;
1471
- } | undefined;
1466
+ width?: number | null;
1467
+ height?: number | null;
1468
+ };
1469
+ labels?: readonly string[];
1470
+ allowTargetBlank?: boolean;
1471
+ };
1472
1472
  }) | ({
1473
1473
  type: "Select";
1474
1474
  } & {
1475
1475
  fieldset?: string | null | undefined;
1476
1476
  config?: {
1477
1477
  label?: string | null | undefined;
1478
- placeholder?: string | undefined;
1479
- default_value?: string | undefined;
1480
- options?: readonly string[] | undefined;
1481
- } | undefined;
1478
+ placeholder?: string;
1479
+ default_value?: string;
1480
+ options?: readonly string[];
1481
+ };
1482
1482
  }) | ({
1483
1483
  type: "Separator";
1484
1484
  } & {
1485
1485
  config?: {
1486
1486
  label?: string | null | undefined;
1487
- } | undefined;
1487
+ };
1488
1488
  }) | ({
1489
1489
  type: "Text";
1490
1490
  } & {
1491
1491
  fieldset?: string | null | undefined;
1492
1492
  config?: {
1493
1493
  label?: string | null | undefined;
1494
- useAsTitle?: boolean | undefined;
1495
- placeholder?: string | undefined;
1496
- } | undefined;
1494
+ useAsTitle?: boolean;
1495
+ placeholder?: string;
1496
+ };
1497
1497
  }) | ({
1498
1498
  type: "Timestamp";
1499
1499
  } & {
1500
1500
  fieldset?: string | null | undefined;
1501
1501
  config?: {
1502
1502
  label?: string | null | undefined;
1503
- placeholder?: string | undefined;
1504
- default?: string | undefined;
1505
- } | undefined;
1503
+ placeholder?: string;
1504
+ default?: string;
1505
+ };
1506
1506
  });
1507
- } | undefined;
1507
+ };
1508
1508
  items?: {
1509
1509
  [x: string]: ({
1510
1510
  type: "Boolean";
1511
1511
  } & {
1512
1512
  config?: {
1513
1513
  label?: string | null | undefined;
1514
- default_value?: boolean | undefined;
1515
- placeholder_true?: string | undefined;
1516
- placeholder_false?: string | undefined;
1517
- } | undefined;
1514
+ default_value?: boolean;
1515
+ placeholder_true?: string;
1516
+ placeholder_false?: string;
1517
+ };
1518
1518
  }) | ({
1519
1519
  type: "Color";
1520
1520
  } & {
1521
1521
  fieldset?: string | null | undefined;
1522
1522
  config?: {
1523
1523
  label?: string | null | undefined;
1524
- placeholder?: string | undefined;
1525
- } | undefined;
1524
+ placeholder?: string;
1525
+ };
1526
1526
  }) | ({
1527
1527
  type: "Date";
1528
1528
  } & {
1529
1529
  fieldset?: string | null | undefined;
1530
1530
  config?: {
1531
1531
  label?: string | null | undefined;
1532
- placeholder?: string | undefined;
1533
- default?: string | undefined;
1534
- } | undefined;
1532
+ placeholder?: string;
1533
+ default?: string;
1534
+ };
1535
1535
  }) | ({
1536
1536
  type: "Embed";
1537
1537
  } & {
1538
1538
  fieldset?: string | null | undefined;
1539
1539
  config?: {
1540
1540
  label?: string | null | undefined;
1541
- placeholder?: string | undefined;
1542
- useAsTitle?: boolean | undefined;
1543
- } | undefined;
1541
+ placeholder?: string;
1542
+ useAsTitle?: boolean;
1543
+ };
1544
1544
  }) | ({
1545
1545
  type: "GeoPoint";
1546
1546
  } & {
1547
1547
  fieldset?: string | null | undefined;
1548
1548
  config?: {
1549
1549
  label?: string | null | undefined;
1550
- } | undefined;
1550
+ };
1551
1551
  }) | ({
1552
1552
  type: "Image";
1553
1553
  } & {
1554
1554
  fieldset?: string | null | undefined;
1555
1555
  config?: {
1556
1556
  label?: string | null | undefined;
1557
- placeholder?: string | undefined;
1557
+ placeholder?: string;
1558
1558
  constraint?: {
1559
- width?: number | null | undefined;
1560
- height?: number | null | undefined;
1561
- } | undefined;
1559
+ width?: number | null;
1560
+ height?: number | null;
1561
+ };
1562
1562
  thumbnails?: readonly ({
1563
1563
  name: string;
1564
1564
  } & {
1565
- width?: number | null | undefined;
1566
- height?: number | null | undefined;
1567
- })[] | undefined;
1568
- } | undefined;
1565
+ width?: number | null;
1566
+ height?: number | null;
1567
+ })[];
1568
+ };
1569
1569
  }) | ({
1570
1570
  type: "IntegrationFields";
1571
1571
  } & {
1572
1572
  fieldset?: string | null | undefined;
1573
1573
  config?: {
1574
1574
  label?: string | null | undefined;
1575
- placeholder?: string | undefined;
1576
- catalog?: string | undefined;
1577
- } | undefined;
1575
+ placeholder?: string;
1576
+ catalog?: string;
1577
+ };
1578
1578
  }) | ({
1579
1579
  type: "Link";
1580
1580
  } & {
1581
1581
  fieldset?: string | null | undefined;
1582
1582
  config?: {
1583
1583
  label?: string | null | undefined;
1584
- useAsTitle?: boolean | undefined;
1585
- placeholder?: string | undefined;
1586
- select?: "web" | "media" | "document" | null | undefined;
1587
- customtypes?: readonly string[] | undefined;
1588
- masks?: readonly string[] | undefined;
1589
- tags?: readonly string[] | undefined;
1590
- allowTargetBlank?: boolean | undefined;
1591
- } | undefined;
1584
+ useAsTitle?: boolean;
1585
+ placeholder?: string;
1586
+ select?: "web" | "media" | "document" | null;
1587
+ customtypes?: readonly string[];
1588
+ masks?: readonly string[];
1589
+ tags?: readonly string[];
1590
+ allowTargetBlank?: boolean;
1591
+ };
1592
1592
  }) | ({
1593
1593
  type: "Number";
1594
1594
  } & {
1595
1595
  fieldset?: string | null | undefined;
1596
1596
  config?: {
1597
1597
  label?: string | null | undefined;
1598
- placeholder?: string | undefined;
1599
- min?: number | undefined;
1600
- max?: number | undefined;
1601
- step?: number | undefined;
1602
- } | undefined;
1598
+ placeholder?: string;
1599
+ min?: number;
1600
+ max?: number;
1601
+ step?: number;
1602
+ };
1603
1603
  }) | ({
1604
1604
  type: "Range";
1605
1605
  } & {
1606
1606
  fieldset?: string | null | undefined;
1607
1607
  config?: {
1608
1608
  label?: string | null | undefined;
1609
- placeholder?: string | undefined;
1610
- min?: number | undefined;
1611
- max?: number | undefined;
1612
- step?: number | undefined;
1613
- } | undefined;
1609
+ placeholder?: string;
1610
+ min?: number;
1611
+ max?: number;
1612
+ step?: number;
1613
+ };
1614
1614
  }) | ({
1615
1615
  type: "StructuredText";
1616
1616
  } & {
1617
1617
  fieldset?: string | null | undefined;
1618
1618
  config?: {
1619
1619
  label?: string | null | undefined;
1620
- placeholder?: string | undefined;
1621
- useAsTitle?: boolean | undefined;
1622
- single?: string | undefined;
1623
- multi?: string | undefined;
1620
+ placeholder?: string;
1621
+ useAsTitle?: boolean;
1622
+ single?: string;
1623
+ multi?: string;
1624
1624
  imageConstraint?: {
1625
- width?: number | null | undefined;
1626
- height?: number | null | undefined;
1627
- } | undefined;
1628
- labels?: readonly string[] | undefined;
1629
- allowTargetBlank?: boolean | undefined;
1630
- } | undefined;
1625
+ width?: number | null;
1626
+ height?: number | null;
1627
+ };
1628
+ labels?: readonly string[];
1629
+ allowTargetBlank?: boolean;
1630
+ };
1631
1631
  }) | ({
1632
1632
  type: "Select";
1633
1633
  } & {
1634
1634
  fieldset?: string | null | undefined;
1635
1635
  config?: {
1636
1636
  label?: string | null | undefined;
1637
- placeholder?: string | undefined;
1638
- default_value?: string | undefined;
1639
- options?: readonly string[] | undefined;
1640
- } | undefined;
1637
+ placeholder?: string;
1638
+ default_value?: string;
1639
+ options?: readonly string[];
1640
+ };
1641
1641
  }) | ({
1642
1642
  type: "Separator";
1643
1643
  } & {
1644
1644
  config?: {
1645
1645
  label?: string | null | undefined;
1646
- } | undefined;
1646
+ };
1647
1647
  }) | ({
1648
1648
  type: "Text";
1649
1649
  } & {
1650
1650
  fieldset?: string | null | undefined;
1651
1651
  config?: {
1652
1652
  label?: string | null | undefined;
1653
- useAsTitle?: boolean | undefined;
1654
- placeholder?: string | undefined;
1655
- } | undefined;
1653
+ useAsTitle?: boolean;
1654
+ placeholder?: string;
1655
+ };
1656
1656
  }) | ({
1657
1657
  type: "Timestamp";
1658
1658
  } & {
1659
1659
  fieldset?: string | null | undefined;
1660
1660
  config?: {
1661
1661
  label?: string | null | undefined;
1662
- placeholder?: string | undefined;
1663
- default?: string | undefined;
1664
- } | undefined;
1662
+ placeholder?: string;
1663
+ default?: string;
1664
+ };
1665
1665
  });
1666
- } | undefined;
1666
+ };
1667
1667
  })[];
1668
1668
  } & {
1669
- description?: string | undefined;
1669
+ description?: string;
1670
1670
  });
1671
- } | undefined;
1672
- } | undefined;
1671
+ };
1672
+ };
1673
1673
  }, unknown, unknown>]>;
1674
1674
  export declare type StaticWidget = t.TypeOf<typeof StaticWidget>;
1675
1675
  export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2014,668 +2014,668 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2014
2014
  [x: string]: readonly ({
2015
2015
  name: string;
2016
2016
  } & {
2017
- display?: string | undefined;
2017
+ display?: string;
2018
2018
  })[];
2019
- } | null | undefined;
2019
+ } | null;
2020
2020
  choices?: {
2021
2021
  [x: string]: ({
2022
2022
  type: "Boolean";
2023
2023
  } & {
2024
2024
  config?: {
2025
2025
  label?: string | null | undefined;
2026
- default_value?: boolean | undefined;
2027
- placeholder_true?: string | undefined;
2028
- placeholder_false?: string | undefined;
2029
- } | undefined;
2026
+ default_value?: boolean;
2027
+ placeholder_true?: string;
2028
+ placeholder_false?: string;
2029
+ };
2030
2030
  }) | ({
2031
2031
  type: "Color";
2032
2032
  } & {
2033
2033
  fieldset?: string | null | undefined;
2034
2034
  config?: {
2035
2035
  label?: string | null | undefined;
2036
- placeholder?: string | undefined;
2037
- } | undefined;
2036
+ placeholder?: string;
2037
+ };
2038
2038
  }) | ({
2039
2039
  type: "Date";
2040
2040
  } & {
2041
2041
  fieldset?: string | null | undefined;
2042
2042
  config?: {
2043
2043
  label?: string | null | undefined;
2044
- placeholder?: string | undefined;
2045
- default?: string | undefined;
2046
- } | undefined;
2044
+ placeholder?: string;
2045
+ default?: string;
2046
+ };
2047
2047
  }) | ({
2048
2048
  type: "Embed";
2049
2049
  } & {
2050
2050
  fieldset?: string | null | undefined;
2051
2051
  config?: {
2052
2052
  label?: string | null | undefined;
2053
- placeholder?: string | undefined;
2054
- useAsTitle?: boolean | undefined;
2055
- } | undefined;
2053
+ placeholder?: string;
2054
+ useAsTitle?: boolean;
2055
+ };
2056
2056
  }) | ({
2057
2057
  type: "GeoPoint";
2058
2058
  } & {
2059
2059
  fieldset?: string | null | undefined;
2060
2060
  config?: {
2061
2061
  label?: string | null | undefined;
2062
- } | undefined;
2062
+ };
2063
2063
  }) | ({
2064
2064
  type: "Image";
2065
2065
  } & {
2066
2066
  fieldset?: string | null | undefined;
2067
2067
  config?: {
2068
2068
  label?: string | null | undefined;
2069
- placeholder?: string | undefined;
2069
+ placeholder?: string;
2070
2070
  constraint?: {
2071
- width?: number | null | undefined;
2072
- height?: number | null | undefined;
2073
- } | undefined;
2071
+ width?: number | null;
2072
+ height?: number | null;
2073
+ };
2074
2074
  thumbnails?: readonly ({
2075
2075
  name: string;
2076
2076
  } & {
2077
- width?: number | null | undefined;
2078
- height?: number | null | undefined;
2079
- })[] | undefined;
2080
- } | undefined;
2077
+ width?: number | null;
2078
+ height?: number | null;
2079
+ })[];
2080
+ };
2081
2081
  }) | ({
2082
2082
  type: "IntegrationFields";
2083
2083
  } & {
2084
2084
  fieldset?: string | null | undefined;
2085
2085
  config?: {
2086
2086
  label?: string | null | undefined;
2087
- placeholder?: string | undefined;
2088
- catalog?: string | undefined;
2089
- } | undefined;
2087
+ placeholder?: string;
2088
+ catalog?: string;
2089
+ };
2090
2090
  }) | ({
2091
2091
  type: "Link";
2092
2092
  } & {
2093
2093
  fieldset?: string | null | undefined;
2094
2094
  config?: {
2095
2095
  label?: string | null | undefined;
2096
- useAsTitle?: boolean | undefined;
2097
- placeholder?: string | undefined;
2098
- select?: "web" | "media" | "document" | null | undefined;
2099
- customtypes?: readonly string[] | undefined;
2100
- masks?: readonly string[] | undefined;
2101
- tags?: readonly string[] | undefined;
2102
- allowTargetBlank?: boolean | undefined;
2103
- } | undefined;
2096
+ useAsTitle?: boolean;
2097
+ placeholder?: string;
2098
+ select?: "web" | "media" | "document" | null;
2099
+ customtypes?: readonly string[];
2100
+ masks?: readonly string[];
2101
+ tags?: readonly string[];
2102
+ allowTargetBlank?: boolean;
2103
+ };
2104
2104
  }) | ({
2105
2105
  type: "Number";
2106
2106
  } & {
2107
2107
  fieldset?: string | null | undefined;
2108
2108
  config?: {
2109
2109
  label?: string | null | undefined;
2110
- placeholder?: string | undefined;
2111
- min?: number | undefined;
2112
- max?: number | undefined;
2113
- step?: number | undefined;
2114
- } | undefined;
2110
+ placeholder?: string;
2111
+ min?: number;
2112
+ max?: number;
2113
+ step?: number;
2114
+ };
2115
2115
  }) | ({
2116
2116
  type: "Range";
2117
2117
  } & {
2118
2118
  fieldset?: string | null | undefined;
2119
2119
  config?: {
2120
2120
  label?: string | null | undefined;
2121
- placeholder?: string | undefined;
2122
- min?: number | undefined;
2123
- max?: number | undefined;
2124
- step?: number | undefined;
2125
- } | undefined;
2121
+ placeholder?: string;
2122
+ min?: number;
2123
+ max?: number;
2124
+ step?: number;
2125
+ };
2126
2126
  }) | ({
2127
2127
  type: "StructuredText";
2128
2128
  } & {
2129
2129
  fieldset?: string | null | undefined;
2130
2130
  config?: {
2131
2131
  label?: string | null | undefined;
2132
- placeholder?: string | undefined;
2133
- useAsTitle?: boolean | undefined;
2134
- single?: string | undefined;
2135
- multi?: string | undefined;
2132
+ placeholder?: string;
2133
+ useAsTitle?: boolean;
2134
+ single?: string;
2135
+ multi?: string;
2136
2136
  imageConstraint?: {
2137
- width?: number | null | undefined;
2138
- height?: number | null | undefined;
2139
- } | undefined;
2140
- labels?: readonly string[] | undefined;
2141
- allowTargetBlank?: boolean | undefined;
2142
- } | undefined;
2137
+ width?: number | null;
2138
+ height?: number | null;
2139
+ };
2140
+ labels?: readonly string[];
2141
+ allowTargetBlank?: boolean;
2142
+ };
2143
2143
  }) | ({
2144
2144
  type: "Select";
2145
2145
  } & {
2146
2146
  fieldset?: string | null | undefined;
2147
2147
  config?: {
2148
2148
  label?: string | null | undefined;
2149
- placeholder?: string | undefined;
2150
- default_value?: string | undefined;
2151
- options?: readonly string[] | undefined;
2152
- } | undefined;
2149
+ placeholder?: string;
2150
+ default_value?: string;
2151
+ options?: readonly string[];
2152
+ };
2153
2153
  }) | ({
2154
2154
  type: "Separator";
2155
2155
  } & {
2156
2156
  config?: {
2157
2157
  label?: string | null | undefined;
2158
- } | undefined;
2158
+ };
2159
2159
  }) | ({
2160
2160
  type: "Text";
2161
2161
  } & {
2162
2162
  fieldset?: string | null | undefined;
2163
2163
  config?: {
2164
2164
  label?: string | null | undefined;
2165
- useAsTitle?: boolean | undefined;
2166
- placeholder?: string | undefined;
2167
- } | undefined;
2165
+ useAsTitle?: boolean;
2166
+ placeholder?: string;
2167
+ };
2168
2168
  }) | ({
2169
2169
  type: "Timestamp";
2170
2170
  } & {
2171
2171
  fieldset?: string | null | undefined;
2172
2172
  config?: {
2173
2173
  label?: string | null | undefined;
2174
- placeholder?: string | undefined;
2175
- default?: string | undefined;
2176
- } | undefined;
2174
+ placeholder?: string;
2175
+ default?: string;
2176
+ };
2177
2177
  }) | ({
2178
2178
  type: "Slice";
2179
2179
  } & {
2180
2180
  fieldset?: string | null | undefined;
2181
- description?: string | undefined;
2182
- icon?: string | undefined;
2183
- display?: string | undefined;
2181
+ description?: string;
2182
+ icon?: string;
2183
+ display?: string;
2184
2184
  "non-repeat"?: {
2185
2185
  [x: string]: ({
2186
2186
  type: "Boolean";
2187
2187
  } & {
2188
2188
  config?: {
2189
2189
  label?: string | null | undefined;
2190
- default_value?: boolean | undefined;
2191
- placeholder_true?: string | undefined;
2192
- placeholder_false?: string | undefined;
2193
- } | undefined;
2190
+ default_value?: boolean;
2191
+ placeholder_true?: string;
2192
+ placeholder_false?: string;
2193
+ };
2194
2194
  }) | ({
2195
2195
  type: "Color";
2196
2196
  } & {
2197
2197
  fieldset?: string | null | undefined;
2198
2198
  config?: {
2199
2199
  label?: string | null | undefined;
2200
- placeholder?: string | undefined;
2201
- } | undefined;
2200
+ placeholder?: string;
2201
+ };
2202
2202
  }) | ({
2203
2203
  type: "Date";
2204
2204
  } & {
2205
2205
  fieldset?: string | null | undefined;
2206
2206
  config?: {
2207
2207
  label?: string | null | undefined;
2208
- placeholder?: string | undefined;
2209
- default?: string | undefined;
2210
- } | undefined;
2208
+ placeholder?: string;
2209
+ default?: string;
2210
+ };
2211
2211
  }) | ({
2212
2212
  type: "Embed";
2213
2213
  } & {
2214
2214
  fieldset?: string | null | undefined;
2215
2215
  config?: {
2216
2216
  label?: string | null | undefined;
2217
- placeholder?: string | undefined;
2218
- useAsTitle?: boolean | undefined;
2219
- } | undefined;
2217
+ placeholder?: string;
2218
+ useAsTitle?: boolean;
2219
+ };
2220
2220
  }) | ({
2221
2221
  type: "GeoPoint";
2222
2222
  } & {
2223
2223
  fieldset?: string | null | undefined;
2224
2224
  config?: {
2225
2225
  label?: string | null | undefined;
2226
- } | undefined;
2226
+ };
2227
2227
  }) | ({
2228
2228
  type: "Image";
2229
2229
  } & {
2230
2230
  fieldset?: string | null | undefined;
2231
2231
  config?: {
2232
2232
  label?: string | null | undefined;
2233
- placeholder?: string | undefined;
2233
+ placeholder?: string;
2234
2234
  constraint?: {
2235
- width?: number | null | undefined;
2236
- height?: number | null | undefined;
2237
- } | undefined;
2235
+ width?: number | null;
2236
+ height?: number | null;
2237
+ };
2238
2238
  thumbnails?: readonly ({
2239
2239
  name: string;
2240
2240
  } & {
2241
- width?: number | null | undefined;
2242
- height?: number | null | undefined;
2243
- })[] | undefined;
2244
- } | undefined;
2241
+ width?: number | null;
2242
+ height?: number | null;
2243
+ })[];
2244
+ };
2245
2245
  }) | ({
2246
2246
  type: "IntegrationFields";
2247
2247
  } & {
2248
2248
  fieldset?: string | null | undefined;
2249
2249
  config?: {
2250
2250
  label?: string | null | undefined;
2251
- placeholder?: string | undefined;
2252
- catalog?: string | undefined;
2253
- } | undefined;
2251
+ placeholder?: string;
2252
+ catalog?: string;
2253
+ };
2254
2254
  }) | ({
2255
2255
  type: "Link";
2256
2256
  } & {
2257
2257
  fieldset?: string | null | undefined;
2258
2258
  config?: {
2259
2259
  label?: string | null | undefined;
2260
- useAsTitle?: boolean | undefined;
2261
- placeholder?: string | undefined;
2262
- select?: "web" | "media" | "document" | null | undefined;
2263
- customtypes?: readonly string[] | undefined;
2264
- masks?: readonly string[] | undefined;
2265
- tags?: readonly string[] | undefined;
2266
- allowTargetBlank?: boolean | undefined;
2267
- } | undefined;
2260
+ useAsTitle?: boolean;
2261
+ placeholder?: string;
2262
+ select?: "web" | "media" | "document" | null;
2263
+ customtypes?: readonly string[];
2264
+ masks?: readonly string[];
2265
+ tags?: readonly string[];
2266
+ allowTargetBlank?: boolean;
2267
+ };
2268
2268
  }) | ({
2269
2269
  type: "Number";
2270
2270
  } & {
2271
2271
  fieldset?: string | null | undefined;
2272
2272
  config?: {
2273
2273
  label?: string | null | undefined;
2274
- placeholder?: string | undefined;
2275
- min?: number | undefined;
2276
- max?: number | undefined;
2277
- step?: number | undefined;
2278
- } | undefined;
2274
+ placeholder?: string;
2275
+ min?: number;
2276
+ max?: number;
2277
+ step?: number;
2278
+ };
2279
2279
  }) | ({
2280
2280
  type: "Range";
2281
2281
  } & {
2282
2282
  fieldset?: string | null | undefined;
2283
2283
  config?: {
2284
2284
  label?: string | null | undefined;
2285
- placeholder?: string | undefined;
2286
- min?: number | undefined;
2287
- max?: number | undefined;
2288
- step?: number | undefined;
2289
- } | undefined;
2285
+ placeholder?: string;
2286
+ min?: number;
2287
+ max?: number;
2288
+ step?: number;
2289
+ };
2290
2290
  }) | ({
2291
2291
  type: "StructuredText";
2292
2292
  } & {
2293
2293
  fieldset?: string | null | undefined;
2294
2294
  config?: {
2295
2295
  label?: string | null | undefined;
2296
- placeholder?: string | undefined;
2297
- useAsTitle?: boolean | undefined;
2298
- single?: string | undefined;
2299
- multi?: string | undefined;
2296
+ placeholder?: string;
2297
+ useAsTitle?: boolean;
2298
+ single?: string;
2299
+ multi?: string;
2300
2300
  imageConstraint?: {
2301
- width?: number | null | undefined;
2302
- height?: number | null | undefined;
2303
- } | undefined;
2304
- labels?: readonly string[] | undefined;
2305
- allowTargetBlank?: boolean | undefined;
2306
- } | undefined;
2301
+ width?: number | null;
2302
+ height?: number | null;
2303
+ };
2304
+ labels?: readonly string[];
2305
+ allowTargetBlank?: boolean;
2306
+ };
2307
2307
  }) | ({
2308
2308
  type: "Select";
2309
2309
  } & {
2310
2310
  fieldset?: string | null | undefined;
2311
2311
  config?: {
2312
2312
  label?: string | null | undefined;
2313
- placeholder?: string | undefined;
2314
- default_value?: string | undefined;
2315
- options?: readonly string[] | undefined;
2316
- } | undefined;
2313
+ placeholder?: string;
2314
+ default_value?: string;
2315
+ options?: readonly string[];
2316
+ };
2317
2317
  }) | ({
2318
2318
  type: "Separator";
2319
2319
  } & {
2320
2320
  config?: {
2321
2321
  label?: string | null | undefined;
2322
- } | undefined;
2322
+ };
2323
2323
  }) | ({
2324
2324
  type: "Text";
2325
2325
  } & {
2326
2326
  fieldset?: string | null | undefined;
2327
2327
  config?: {
2328
2328
  label?: string | null | undefined;
2329
- useAsTitle?: boolean | undefined;
2330
- placeholder?: string | undefined;
2331
- } | undefined;
2329
+ useAsTitle?: boolean;
2330
+ placeholder?: string;
2331
+ };
2332
2332
  }) | ({
2333
2333
  type: "Timestamp";
2334
2334
  } & {
2335
2335
  fieldset?: string | null | undefined;
2336
2336
  config?: {
2337
2337
  label?: string | null | undefined;
2338
- placeholder?: string | undefined;
2339
- default?: string | undefined;
2340
- } | undefined;
2338
+ placeholder?: string;
2339
+ default?: string;
2340
+ };
2341
2341
  });
2342
- } | undefined;
2342
+ };
2343
2343
  repeat?: {
2344
2344
  [x: string]: ({
2345
2345
  type: "Boolean";
2346
2346
  } & {
2347
2347
  config?: {
2348
2348
  label?: string | null | undefined;
2349
- default_value?: boolean | undefined;
2350
- placeholder_true?: string | undefined;
2351
- placeholder_false?: string | undefined;
2352
- } | undefined;
2349
+ default_value?: boolean;
2350
+ placeholder_true?: string;
2351
+ placeholder_false?: string;
2352
+ };
2353
2353
  }) | ({
2354
2354
  type: "Color";
2355
2355
  } & {
2356
2356
  fieldset?: string | null | undefined;
2357
2357
  config?: {
2358
2358
  label?: string | null | undefined;
2359
- placeholder?: string | undefined;
2360
- } | undefined;
2359
+ placeholder?: string;
2360
+ };
2361
2361
  }) | ({
2362
2362
  type: "Date";
2363
2363
  } & {
2364
2364
  fieldset?: string | null | undefined;
2365
2365
  config?: {
2366
2366
  label?: string | null | undefined;
2367
- placeholder?: string | undefined;
2368
- default?: string | undefined;
2369
- } | undefined;
2367
+ placeholder?: string;
2368
+ default?: string;
2369
+ };
2370
2370
  }) | ({
2371
2371
  type: "Embed";
2372
2372
  } & {
2373
2373
  fieldset?: string | null | undefined;
2374
2374
  config?: {
2375
2375
  label?: string | null | undefined;
2376
- placeholder?: string | undefined;
2377
- useAsTitle?: boolean | undefined;
2378
- } | undefined;
2376
+ placeholder?: string;
2377
+ useAsTitle?: boolean;
2378
+ };
2379
2379
  }) | ({
2380
2380
  type: "GeoPoint";
2381
2381
  } & {
2382
2382
  fieldset?: string | null | undefined;
2383
2383
  config?: {
2384
2384
  label?: string | null | undefined;
2385
- } | undefined;
2385
+ };
2386
2386
  }) | ({
2387
2387
  type: "Image";
2388
2388
  } & {
2389
2389
  fieldset?: string | null | undefined;
2390
2390
  config?: {
2391
2391
  label?: string | null | undefined;
2392
- placeholder?: string | undefined;
2392
+ placeholder?: string;
2393
2393
  constraint?: {
2394
- width?: number | null | undefined;
2395
- height?: number | null | undefined;
2396
- } | undefined;
2394
+ width?: number | null;
2395
+ height?: number | null;
2396
+ };
2397
2397
  thumbnails?: readonly ({
2398
2398
  name: string;
2399
2399
  } & {
2400
- width?: number | null | undefined;
2401
- height?: number | null | undefined;
2402
- })[] | undefined;
2403
- } | undefined;
2400
+ width?: number | null;
2401
+ height?: number | null;
2402
+ })[];
2403
+ };
2404
2404
  }) | ({
2405
2405
  type: "IntegrationFields";
2406
2406
  } & {
2407
2407
  fieldset?: string | null | undefined;
2408
2408
  config?: {
2409
2409
  label?: string | null | undefined;
2410
- placeholder?: string | undefined;
2411
- catalog?: string | undefined;
2412
- } | undefined;
2410
+ placeholder?: string;
2411
+ catalog?: string;
2412
+ };
2413
2413
  }) | ({
2414
2414
  type: "Link";
2415
2415
  } & {
2416
2416
  fieldset?: string | null | undefined;
2417
2417
  config?: {
2418
2418
  label?: string | null | undefined;
2419
- useAsTitle?: boolean | undefined;
2420
- placeholder?: string | undefined;
2421
- select?: "web" | "media" | "document" | null | undefined;
2422
- customtypes?: readonly string[] | undefined;
2423
- masks?: readonly string[] | undefined;
2424
- tags?: readonly string[] | undefined;
2425
- allowTargetBlank?: boolean | undefined;
2426
- } | undefined;
2419
+ useAsTitle?: boolean;
2420
+ placeholder?: string;
2421
+ select?: "web" | "media" | "document" | null;
2422
+ customtypes?: readonly string[];
2423
+ masks?: readonly string[];
2424
+ tags?: readonly string[];
2425
+ allowTargetBlank?: boolean;
2426
+ };
2427
2427
  }) | ({
2428
2428
  type: "Number";
2429
2429
  } & {
2430
2430
  fieldset?: string | null | undefined;
2431
2431
  config?: {
2432
2432
  label?: string | null | undefined;
2433
- placeholder?: string | undefined;
2434
- min?: number | undefined;
2435
- max?: number | undefined;
2436
- step?: number | undefined;
2437
- } | undefined;
2433
+ placeholder?: string;
2434
+ min?: number;
2435
+ max?: number;
2436
+ step?: number;
2437
+ };
2438
2438
  }) | ({
2439
2439
  type: "Range";
2440
2440
  } & {
2441
2441
  fieldset?: string | null | undefined;
2442
2442
  config?: {
2443
2443
  label?: string | null | undefined;
2444
- placeholder?: string | undefined;
2445
- min?: number | undefined;
2446
- max?: number | undefined;
2447
- step?: number | undefined;
2448
- } | undefined;
2444
+ placeholder?: string;
2445
+ min?: number;
2446
+ max?: number;
2447
+ step?: number;
2448
+ };
2449
2449
  }) | ({
2450
2450
  type: "StructuredText";
2451
2451
  } & {
2452
2452
  fieldset?: string | null | undefined;
2453
2453
  config?: {
2454
2454
  label?: string | null | undefined;
2455
- placeholder?: string | undefined;
2456
- useAsTitle?: boolean | undefined;
2457
- single?: string | undefined;
2458
- multi?: string | undefined;
2455
+ placeholder?: string;
2456
+ useAsTitle?: boolean;
2457
+ single?: string;
2458
+ multi?: string;
2459
2459
  imageConstraint?: {
2460
- width?: number | null | undefined;
2461
- height?: number | null | undefined;
2462
- } | undefined;
2463
- labels?: readonly string[] | undefined;
2464
- allowTargetBlank?: boolean | undefined;
2465
- } | undefined;
2460
+ width?: number | null;
2461
+ height?: number | null;
2462
+ };
2463
+ labels?: readonly string[];
2464
+ allowTargetBlank?: boolean;
2465
+ };
2466
2466
  }) | ({
2467
2467
  type: "Select";
2468
2468
  } & {
2469
2469
  fieldset?: string | null | undefined;
2470
2470
  config?: {
2471
2471
  label?: string | null | undefined;
2472
- placeholder?: string | undefined;
2473
- default_value?: string | undefined;
2474
- options?: readonly string[] | undefined;
2475
- } | undefined;
2472
+ placeholder?: string;
2473
+ default_value?: string;
2474
+ options?: readonly string[];
2475
+ };
2476
2476
  }) | ({
2477
2477
  type: "Separator";
2478
2478
  } & {
2479
2479
  config?: {
2480
2480
  label?: string | null | undefined;
2481
- } | undefined;
2481
+ };
2482
2482
  }) | ({
2483
2483
  type: "Text";
2484
2484
  } & {
2485
2485
  fieldset?: string | null | undefined;
2486
2486
  config?: {
2487
2487
  label?: string | null | undefined;
2488
- useAsTitle?: boolean | undefined;
2489
- placeholder?: string | undefined;
2490
- } | undefined;
2488
+ useAsTitle?: boolean;
2489
+ placeholder?: string;
2490
+ };
2491
2491
  }) | ({
2492
2492
  type: "Timestamp";
2493
2493
  } & {
2494
2494
  fieldset?: string | null | undefined;
2495
2495
  config?: {
2496
2496
  label?: string | null | undefined;
2497
- placeholder?: string | undefined;
2498
- default?: string | undefined;
2499
- } | undefined;
2497
+ placeholder?: string;
2498
+ default?: string;
2499
+ };
2500
2500
  });
2501
- } | undefined;
2501
+ };
2502
2502
  config?: {
2503
2503
  label?: string | null | undefined;
2504
- } | undefined;
2504
+ };
2505
2505
  }) | ({
2506
2506
  type: "Group";
2507
2507
  } & {
2508
2508
  fieldset?: string | null | undefined;
2509
- icon?: string | undefined;
2510
- description?: string | undefined;
2509
+ icon?: string;
2510
+ description?: string;
2511
2511
  config?: {
2512
2512
  label?: string | null | undefined;
2513
- repeat?: boolean | undefined;
2513
+ repeat?: boolean;
2514
2514
  fields?: {
2515
2515
  [x: string]: ({
2516
2516
  type: "Boolean";
2517
2517
  } & {
2518
2518
  config?: {
2519
2519
  label?: string | null | undefined;
2520
- default_value?: boolean | undefined;
2521
- placeholder_true?: string | undefined;
2522
- placeholder_false?: string | undefined;
2523
- } | undefined;
2520
+ default_value?: boolean;
2521
+ placeholder_true?: string;
2522
+ placeholder_false?: string;
2523
+ };
2524
2524
  }) | ({
2525
2525
  type: "Color";
2526
2526
  } & {
2527
2527
  fieldset?: string | null | undefined;
2528
2528
  config?: {
2529
2529
  label?: string | null | undefined;
2530
- placeholder?: string | undefined;
2531
- } | undefined;
2530
+ placeholder?: string;
2531
+ };
2532
2532
  }) | ({
2533
2533
  type: "Date";
2534
2534
  } & {
2535
2535
  fieldset?: string | null | undefined;
2536
2536
  config?: {
2537
2537
  label?: string | null | undefined;
2538
- placeholder?: string | undefined;
2539
- default?: string | undefined;
2540
- } | undefined;
2538
+ placeholder?: string;
2539
+ default?: string;
2540
+ };
2541
2541
  }) | ({
2542
2542
  type: "Embed";
2543
2543
  } & {
2544
2544
  fieldset?: string | null | undefined;
2545
2545
  config?: {
2546
2546
  label?: string | null | undefined;
2547
- placeholder?: string | undefined;
2548
- useAsTitle?: boolean | undefined;
2549
- } | undefined;
2547
+ placeholder?: string;
2548
+ useAsTitle?: boolean;
2549
+ };
2550
2550
  }) | ({
2551
2551
  type: "GeoPoint";
2552
2552
  } & {
2553
2553
  fieldset?: string | null | undefined;
2554
2554
  config?: {
2555
2555
  label?: string | null | undefined;
2556
- } | undefined;
2556
+ };
2557
2557
  }) | ({
2558
2558
  type: "Image";
2559
2559
  } & {
2560
2560
  fieldset?: string | null | undefined;
2561
2561
  config?: {
2562
2562
  label?: string | null | undefined;
2563
- placeholder?: string | undefined;
2563
+ placeholder?: string;
2564
2564
  constraint?: {
2565
- width?: number | null | undefined;
2566
- height?: number | null | undefined;
2567
- } | undefined;
2565
+ width?: number | null;
2566
+ height?: number | null;
2567
+ };
2568
2568
  thumbnails?: readonly ({
2569
2569
  name: string;
2570
2570
  } & {
2571
- width?: number | null | undefined;
2572
- height?: number | null | undefined;
2573
- })[] | undefined;
2574
- } | undefined;
2571
+ width?: number | null;
2572
+ height?: number | null;
2573
+ })[];
2574
+ };
2575
2575
  }) | ({
2576
2576
  type: "IntegrationFields";
2577
2577
  } & {
2578
2578
  fieldset?: string | null | undefined;
2579
2579
  config?: {
2580
2580
  label?: string | null | undefined;
2581
- placeholder?: string | undefined;
2582
- catalog?: string | undefined;
2583
- } | undefined;
2581
+ placeholder?: string;
2582
+ catalog?: string;
2583
+ };
2584
2584
  }) | ({
2585
2585
  type: "Link";
2586
2586
  } & {
2587
2587
  fieldset?: string | null | undefined;
2588
2588
  config?: {
2589
2589
  label?: string | null | undefined;
2590
- useAsTitle?: boolean | undefined;
2591
- placeholder?: string | undefined;
2592
- select?: "web" | "media" | "document" | null | undefined;
2593
- customtypes?: readonly string[] | undefined;
2594
- masks?: readonly string[] | undefined;
2595
- tags?: readonly string[] | undefined;
2596
- allowTargetBlank?: boolean | undefined;
2597
- } | undefined;
2590
+ useAsTitle?: boolean;
2591
+ placeholder?: string;
2592
+ select?: "web" | "media" | "document" | null;
2593
+ customtypes?: readonly string[];
2594
+ masks?: readonly string[];
2595
+ tags?: readonly string[];
2596
+ allowTargetBlank?: boolean;
2597
+ };
2598
2598
  }) | ({
2599
2599
  type: "Number";
2600
2600
  } & {
2601
2601
  fieldset?: string | null | undefined;
2602
2602
  config?: {
2603
2603
  label?: string | null | undefined;
2604
- placeholder?: string | undefined;
2605
- min?: number | undefined;
2606
- max?: number | undefined;
2607
- step?: number | undefined;
2608
- } | undefined;
2604
+ placeholder?: string;
2605
+ min?: number;
2606
+ max?: number;
2607
+ step?: number;
2608
+ };
2609
2609
  }) | ({
2610
2610
  type: "Range";
2611
2611
  } & {
2612
2612
  fieldset?: string | null | undefined;
2613
2613
  config?: {
2614
2614
  label?: string | null | undefined;
2615
- placeholder?: string | undefined;
2616
- min?: number | undefined;
2617
- max?: number | undefined;
2618
- step?: number | undefined;
2619
- } | undefined;
2615
+ placeholder?: string;
2616
+ min?: number;
2617
+ max?: number;
2618
+ step?: number;
2619
+ };
2620
2620
  }) | ({
2621
2621
  type: "StructuredText";
2622
2622
  } & {
2623
2623
  fieldset?: string | null | undefined;
2624
2624
  config?: {
2625
2625
  label?: string | null | undefined;
2626
- placeholder?: string | undefined;
2627
- useAsTitle?: boolean | undefined;
2628
- single?: string | undefined;
2629
- multi?: string | undefined;
2626
+ placeholder?: string;
2627
+ useAsTitle?: boolean;
2628
+ single?: string;
2629
+ multi?: string;
2630
2630
  imageConstraint?: {
2631
- width?: number | null | undefined;
2632
- height?: number | null | undefined;
2633
- } | undefined;
2634
- labels?: readonly string[] | undefined;
2635
- allowTargetBlank?: boolean | undefined;
2636
- } | undefined;
2631
+ width?: number | null;
2632
+ height?: number | null;
2633
+ };
2634
+ labels?: readonly string[];
2635
+ allowTargetBlank?: boolean;
2636
+ };
2637
2637
  }) | ({
2638
2638
  type: "Select";
2639
2639
  } & {
2640
2640
  fieldset?: string | null | undefined;
2641
2641
  config?: {
2642
2642
  label?: string | null | undefined;
2643
- placeholder?: string | undefined;
2644
- default_value?: string | undefined;
2645
- options?: readonly string[] | undefined;
2646
- } | undefined;
2643
+ placeholder?: string;
2644
+ default_value?: string;
2645
+ options?: readonly string[];
2646
+ };
2647
2647
  }) | ({
2648
2648
  type: "Separator";
2649
2649
  } & {
2650
2650
  config?: {
2651
2651
  label?: string | null | undefined;
2652
- } | undefined;
2652
+ };
2653
2653
  }) | ({
2654
2654
  type: "Text";
2655
2655
  } & {
2656
2656
  fieldset?: string | null | undefined;
2657
2657
  config?: {
2658
2658
  label?: string | null | undefined;
2659
- useAsTitle?: boolean | undefined;
2660
- placeholder?: string | undefined;
2661
- } | undefined;
2659
+ useAsTitle?: boolean;
2660
+ placeholder?: string;
2661
+ };
2662
2662
  }) | ({
2663
2663
  type: "Timestamp";
2664
2664
  } & {
2665
2665
  fieldset?: string | null | undefined;
2666
2666
  config?: {
2667
2667
  label?: string | null | undefined;
2668
- placeholder?: string | undefined;
2669
- default?: string | undefined;
2670
- } | undefined;
2668
+ placeholder?: string;
2669
+ default?: string;
2670
+ };
2671
2671
  });
2672
- } | undefined;
2673
- } | undefined;
2672
+ };
2673
+ };
2674
2674
  }) | {
2675
2675
  type: "SharedSlice";
2676
2676
  };
2677
- } | undefined;
2678
- } | undefined;
2677
+ };
2678
+ };
2679
2679
  }, unknown, unknown>]>;
2680
2680
  export declare type DynamicWidget = t.TypeOf<typeof DynamicWidget>;
2681
2681
  export declare const Widgets: {