@prismicio/types-internal 2.1.0-alpha.4 → 2.2.0-alpha.1
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/lib/common/HexaColorCode.d.ts +4 -0
- package/lib/common/HexaColorCode.js +7 -0
- package/lib/content/Document.d.ts +1 -1
- package/lib/customtypes/CustomType.d.ts +875 -923
- package/lib/customtypes/CustomType.js +74 -13
- package/lib/customtypes/Section.d.ts +866 -924
- package/lib/customtypes/Section.js +1 -23
- package/lib/customtypes/diff/SharedSlice.d.ts +168 -184
- package/lib/customtypes/diff/Variation.d.ts +167 -183
- package/lib/customtypes/widgets/Group.d.ts +2 -20
- package/lib/customtypes/widgets/Group.js +1 -20
- package/lib/customtypes/widgets/Widget.d.ts +733 -821
- package/lib/customtypes/widgets/nestable/{Link/index.d.ts → Link.d.ts} +2 -19
- package/lib/customtypes/widgets/nestable/{Link/index.js → Link.js} +2 -4
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +158 -9
- package/lib/customtypes/widgets/nestable/NestableWidget.js +17 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -20
- package/lib/customtypes/widgets/slices/CompositeSlice.js +1 -26
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -18
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -38
- package/lib/customtypes/widgets/slices/SharedSlice.js +1 -35
- package/lib/customtypes/widgets/slices/Slices.d.ts +801 -947
- package/lib/customtypes/widgets/slices/Slices.js +1 -34
- package/lib/import/converters/Document.d.ts +3 -0
- package/lib/import/converters/Document.js +17 -0
- package/lib/import/converters/fields/index.d.ts +1 -0
- package/lib/import/converters/fields/index.js +4 -0
- package/lib/import/converters/fields/nestable/Color.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Color.js +10 -0
- package/lib/import/converters/fields/nestable/Date.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Date.js +15 -0
- package/lib/import/converters/fields/nestable/Nestable.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Nestable.js +23 -0
- package/lib/import/converters/fields/nestable/Number.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Number.js +10 -0
- package/lib/import/converters/fields/nestable/Select.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Select.js +10 -0
- package/lib/import/converters/fields/nestable/Text.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Text.js +10 -0
- package/lib/import/converters/fields/nestable/Timestamp.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Timestamp.js +10 -0
- package/lib/import/converters/fields/nestable/index.d.ts +7 -0
- package/lib/import/converters/fields/nestable/index.js +10 -0
- package/lib/import/converters/fields/utils.d.ts +1 -0
- package/lib/import/converters/fields/utils.js +10 -0
- package/lib/import/converters/index.d.ts +2 -0
- package/lib/import/converters/index.js +5 -0
- package/lib/import/index.d.ts +2 -0
- package/lib/import/index.js +5 -0
- package/lib/import/validators/Document.d.ts +6 -0
- package/lib/import/validators/Document.js +72 -0
- package/lib/import/validators/fields/index.d.ts +6 -0
- package/lib/import/validators/fields/index.js +4 -0
- package/lib/import/validators/fields/nestable/Color.d.ts +5 -0
- package/lib/import/validators/fields/nestable/Color.js +15 -0
- package/lib/import/validators/fields/nestable/Date.d.ts +4 -0
- package/lib/import/validators/fields/nestable/Date.js +17 -0
- package/lib/import/validators/fields/nestable/Nestable.d.ts +9 -0
- package/lib/import/validators/fields/nestable/Nestable.js +34 -0
- package/lib/import/validators/fields/nestable/Number.d.ts +10 -0
- package/lib/import/validators/fields/nestable/Number.js +16 -0
- package/lib/import/validators/fields/nestable/Select.d.ts +9 -0
- package/lib/import/validators/fields/nestable/Select.js +17 -0
- package/lib/import/validators/fields/nestable/Text.d.ts +3 -0
- package/lib/import/validators/fields/nestable/Text.js +5 -0
- package/lib/import/validators/fields/nestable/Timestamp.d.ts +5 -0
- package/lib/import/validators/fields/nestable/Timestamp.js +17 -0
- package/lib/import/validators/fields/nestable/index.d.ts +7 -0
- package/lib/import/validators/fields/nestable/index.js +10 -0
- package/lib/import/validators/index.d.ts +2 -0
- package/lib/import/validators/index.js +5 -0
- package/lib/utils/Objects.d.ts +1 -0
- package/lib/utils/Objects.js +9 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +2 -1
- package/lib/validators/BasicTypes.d.ts +3 -0
- package/lib/validators/BasicTypes.js +8 -0
- package/lib/validators/DateFromString.js +2 -1
- package/lib/validators/NullOrT.d.ts +2 -0
- package/lib/validators/NullOrT.js +13 -0
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/index.js +2 -0
- package/package.json +1 -1
- package/src/common/HexaColorCode.ts +11 -0
- package/src/customtypes/CustomType.ts +97 -24
- package/src/customtypes/Section.ts +1 -28
- package/src/customtypes/widgets/Group.ts +0 -24
- package/src/customtypes/widgets/nestable/{Link/index.ts → Link.ts} +2 -5
- package/src/customtypes/widgets/nestable/NestableWidget.ts +17 -0
- package/src/customtypes/widgets/slices/CompositeSlice.ts +0 -33
- package/src/customtypes/widgets/slices/SharedSlice.ts +0 -47
- package/src/customtypes/widgets/slices/Slices.ts +1 -44
- package/src/import/converters/Document.ts +22 -0
- package/src/import/converters/fields/index.ts +1 -0
- package/src/import/converters/fields/nestable/Color.ts +12 -0
- package/src/import/converters/fields/nestable/Date.ts +18 -0
- package/src/import/converters/fields/nestable/Nestable.ts +33 -0
- package/src/import/converters/fields/nestable/Number.ts +12 -0
- package/src/import/converters/fields/nestable/Select.ts +12 -0
- package/src/import/converters/fields/nestable/Text.ts +12 -0
- package/src/import/converters/fields/nestable/Timestamp.ts +12 -0
- package/src/import/converters/fields/nestable/index.ts +7 -0
- package/src/import/converters/fields/utils.ts +7 -0
- package/src/import/converters/index.ts +2 -0
- package/src/import/index.ts +2 -0
- package/src/import/validators/Document.ts +96 -0
- package/src/import/validators/fields/index.ts +8 -0
- package/src/import/validators/fields/nestable/Color.ts +28 -0
- package/src/import/validators/fields/nestable/Date.ts +35 -0
- package/src/import/validators/fields/nestable/Nestable.ts +41 -0
- package/src/import/validators/fields/nestable/Number.ts +36 -0
- package/src/import/validators/fields/nestable/Select.ts +36 -0
- package/src/import/validators/fields/nestable/Text.ts +7 -0
- package/src/import/validators/fields/nestable/Timestamp.ts +36 -0
- package/src/import/validators/fields/nestable/index.ts +7 -0
- package/src/import/validators/index.ts +2 -0
- package/src/utils/Objects.ts +8 -0
- package/src/utils/index.ts +1 -0
- package/src/validators/BasicTypes.ts +5 -0
- package/src/validators/DateFromString.ts +3 -1
- package/src/validators/NullOrT.ts +18 -0
- package/src/validators/index.ts +2 -0
- package/lib/customtypes/_internal/utils.d.ts +0 -3
- package/lib/customtypes/_internal/utils.js +0 -20
- package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.d.ts +0 -11
- package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.js +0 -15
- package/lib/validators/StringOrT.d.ts +0 -3
- package/lib/validators/StringOrT.js +0 -15
- package/src/customtypes/_internal/utils.ts +0 -25
- package/src/customtypes/widgets/nestable/Link/ContentRelationshipResolver.ts +0 -20
- package/src/validators/StringOrT.ts +0 -21
|
@@ -134,15 +134,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
134
134
|
useAsTitle: t.BooleanC;
|
|
135
135
|
placeholder: t.StringC;
|
|
136
136
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
137
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
138
|
-
customTypeId: string;
|
|
139
|
-
} & {
|
|
140
|
-
fetchFields?: boolean;
|
|
141
|
-
}, {
|
|
142
|
-
customTypeId: string;
|
|
143
|
-
} & {
|
|
144
|
-
fetchFields?: boolean;
|
|
145
|
-
}, unknown>>;
|
|
137
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
146
138
|
masks: t.Type<readonly string[], object, unknown>;
|
|
147
139
|
tags: t.Type<readonly string[], object, unknown>;
|
|
148
140
|
allowTargetBlank: t.BooleanC;
|
|
@@ -307,15 +299,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
307
299
|
useAsTitle: t.BooleanC;
|
|
308
300
|
placeholder: t.StringC;
|
|
309
301
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
310
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
311
|
-
customTypeId: string;
|
|
312
|
-
} & {
|
|
313
|
-
fetchFields?: boolean;
|
|
314
|
-
}, {
|
|
315
|
-
customTypeId: string;
|
|
316
|
-
} & {
|
|
317
|
-
fetchFields?: boolean;
|
|
318
|
-
}, unknown>>;
|
|
302
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
319
303
|
masks: t.Type<readonly string[], object, unknown>;
|
|
320
304
|
tags: t.Type<readonly string[], object, unknown>;
|
|
321
305
|
allowTargetBlank: t.BooleanC;
|
|
@@ -483,15 +467,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
483
467
|
useAsTitle: t.BooleanC;
|
|
484
468
|
placeholder: t.StringC;
|
|
485
469
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
486
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
487
|
-
customTypeId: string;
|
|
488
|
-
} & {
|
|
489
|
-
fetchFields?: boolean;
|
|
490
|
-
}, {
|
|
491
|
-
customTypeId: string;
|
|
492
|
-
} & {
|
|
493
|
-
fetchFields?: boolean;
|
|
494
|
-
}, unknown>>;
|
|
470
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
495
471
|
masks: t.Type<readonly string[], object, unknown>;
|
|
496
472
|
tags: t.Type<readonly string[], object, unknown>;
|
|
497
473
|
allowTargetBlank: t.BooleanC;
|
|
@@ -656,15 +632,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
656
632
|
useAsTitle: t.BooleanC;
|
|
657
633
|
placeholder: t.StringC;
|
|
658
634
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
659
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
660
|
-
customTypeId: string;
|
|
661
|
-
} & {
|
|
662
|
-
fetchFields?: boolean;
|
|
663
|
-
}, {
|
|
664
|
-
customTypeId: string;
|
|
665
|
-
} & {
|
|
666
|
-
fetchFields?: boolean;
|
|
667
|
-
}, unknown>>;
|
|
635
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
668
636
|
masks: t.Type<readonly string[], object, unknown>;
|
|
669
637
|
tags: t.Type<readonly string[], object, unknown>;
|
|
670
638
|
allowTargetBlank: t.BooleanC;
|
|
@@ -699,7 +667,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
699
667
|
}>]>>]>>;
|
|
700
668
|
}>>;
|
|
701
669
|
}>]>>, t.Type<{
|
|
702
|
-
type: "
|
|
670
|
+
type: "Choice" | "Slices";
|
|
703
671
|
} & {
|
|
704
672
|
fieldset?: string | null | undefined;
|
|
705
673
|
config?: {
|
|
@@ -713,6 +681,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
713
681
|
} | null;
|
|
714
682
|
choices?: {
|
|
715
683
|
[x: string]: ({
|
|
684
|
+
type: "Boolean";
|
|
685
|
+
} & {
|
|
686
|
+
config?: {
|
|
687
|
+
label?: string | null | undefined;
|
|
688
|
+
default_value?: boolean;
|
|
689
|
+
placeholder_true?: string;
|
|
690
|
+
placeholder_false?: string;
|
|
691
|
+
};
|
|
692
|
+
}) | ({
|
|
716
693
|
type: "Color";
|
|
717
694
|
} & {
|
|
718
695
|
fieldset?: string | null | undefined;
|
|
@@ -721,13 +698,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
721
698
|
placeholder?: string;
|
|
722
699
|
};
|
|
723
700
|
}) | ({
|
|
724
|
-
type: "
|
|
701
|
+
type: "Date";
|
|
725
702
|
} & {
|
|
703
|
+
fieldset?: string | null | undefined;
|
|
726
704
|
config?: {
|
|
727
705
|
label?: string | null | undefined;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
placeholder_false?: string;
|
|
706
|
+
placeholder?: string;
|
|
707
|
+
default?: string;
|
|
731
708
|
};
|
|
732
709
|
}) | ({
|
|
733
710
|
type: "Embed";
|
|
@@ -746,13 +723,45 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
746
723
|
label?: string | null | undefined;
|
|
747
724
|
};
|
|
748
725
|
}) | ({
|
|
749
|
-
type: "
|
|
726
|
+
type: "Image";
|
|
750
727
|
} & {
|
|
751
728
|
fieldset?: string | null | undefined;
|
|
752
729
|
config?: {
|
|
753
730
|
label?: string | null | undefined;
|
|
754
731
|
placeholder?: string;
|
|
755
|
-
|
|
732
|
+
constraint?: {
|
|
733
|
+
width?: number | null;
|
|
734
|
+
height?: number | null;
|
|
735
|
+
};
|
|
736
|
+
thumbnails?: readonly ({
|
|
737
|
+
name: string;
|
|
738
|
+
} & {
|
|
739
|
+
width?: number | null;
|
|
740
|
+
height?: number | null;
|
|
741
|
+
})[];
|
|
742
|
+
};
|
|
743
|
+
}) | ({
|
|
744
|
+
type: "IntegrationFields";
|
|
745
|
+
} & {
|
|
746
|
+
fieldset?: string | null | undefined;
|
|
747
|
+
config?: {
|
|
748
|
+
label?: string | null | undefined;
|
|
749
|
+
placeholder?: string;
|
|
750
|
+
catalog?: string;
|
|
751
|
+
};
|
|
752
|
+
}) | ({
|
|
753
|
+
type: "Link";
|
|
754
|
+
} & {
|
|
755
|
+
fieldset?: string | null | undefined;
|
|
756
|
+
config?: {
|
|
757
|
+
label?: string | null | undefined;
|
|
758
|
+
useAsTitle?: boolean;
|
|
759
|
+
placeholder?: string;
|
|
760
|
+
select?: "media" | "document" | "web" | null;
|
|
761
|
+
customtypes?: readonly string[];
|
|
762
|
+
masks?: readonly string[];
|
|
763
|
+
tags?: readonly string[];
|
|
764
|
+
allowTargetBlank?: boolean;
|
|
756
765
|
};
|
|
757
766
|
}) | ({
|
|
758
767
|
type: "Number";
|
|
@@ -828,73 +837,16 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
828
837
|
default?: string;
|
|
829
838
|
};
|
|
830
839
|
}) | ({
|
|
831
|
-
type: "
|
|
832
|
-
} & {
|
|
833
|
-
fieldset?: string | null | undefined;
|
|
834
|
-
config?: {
|
|
835
|
-
label?: string | null | undefined;
|
|
836
|
-
useAsTitle?: boolean;
|
|
837
|
-
placeholder?: string;
|
|
838
|
-
select?: "media" | "document" | "web" | null;
|
|
839
|
-
customtypes?: readonly ({
|
|
840
|
-
customTypeId: string;
|
|
841
|
-
} & {
|
|
842
|
-
fetchFields?: boolean;
|
|
843
|
-
})[];
|
|
844
|
-
masks?: readonly string[];
|
|
845
|
-
tags?: readonly string[];
|
|
846
|
-
allowTargetBlank?: boolean;
|
|
847
|
-
};
|
|
848
|
-
}) | ({
|
|
849
|
-
type: "Image";
|
|
850
|
-
} & {
|
|
851
|
-
fieldset?: string | null | undefined;
|
|
852
|
-
config?: {
|
|
853
|
-
label?: string | null | undefined;
|
|
854
|
-
placeholder?: string;
|
|
855
|
-
constraint?: {
|
|
856
|
-
width?: number | null;
|
|
857
|
-
height?: number | null;
|
|
858
|
-
};
|
|
859
|
-
thumbnails?: readonly ({
|
|
860
|
-
name: string;
|
|
861
|
-
} & {
|
|
862
|
-
width?: number | null;
|
|
863
|
-
height?: number | null;
|
|
864
|
-
})[];
|
|
865
|
-
};
|
|
866
|
-
}) | ({
|
|
867
|
-
type: "IntegrationFields";
|
|
840
|
+
type: "Group";
|
|
868
841
|
} & {
|
|
869
842
|
fieldset?: string | null | undefined;
|
|
843
|
+
icon?: string;
|
|
844
|
+
description?: string;
|
|
870
845
|
config?: {
|
|
871
846
|
label?: string | null | undefined;
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
};
|
|
875
|
-
}) | ({
|
|
876
|
-
id: string;
|
|
877
|
-
type: "SharedSlice";
|
|
878
|
-
name: string;
|
|
879
|
-
variations: readonly ({
|
|
880
|
-
id: string;
|
|
881
|
-
name: string;
|
|
882
|
-
description: string;
|
|
883
|
-
imageUrl: string;
|
|
884
|
-
docURL: string;
|
|
885
|
-
version: string;
|
|
886
|
-
} & {
|
|
887
|
-
display?: string;
|
|
888
|
-
primary?: {
|
|
847
|
+
repeat?: boolean;
|
|
848
|
+
fields?: {
|
|
889
849
|
[x: string]: ({
|
|
890
|
-
type: "Color";
|
|
891
|
-
} & {
|
|
892
|
-
fieldset?: string | null | undefined;
|
|
893
|
-
config?: {
|
|
894
|
-
label?: string | null | undefined;
|
|
895
|
-
placeholder?: string;
|
|
896
|
-
};
|
|
897
|
-
}) | ({
|
|
898
850
|
type: "Boolean";
|
|
899
851
|
} & {
|
|
900
852
|
config?: {
|
|
@@ -904,20 +856,12 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
904
856
|
placeholder_false?: string;
|
|
905
857
|
};
|
|
906
858
|
}) | ({
|
|
907
|
-
type: "
|
|
859
|
+
type: "Color";
|
|
908
860
|
} & {
|
|
909
861
|
fieldset?: string | null | undefined;
|
|
910
862
|
config?: {
|
|
911
863
|
label?: string | null | undefined;
|
|
912
864
|
placeholder?: string;
|
|
913
|
-
useAsTitle?: boolean;
|
|
914
|
-
};
|
|
915
|
-
}) | ({
|
|
916
|
-
type: "GeoPoint";
|
|
917
|
-
} & {
|
|
918
|
-
fieldset?: string | null | undefined;
|
|
919
|
-
config?: {
|
|
920
|
-
label?: string | null | undefined;
|
|
921
865
|
};
|
|
922
866
|
}) | ({
|
|
923
867
|
type: "Date";
|
|
@@ -929,95 +873,20 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
929
873
|
default?: string;
|
|
930
874
|
};
|
|
931
875
|
}) | ({
|
|
932
|
-
type: "
|
|
933
|
-
} & {
|
|
934
|
-
fieldset?: string | null | undefined;
|
|
935
|
-
config?: {
|
|
936
|
-
label?: string | null | undefined;
|
|
937
|
-
placeholder?: string;
|
|
938
|
-
min?: number;
|
|
939
|
-
max?: number;
|
|
940
|
-
step?: number;
|
|
941
|
-
};
|
|
942
|
-
}) | ({
|
|
943
|
-
type: "Range";
|
|
944
|
-
} & {
|
|
945
|
-
fieldset?: string | null | undefined;
|
|
946
|
-
config?: {
|
|
947
|
-
label?: string | null | undefined;
|
|
948
|
-
placeholder?: string;
|
|
949
|
-
min?: number;
|
|
950
|
-
max?: number;
|
|
951
|
-
step?: number;
|
|
952
|
-
};
|
|
953
|
-
}) | ({
|
|
954
|
-
type: "StructuredText";
|
|
955
|
-
} & {
|
|
956
|
-
fieldset?: string | null | undefined;
|
|
957
|
-
config?: {
|
|
958
|
-
label?: string | null | undefined;
|
|
959
|
-
placeholder?: string;
|
|
960
|
-
useAsTitle?: boolean;
|
|
961
|
-
single?: string;
|
|
962
|
-
multi?: string;
|
|
963
|
-
imageConstraint?: {
|
|
964
|
-
width?: number | null;
|
|
965
|
-
height?: number | null;
|
|
966
|
-
};
|
|
967
|
-
labels?: readonly string[];
|
|
968
|
-
allowTargetBlank?: boolean;
|
|
969
|
-
};
|
|
970
|
-
}) | ({
|
|
971
|
-
type: "Select";
|
|
876
|
+
type: "Embed";
|
|
972
877
|
} & {
|
|
973
878
|
fieldset?: string | null | undefined;
|
|
974
879
|
config?: {
|
|
975
880
|
label?: string | null | undefined;
|
|
976
881
|
placeholder?: string;
|
|
977
|
-
default_value?: string;
|
|
978
|
-
options?: readonly string[];
|
|
979
|
-
};
|
|
980
|
-
}) | ({
|
|
981
|
-
type: "Separator";
|
|
982
|
-
} & {
|
|
983
|
-
config?: {
|
|
984
|
-
label?: string | null | undefined;
|
|
985
|
-
};
|
|
986
|
-
}) | ({
|
|
987
|
-
type: "Text";
|
|
988
|
-
} & {
|
|
989
|
-
fieldset?: string | null | undefined;
|
|
990
|
-
config?: {
|
|
991
|
-
label?: string | null | undefined;
|
|
992
882
|
useAsTitle?: boolean;
|
|
993
|
-
placeholder?: string;
|
|
994
|
-
};
|
|
995
|
-
}) | ({
|
|
996
|
-
type: "Timestamp";
|
|
997
|
-
} & {
|
|
998
|
-
fieldset?: string | null | undefined;
|
|
999
|
-
config?: {
|
|
1000
|
-
label?: string | null | undefined;
|
|
1001
|
-
placeholder?: string;
|
|
1002
|
-
default?: string;
|
|
1003
883
|
};
|
|
1004
884
|
}) | ({
|
|
1005
|
-
type: "
|
|
885
|
+
type: "GeoPoint";
|
|
1006
886
|
} & {
|
|
1007
887
|
fieldset?: string | null | undefined;
|
|
1008
888
|
config?: {
|
|
1009
889
|
label?: string | null | undefined;
|
|
1010
|
-
useAsTitle?: boolean;
|
|
1011
|
-
placeholder?: string;
|
|
1012
|
-
select?: "media" | "document" | "web" | null;
|
|
1013
|
-
customtypes?: readonly ({
|
|
1014
|
-
customTypeId: string;
|
|
1015
|
-
} & {
|
|
1016
|
-
fetchFields?: boolean;
|
|
1017
|
-
})[];
|
|
1018
|
-
masks?: readonly string[];
|
|
1019
|
-
tags?: readonly string[];
|
|
1020
|
-
allowTargetBlank?: boolean;
|
|
1021
890
|
};
|
|
1022
891
|
}) | ({
|
|
1023
892
|
type: "Image";
|
|
@@ -1046,50 +915,19 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1046
915
|
placeholder?: string;
|
|
1047
916
|
catalog?: string;
|
|
1048
917
|
};
|
|
1049
|
-
});
|
|
1050
|
-
};
|
|
1051
|
-
items?: {
|
|
1052
|
-
[x: string]: ({
|
|
1053
|
-
type: "Color";
|
|
1054
|
-
} & {
|
|
1055
|
-
fieldset?: string | null | undefined;
|
|
1056
|
-
config?: {
|
|
1057
|
-
label?: string | null | undefined;
|
|
1058
|
-
placeholder?: string;
|
|
1059
|
-
};
|
|
1060
|
-
}) | ({
|
|
1061
|
-
type: "Boolean";
|
|
1062
|
-
} & {
|
|
1063
|
-
config?: {
|
|
1064
|
-
label?: string | null | undefined;
|
|
1065
|
-
default_value?: boolean;
|
|
1066
|
-
placeholder_true?: string;
|
|
1067
|
-
placeholder_false?: string;
|
|
1068
|
-
};
|
|
1069
918
|
}) | ({
|
|
1070
|
-
type: "
|
|
919
|
+
type: "Link";
|
|
1071
920
|
} & {
|
|
1072
921
|
fieldset?: string | null | undefined;
|
|
1073
922
|
config?: {
|
|
1074
923
|
label?: string | null | undefined;
|
|
1075
|
-
placeholder?: string;
|
|
1076
924
|
useAsTitle?: boolean;
|
|
1077
|
-
};
|
|
1078
|
-
}) | ({
|
|
1079
|
-
type: "GeoPoint";
|
|
1080
|
-
} & {
|
|
1081
|
-
fieldset?: string | null | undefined;
|
|
1082
|
-
config?: {
|
|
1083
|
-
label?: string | null | undefined;
|
|
1084
|
-
};
|
|
1085
|
-
}) | ({
|
|
1086
|
-
type: "Date";
|
|
1087
|
-
} & {
|
|
1088
|
-
fieldset?: string | null | undefined;
|
|
1089
|
-
config?: {
|
|
1090
|
-
label?: string | null | undefined;
|
|
1091
925
|
placeholder?: string;
|
|
1092
|
-
|
|
926
|
+
select?: "media" | "document" | "web" | null;
|
|
927
|
+
customtypes?: readonly string[];
|
|
928
|
+
masks?: readonly string[];
|
|
929
|
+
tags?: readonly string[];
|
|
930
|
+
allowTargetBlank?: boolean;
|
|
1093
931
|
};
|
|
1094
932
|
}) | ({
|
|
1095
933
|
type: "Number";
|
|
@@ -1164,226 +1002,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1164
1002
|
placeholder?: string;
|
|
1165
1003
|
default?: string;
|
|
1166
1004
|
};
|
|
1167
|
-
}) | ({
|
|
1168
|
-
type: "Link";
|
|
1169
|
-
} & {
|
|
1170
|
-
fieldset?: string | null | undefined;
|
|
1171
|
-
config?: {
|
|
1172
|
-
label?: string | null | undefined;
|
|
1173
|
-
useAsTitle?: boolean;
|
|
1174
|
-
placeholder?: string;
|
|
1175
|
-
select?: "media" | "document" | "web" | null;
|
|
1176
|
-
customtypes?: readonly ({
|
|
1177
|
-
customTypeId: string;
|
|
1178
|
-
} & {
|
|
1179
|
-
fetchFields?: boolean;
|
|
1180
|
-
})[];
|
|
1181
|
-
masks?: readonly string[];
|
|
1182
|
-
tags?: readonly string[];
|
|
1183
|
-
allowTargetBlank?: boolean;
|
|
1184
|
-
};
|
|
1185
|
-
}) | ({
|
|
1186
|
-
type: "Image";
|
|
1187
|
-
} & {
|
|
1188
|
-
fieldset?: string | null | undefined;
|
|
1189
|
-
config?: {
|
|
1190
|
-
label?: string | null | undefined;
|
|
1191
|
-
placeholder?: string;
|
|
1192
|
-
constraint?: {
|
|
1193
|
-
width?: number | null;
|
|
1194
|
-
height?: number | null;
|
|
1195
|
-
};
|
|
1196
|
-
thumbnails?: readonly ({
|
|
1197
|
-
name: string;
|
|
1198
|
-
} & {
|
|
1199
|
-
width?: number | null;
|
|
1200
|
-
height?: number | null;
|
|
1201
|
-
})[];
|
|
1202
|
-
};
|
|
1203
|
-
}) | ({
|
|
1204
|
-
type: "IntegrationFields";
|
|
1205
|
-
} & {
|
|
1206
|
-
fieldset?: string | null | undefined;
|
|
1207
|
-
config?: {
|
|
1208
|
-
label?: string | null | undefined;
|
|
1209
|
-
placeholder?: string;
|
|
1210
|
-
catalog?: string;
|
|
1211
|
-
};
|
|
1212
|
-
});
|
|
1213
|
-
};
|
|
1214
|
-
})[];
|
|
1215
|
-
} & {
|
|
1216
|
-
description?: string;
|
|
1217
|
-
}) | ({
|
|
1218
|
-
type: "Group";
|
|
1219
|
-
} & {
|
|
1220
|
-
fieldset?: string | null | undefined;
|
|
1221
|
-
icon?: string;
|
|
1222
|
-
description?: string;
|
|
1223
|
-
config?: {
|
|
1224
|
-
label?: string | null | undefined;
|
|
1225
|
-
repeat?: boolean;
|
|
1226
|
-
fields?: {
|
|
1227
|
-
[x: string]: ({
|
|
1228
|
-
type: "Color";
|
|
1229
|
-
} & {
|
|
1230
|
-
fieldset?: string | null | undefined;
|
|
1231
|
-
config?: {
|
|
1232
|
-
label?: string | null | undefined;
|
|
1233
|
-
placeholder?: string;
|
|
1234
|
-
};
|
|
1235
|
-
}) | ({
|
|
1236
|
-
type: "Boolean";
|
|
1237
|
-
} & {
|
|
1238
|
-
config?: {
|
|
1239
|
-
label?: string | null | undefined;
|
|
1240
|
-
default_value?: boolean;
|
|
1241
|
-
placeholder_true?: string;
|
|
1242
|
-
placeholder_false?: string;
|
|
1243
|
-
};
|
|
1244
|
-
}) | ({
|
|
1245
|
-
type: "Embed";
|
|
1246
|
-
} & {
|
|
1247
|
-
fieldset?: string | null | undefined;
|
|
1248
|
-
config?: {
|
|
1249
|
-
label?: string | null | undefined;
|
|
1250
|
-
placeholder?: string;
|
|
1251
|
-
useAsTitle?: boolean;
|
|
1252
|
-
};
|
|
1253
|
-
}) | ({
|
|
1254
|
-
type: "GeoPoint";
|
|
1255
|
-
} & {
|
|
1256
|
-
fieldset?: string | null | undefined;
|
|
1257
|
-
config?: {
|
|
1258
|
-
label?: string | null | undefined;
|
|
1259
|
-
};
|
|
1260
|
-
}) | ({
|
|
1261
|
-
type: "Date";
|
|
1262
|
-
} & {
|
|
1263
|
-
fieldset?: string | null | undefined;
|
|
1264
|
-
config?: {
|
|
1265
|
-
label?: string | null | undefined;
|
|
1266
|
-
placeholder?: string;
|
|
1267
|
-
default?: string;
|
|
1268
|
-
};
|
|
1269
|
-
}) | ({
|
|
1270
|
-
type: "Number";
|
|
1271
|
-
} & {
|
|
1272
|
-
fieldset?: string | null | undefined;
|
|
1273
|
-
config?: {
|
|
1274
|
-
label?: string | null | undefined;
|
|
1275
|
-
placeholder?: string;
|
|
1276
|
-
min?: number;
|
|
1277
|
-
max?: number;
|
|
1278
|
-
step?: number;
|
|
1279
|
-
};
|
|
1280
|
-
}) | ({
|
|
1281
|
-
type: "Range";
|
|
1282
|
-
} & {
|
|
1283
|
-
fieldset?: string | null | undefined;
|
|
1284
|
-
config?: {
|
|
1285
|
-
label?: string | null | undefined;
|
|
1286
|
-
placeholder?: string;
|
|
1287
|
-
min?: number;
|
|
1288
|
-
max?: number;
|
|
1289
|
-
step?: number;
|
|
1290
|
-
};
|
|
1291
|
-
}) | ({
|
|
1292
|
-
type: "StructuredText";
|
|
1293
|
-
} & {
|
|
1294
|
-
fieldset?: string | null | undefined;
|
|
1295
|
-
config?: {
|
|
1296
|
-
label?: string | null | undefined;
|
|
1297
|
-
placeholder?: string;
|
|
1298
|
-
useAsTitle?: boolean;
|
|
1299
|
-
single?: string;
|
|
1300
|
-
multi?: string;
|
|
1301
|
-
imageConstraint?: {
|
|
1302
|
-
width?: number | null;
|
|
1303
|
-
height?: number | null;
|
|
1304
|
-
};
|
|
1305
|
-
labels?: readonly string[];
|
|
1306
|
-
allowTargetBlank?: boolean;
|
|
1307
|
-
};
|
|
1308
|
-
}) | ({
|
|
1309
|
-
type: "Select";
|
|
1310
|
-
} & {
|
|
1311
|
-
fieldset?: string | null | undefined;
|
|
1312
|
-
config?: {
|
|
1313
|
-
label?: string | null | undefined;
|
|
1314
|
-
placeholder?: string;
|
|
1315
|
-
default_value?: string;
|
|
1316
|
-
options?: readonly string[];
|
|
1317
|
-
};
|
|
1318
|
-
}) | ({
|
|
1319
|
-
type: "Separator";
|
|
1320
|
-
} & {
|
|
1321
|
-
config?: {
|
|
1322
|
-
label?: string | null | undefined;
|
|
1323
|
-
};
|
|
1324
|
-
}) | ({
|
|
1325
|
-
type: "Text";
|
|
1326
|
-
} & {
|
|
1327
|
-
fieldset?: string | null | undefined;
|
|
1328
|
-
config?: {
|
|
1329
|
-
label?: string | null | undefined;
|
|
1330
|
-
useAsTitle?: boolean;
|
|
1331
|
-
placeholder?: string;
|
|
1332
|
-
};
|
|
1333
|
-
}) | ({
|
|
1334
|
-
type: "Timestamp";
|
|
1335
|
-
} & {
|
|
1336
|
-
fieldset?: string | null | undefined;
|
|
1337
|
-
config?: {
|
|
1338
|
-
label?: string | null | undefined;
|
|
1339
|
-
placeholder?: string;
|
|
1340
|
-
default?: string;
|
|
1341
|
-
};
|
|
1342
|
-
}) | ({
|
|
1343
|
-
type: "Link";
|
|
1344
|
-
} & {
|
|
1345
|
-
fieldset?: string | null | undefined;
|
|
1346
|
-
config?: {
|
|
1347
|
-
label?: string | null | undefined;
|
|
1348
|
-
useAsTitle?: boolean;
|
|
1349
|
-
placeholder?: string;
|
|
1350
|
-
select?: "media" | "document" | "web" | null;
|
|
1351
|
-
customtypes?: readonly ({
|
|
1352
|
-
customTypeId: string;
|
|
1353
|
-
} & {
|
|
1354
|
-
fetchFields?: boolean;
|
|
1355
|
-
})[];
|
|
1356
|
-
masks?: readonly string[];
|
|
1357
|
-
tags?: readonly string[];
|
|
1358
|
-
allowTargetBlank?: boolean;
|
|
1359
|
-
};
|
|
1360
|
-
}) | ({
|
|
1361
|
-
type: "Image";
|
|
1362
|
-
} & {
|
|
1363
|
-
fieldset?: string | null | undefined;
|
|
1364
|
-
config?: {
|
|
1365
|
-
label?: string | null | undefined;
|
|
1366
|
-
placeholder?: string;
|
|
1367
|
-
constraint?: {
|
|
1368
|
-
width?: number | null;
|
|
1369
|
-
height?: number | null;
|
|
1370
|
-
};
|
|
1371
|
-
thumbnails?: readonly ({
|
|
1372
|
-
name: string;
|
|
1373
|
-
} & {
|
|
1374
|
-
width?: number | null;
|
|
1375
|
-
height?: number | null;
|
|
1376
|
-
})[];
|
|
1377
|
-
};
|
|
1378
|
-
}) | ({
|
|
1379
|
-
type: "IntegrationFields";
|
|
1380
|
-
} & {
|
|
1381
|
-
fieldset?: string | null | undefined;
|
|
1382
|
-
config?: {
|
|
1383
|
-
label?: string | null | undefined;
|
|
1384
|
-
placeholder?: string;
|
|
1385
|
-
catalog?: string;
|
|
1386
|
-
};
|
|
1387
1005
|
});
|
|
1388
1006
|
};
|
|
1389
1007
|
};
|
|
@@ -1396,14 +1014,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1396
1014
|
display?: string;
|
|
1397
1015
|
"non-repeat"?: {
|
|
1398
1016
|
[x: string]: ({
|
|
1399
|
-
type: "Color";
|
|
1400
|
-
} & {
|
|
1401
|
-
fieldset?: string | null | undefined;
|
|
1402
|
-
config?: {
|
|
1403
|
-
label?: string | null | undefined;
|
|
1404
|
-
placeholder?: string;
|
|
1405
|
-
};
|
|
1406
|
-
}) | ({
|
|
1407
1017
|
type: "Boolean";
|
|
1408
1018
|
} & {
|
|
1409
1019
|
config?: {
|
|
@@ -1413,20 +1023,12 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1413
1023
|
placeholder_false?: string;
|
|
1414
1024
|
};
|
|
1415
1025
|
}) | ({
|
|
1416
|
-
type: "
|
|
1026
|
+
type: "Color";
|
|
1417
1027
|
} & {
|
|
1418
1028
|
fieldset?: string | null | undefined;
|
|
1419
1029
|
config?: {
|
|
1420
1030
|
label?: string | null | undefined;
|
|
1421
1031
|
placeholder?: string;
|
|
1422
|
-
useAsTitle?: boolean;
|
|
1423
|
-
};
|
|
1424
|
-
}) | ({
|
|
1425
|
-
type: "GeoPoint";
|
|
1426
|
-
} & {
|
|
1427
|
-
fieldset?: string | null | undefined;
|
|
1428
|
-
config?: {
|
|
1429
|
-
label?: string | null | undefined;
|
|
1430
1032
|
};
|
|
1431
1033
|
}) | ({
|
|
1432
1034
|
type: "Date";
|
|
@@ -1438,127 +1040,148 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1438
1040
|
default?: string;
|
|
1439
1041
|
};
|
|
1440
1042
|
}) | ({
|
|
1441
|
-
type: "
|
|
1043
|
+
type: "Embed";
|
|
1442
1044
|
} & {
|
|
1443
1045
|
fieldset?: string | null | undefined;
|
|
1444
1046
|
config?: {
|
|
1445
1047
|
label?: string | null | undefined;
|
|
1446
1048
|
placeholder?: string;
|
|
1447
|
-
|
|
1448
|
-
max?: number;
|
|
1449
|
-
step?: number;
|
|
1049
|
+
useAsTitle?: boolean;
|
|
1450
1050
|
};
|
|
1451
1051
|
}) | ({
|
|
1452
|
-
type: "
|
|
1052
|
+
type: "GeoPoint";
|
|
1453
1053
|
} & {
|
|
1454
1054
|
fieldset?: string | null | undefined;
|
|
1455
1055
|
config?: {
|
|
1456
1056
|
label?: string | null | undefined;
|
|
1457
|
-
placeholder?: string;
|
|
1458
|
-
min?: number;
|
|
1459
|
-
max?: number;
|
|
1460
|
-
step?: number;
|
|
1461
1057
|
};
|
|
1462
1058
|
}) | ({
|
|
1463
|
-
type: "
|
|
1059
|
+
type: "Image";
|
|
1464
1060
|
} & {
|
|
1465
1061
|
fieldset?: string | null | undefined;
|
|
1466
1062
|
config?: {
|
|
1467
1063
|
label?: string | null | undefined;
|
|
1468
1064
|
placeholder?: string;
|
|
1469
|
-
|
|
1470
|
-
single?: string;
|
|
1471
|
-
multi?: string;
|
|
1472
|
-
imageConstraint?: {
|
|
1065
|
+
constraint?: {
|
|
1473
1066
|
width?: number | null;
|
|
1474
1067
|
height?: number | null;
|
|
1475
1068
|
};
|
|
1476
|
-
|
|
1477
|
-
|
|
1069
|
+
thumbnails?: readonly ({
|
|
1070
|
+
name: string;
|
|
1071
|
+
} & {
|
|
1072
|
+
width?: number | null;
|
|
1073
|
+
height?: number | null;
|
|
1074
|
+
})[];
|
|
1478
1075
|
};
|
|
1479
1076
|
}) | ({
|
|
1480
|
-
type: "
|
|
1077
|
+
type: "IntegrationFields";
|
|
1481
1078
|
} & {
|
|
1482
1079
|
fieldset?: string | null | undefined;
|
|
1483
1080
|
config?: {
|
|
1484
1081
|
label?: string | null | undefined;
|
|
1485
1082
|
placeholder?: string;
|
|
1486
|
-
|
|
1487
|
-
options?: readonly string[];
|
|
1083
|
+
catalog?: string;
|
|
1488
1084
|
};
|
|
1489
1085
|
}) | ({
|
|
1490
|
-
type: "
|
|
1086
|
+
type: "Link";
|
|
1491
1087
|
} & {
|
|
1088
|
+
fieldset?: string | null | undefined;
|
|
1492
1089
|
config?: {
|
|
1493
1090
|
label?: string | null | undefined;
|
|
1091
|
+
useAsTitle?: boolean;
|
|
1092
|
+
placeholder?: string;
|
|
1093
|
+
select?: "media" | "document" | "web" | null;
|
|
1094
|
+
customtypes?: readonly string[];
|
|
1095
|
+
masks?: readonly string[];
|
|
1096
|
+
tags?: readonly string[];
|
|
1097
|
+
allowTargetBlank?: boolean;
|
|
1494
1098
|
};
|
|
1495
1099
|
}) | ({
|
|
1496
|
-
type: "
|
|
1100
|
+
type: "Number";
|
|
1497
1101
|
} & {
|
|
1498
1102
|
fieldset?: string | null | undefined;
|
|
1499
1103
|
config?: {
|
|
1500
1104
|
label?: string | null | undefined;
|
|
1501
|
-
useAsTitle?: boolean;
|
|
1502
1105
|
placeholder?: string;
|
|
1106
|
+
min?: number;
|
|
1107
|
+
max?: number;
|
|
1108
|
+
step?: number;
|
|
1503
1109
|
};
|
|
1504
1110
|
}) | ({
|
|
1505
|
-
type: "
|
|
1111
|
+
type: "Range";
|
|
1506
1112
|
} & {
|
|
1507
1113
|
fieldset?: string | null | undefined;
|
|
1508
1114
|
config?: {
|
|
1509
1115
|
label?: string | null | undefined;
|
|
1510
1116
|
placeholder?: string;
|
|
1511
|
-
|
|
1117
|
+
min?: number;
|
|
1118
|
+
max?: number;
|
|
1119
|
+
step?: number;
|
|
1512
1120
|
};
|
|
1513
1121
|
}) | ({
|
|
1514
|
-
type: "
|
|
1122
|
+
type: "StructuredText";
|
|
1515
1123
|
} & {
|
|
1516
1124
|
fieldset?: string | null | undefined;
|
|
1517
1125
|
config?: {
|
|
1518
1126
|
label?: string | null | undefined;
|
|
1519
|
-
useAsTitle?: boolean;
|
|
1520
1127
|
placeholder?: string;
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1128
|
+
useAsTitle?: boolean;
|
|
1129
|
+
single?: string;
|
|
1130
|
+
multi?: string;
|
|
1131
|
+
imageConstraint?: {
|
|
1132
|
+
width?: number | null;
|
|
1133
|
+
height?: number | null;
|
|
1134
|
+
};
|
|
1135
|
+
labels?: readonly string[];
|
|
1529
1136
|
allowTargetBlank?: boolean;
|
|
1530
1137
|
};
|
|
1531
1138
|
}) | ({
|
|
1532
|
-
type: "
|
|
1139
|
+
type: "Select";
|
|
1533
1140
|
} & {
|
|
1534
1141
|
fieldset?: string | null | undefined;
|
|
1535
1142
|
config?: {
|
|
1536
1143
|
label?: string | null | undefined;
|
|
1537
1144
|
placeholder?: string;
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
height?: number | null;
|
|
1541
|
-
};
|
|
1542
|
-
thumbnails?: readonly ({
|
|
1543
|
-
name: string;
|
|
1544
|
-
} & {
|
|
1545
|
-
width?: number | null;
|
|
1546
|
-
height?: number | null;
|
|
1547
|
-
})[];
|
|
1145
|
+
default_value?: string;
|
|
1146
|
+
options?: readonly string[];
|
|
1548
1147
|
};
|
|
1549
1148
|
}) | ({
|
|
1550
|
-
type: "
|
|
1149
|
+
type: "Separator";
|
|
1150
|
+
} & {
|
|
1151
|
+
config?: {
|
|
1152
|
+
label?: string | null | undefined;
|
|
1153
|
+
};
|
|
1154
|
+
}) | ({
|
|
1155
|
+
type: "Text";
|
|
1551
1156
|
} & {
|
|
1552
1157
|
fieldset?: string | null | undefined;
|
|
1553
1158
|
config?: {
|
|
1554
1159
|
label?: string | null | undefined;
|
|
1160
|
+
useAsTitle?: boolean;
|
|
1555
1161
|
placeholder?: string;
|
|
1556
|
-
|
|
1162
|
+
};
|
|
1163
|
+
}) | ({
|
|
1164
|
+
type: "Timestamp";
|
|
1165
|
+
} & {
|
|
1166
|
+
fieldset?: string | null | undefined;
|
|
1167
|
+
config?: {
|
|
1168
|
+
label?: string | null | undefined;
|
|
1169
|
+
placeholder?: string;
|
|
1170
|
+
default?: string;
|
|
1557
1171
|
};
|
|
1558
1172
|
});
|
|
1559
1173
|
};
|
|
1560
1174
|
repeat?: {
|
|
1561
1175
|
[x: string]: ({
|
|
1176
|
+
type: "Boolean";
|
|
1177
|
+
} & {
|
|
1178
|
+
config?: {
|
|
1179
|
+
label?: string | null | undefined;
|
|
1180
|
+
default_value?: boolean;
|
|
1181
|
+
placeholder_true?: string;
|
|
1182
|
+
placeholder_false?: string;
|
|
1183
|
+
};
|
|
1184
|
+
}) | ({
|
|
1562
1185
|
type: "Color";
|
|
1563
1186
|
} & {
|
|
1564
1187
|
fieldset?: string | null | undefined;
|
|
@@ -1567,13 +1190,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1567
1190
|
placeholder?: string;
|
|
1568
1191
|
};
|
|
1569
1192
|
}) | ({
|
|
1570
|
-
type: "
|
|
1193
|
+
type: "Date";
|
|
1571
1194
|
} & {
|
|
1195
|
+
fieldset?: string | null | undefined;
|
|
1572
1196
|
config?: {
|
|
1573
1197
|
label?: string | null | undefined;
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
placeholder_false?: string;
|
|
1198
|
+
placeholder?: string;
|
|
1199
|
+
default?: string;
|
|
1577
1200
|
};
|
|
1578
1201
|
}) | ({
|
|
1579
1202
|
type: "Embed";
|
|
@@ -1592,13 +1215,45 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1592
1215
|
label?: string | null | undefined;
|
|
1593
1216
|
};
|
|
1594
1217
|
}) | ({
|
|
1595
|
-
type: "
|
|
1218
|
+
type: "Image";
|
|
1596
1219
|
} & {
|
|
1597
1220
|
fieldset?: string | null | undefined;
|
|
1598
1221
|
config?: {
|
|
1599
1222
|
label?: string | null | undefined;
|
|
1600
1223
|
placeholder?: string;
|
|
1601
|
-
|
|
1224
|
+
constraint?: {
|
|
1225
|
+
width?: number | null;
|
|
1226
|
+
height?: number | null;
|
|
1227
|
+
};
|
|
1228
|
+
thumbnails?: readonly ({
|
|
1229
|
+
name: string;
|
|
1230
|
+
} & {
|
|
1231
|
+
width?: number | null;
|
|
1232
|
+
height?: number | null;
|
|
1233
|
+
})[];
|
|
1234
|
+
};
|
|
1235
|
+
}) | ({
|
|
1236
|
+
type: "IntegrationFields";
|
|
1237
|
+
} & {
|
|
1238
|
+
fieldset?: string | null | undefined;
|
|
1239
|
+
config?: {
|
|
1240
|
+
label?: string | null | undefined;
|
|
1241
|
+
placeholder?: string;
|
|
1242
|
+
catalog?: string;
|
|
1243
|
+
};
|
|
1244
|
+
}) | ({
|
|
1245
|
+
type: "Link";
|
|
1246
|
+
} & {
|
|
1247
|
+
fieldset?: string | null | undefined;
|
|
1248
|
+
config?: {
|
|
1249
|
+
label?: string | null | undefined;
|
|
1250
|
+
useAsTitle?: boolean;
|
|
1251
|
+
placeholder?: string;
|
|
1252
|
+
select?: "media" | "document" | "web" | null;
|
|
1253
|
+
customtypes?: readonly string[];
|
|
1254
|
+
masks?: readonly string[];
|
|
1255
|
+
tags?: readonly string[];
|
|
1256
|
+
allowTargetBlank?: boolean;
|
|
1602
1257
|
};
|
|
1603
1258
|
}) | ({
|
|
1604
1259
|
type: "Number";
|
|
@@ -1636,93 +1291,382 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1636
1291
|
width?: number | null;
|
|
1637
1292
|
height?: number | null;
|
|
1638
1293
|
};
|
|
1639
|
-
labels?: readonly string[];
|
|
1640
|
-
allowTargetBlank?: boolean;
|
|
1641
|
-
};
|
|
1642
|
-
}) | ({
|
|
1643
|
-
type: "Select";
|
|
1644
|
-
} & {
|
|
1645
|
-
fieldset?: string | null | undefined;
|
|
1646
|
-
config?: {
|
|
1647
|
-
label?: string | null | undefined;
|
|
1648
|
-
placeholder?: string;
|
|
1649
|
-
default_value?: string;
|
|
1650
|
-
options?: readonly string[];
|
|
1651
|
-
};
|
|
1652
|
-
}) | ({
|
|
1653
|
-
type: "Separator";
|
|
1654
|
-
} & {
|
|
1655
|
-
config?: {
|
|
1656
|
-
label?: string | null | undefined;
|
|
1657
|
-
};
|
|
1658
|
-
}) | ({
|
|
1659
|
-
type: "Text";
|
|
1660
|
-
} & {
|
|
1661
|
-
fieldset?: string | null | undefined;
|
|
1662
|
-
config?: {
|
|
1663
|
-
label?: string | null | undefined;
|
|
1664
|
-
useAsTitle?: boolean;
|
|
1665
|
-
placeholder?: string;
|
|
1666
|
-
};
|
|
1667
|
-
}) | ({
|
|
1668
|
-
type: "Timestamp";
|
|
1669
|
-
} & {
|
|
1670
|
-
fieldset?: string | null | undefined;
|
|
1671
|
-
config?: {
|
|
1672
|
-
label?: string | null | undefined;
|
|
1673
|
-
placeholder?: string;
|
|
1674
|
-
default?: string;
|
|
1675
|
-
};
|
|
1676
|
-
})
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1294
|
+
labels?: readonly string[];
|
|
1295
|
+
allowTargetBlank?: boolean;
|
|
1296
|
+
};
|
|
1297
|
+
}) | ({
|
|
1298
|
+
type: "Select";
|
|
1299
|
+
} & {
|
|
1300
|
+
fieldset?: string | null | undefined;
|
|
1301
|
+
config?: {
|
|
1302
|
+
label?: string | null | undefined;
|
|
1303
|
+
placeholder?: string;
|
|
1304
|
+
default_value?: string;
|
|
1305
|
+
options?: readonly string[];
|
|
1306
|
+
};
|
|
1307
|
+
}) | ({
|
|
1308
|
+
type: "Separator";
|
|
1309
|
+
} & {
|
|
1310
|
+
config?: {
|
|
1311
|
+
label?: string | null | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
}) | ({
|
|
1314
|
+
type: "Text";
|
|
1315
|
+
} & {
|
|
1316
|
+
fieldset?: string | null | undefined;
|
|
1317
|
+
config?: {
|
|
1318
|
+
label?: string | null | undefined;
|
|
1319
|
+
useAsTitle?: boolean;
|
|
1320
|
+
placeholder?: string;
|
|
1321
|
+
};
|
|
1322
|
+
}) | ({
|
|
1323
|
+
type: "Timestamp";
|
|
1324
|
+
} & {
|
|
1325
|
+
fieldset?: string | null | undefined;
|
|
1326
|
+
config?: {
|
|
1327
|
+
label?: string | null | undefined;
|
|
1328
|
+
placeholder?: string;
|
|
1329
|
+
default?: string;
|
|
1330
|
+
};
|
|
1331
|
+
});
|
|
1332
|
+
};
|
|
1333
|
+
config?: {
|
|
1334
|
+
label?: string | null | undefined;
|
|
1335
|
+
};
|
|
1336
|
+
}) | ({
|
|
1337
|
+
id: string;
|
|
1338
|
+
type: "SharedSlice";
|
|
1339
|
+
name: string;
|
|
1340
|
+
variations: readonly ({
|
|
1341
|
+
id: string;
|
|
1342
|
+
name: string;
|
|
1343
|
+
description: string;
|
|
1344
|
+
imageUrl: string;
|
|
1345
|
+
docURL: string;
|
|
1346
|
+
version: string;
|
|
1347
|
+
} & {
|
|
1348
|
+
display?: string;
|
|
1349
|
+
primary?: {
|
|
1350
|
+
[x: string]: ({
|
|
1351
|
+
type: "Boolean";
|
|
1352
|
+
} & {
|
|
1353
|
+
config?: {
|
|
1354
|
+
label?: string | null | undefined;
|
|
1355
|
+
default_value?: boolean;
|
|
1356
|
+
placeholder_true?: string;
|
|
1357
|
+
placeholder_false?: string;
|
|
1358
|
+
};
|
|
1359
|
+
}) | ({
|
|
1360
|
+
type: "Color";
|
|
1361
|
+
} & {
|
|
1362
|
+
fieldset?: string | null | undefined;
|
|
1363
|
+
config?: {
|
|
1364
|
+
label?: string | null | undefined;
|
|
1365
|
+
placeholder?: string;
|
|
1366
|
+
};
|
|
1367
|
+
}) | ({
|
|
1368
|
+
type: "Date";
|
|
1369
|
+
} & {
|
|
1370
|
+
fieldset?: string | null | undefined;
|
|
1371
|
+
config?: {
|
|
1372
|
+
label?: string | null | undefined;
|
|
1373
|
+
placeholder?: string;
|
|
1374
|
+
default?: string;
|
|
1375
|
+
};
|
|
1376
|
+
}) | ({
|
|
1377
|
+
type: "Embed";
|
|
1378
|
+
} & {
|
|
1379
|
+
fieldset?: string | null | undefined;
|
|
1380
|
+
config?: {
|
|
1381
|
+
label?: string | null | undefined;
|
|
1382
|
+
placeholder?: string;
|
|
1383
|
+
useAsTitle?: boolean;
|
|
1384
|
+
};
|
|
1385
|
+
}) | ({
|
|
1386
|
+
type: "GeoPoint";
|
|
1387
|
+
} & {
|
|
1388
|
+
fieldset?: string | null | undefined;
|
|
1389
|
+
config?: {
|
|
1390
|
+
label?: string | null | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
}) | ({
|
|
1393
|
+
type: "Image";
|
|
1394
|
+
} & {
|
|
1395
|
+
fieldset?: string | null | undefined;
|
|
1396
|
+
config?: {
|
|
1397
|
+
label?: string | null | undefined;
|
|
1398
|
+
placeholder?: string;
|
|
1399
|
+
constraint?: {
|
|
1400
|
+
width?: number | null;
|
|
1401
|
+
height?: number | null;
|
|
1402
|
+
};
|
|
1403
|
+
thumbnails?: readonly ({
|
|
1404
|
+
name: string;
|
|
1405
|
+
} & {
|
|
1406
|
+
width?: number | null;
|
|
1407
|
+
height?: number | null;
|
|
1408
|
+
})[];
|
|
1409
|
+
};
|
|
1410
|
+
}) | ({
|
|
1411
|
+
type: "IntegrationFields";
|
|
1412
|
+
} & {
|
|
1413
|
+
fieldset?: string | null | undefined;
|
|
1414
|
+
config?: {
|
|
1415
|
+
label?: string | null | undefined;
|
|
1416
|
+
placeholder?: string;
|
|
1417
|
+
catalog?: string;
|
|
1418
|
+
};
|
|
1419
|
+
}) | ({
|
|
1420
|
+
type: "Link";
|
|
1421
|
+
} & {
|
|
1422
|
+
fieldset?: string | null | undefined;
|
|
1423
|
+
config?: {
|
|
1424
|
+
label?: string | null | undefined;
|
|
1425
|
+
useAsTitle?: boolean;
|
|
1426
|
+
placeholder?: string;
|
|
1427
|
+
select?: "media" | "document" | "web" | null;
|
|
1428
|
+
customtypes?: readonly string[];
|
|
1429
|
+
masks?: readonly string[];
|
|
1430
|
+
tags?: readonly string[];
|
|
1431
|
+
allowTargetBlank?: boolean;
|
|
1432
|
+
};
|
|
1433
|
+
}) | ({
|
|
1434
|
+
type: "Number";
|
|
1435
|
+
} & {
|
|
1436
|
+
fieldset?: string | null | undefined;
|
|
1437
|
+
config?: {
|
|
1438
|
+
label?: string | null | undefined;
|
|
1439
|
+
placeholder?: string;
|
|
1440
|
+
min?: number;
|
|
1441
|
+
max?: number;
|
|
1442
|
+
step?: number;
|
|
1443
|
+
};
|
|
1444
|
+
}) | ({
|
|
1445
|
+
type: "Range";
|
|
1446
|
+
} & {
|
|
1447
|
+
fieldset?: string | null | undefined;
|
|
1448
|
+
config?: {
|
|
1449
|
+
label?: string | null | undefined;
|
|
1450
|
+
placeholder?: string;
|
|
1451
|
+
min?: number;
|
|
1452
|
+
max?: number;
|
|
1453
|
+
step?: number;
|
|
1454
|
+
};
|
|
1455
|
+
}) | ({
|
|
1456
|
+
type: "StructuredText";
|
|
1457
|
+
} & {
|
|
1458
|
+
fieldset?: string | null | undefined;
|
|
1459
|
+
config?: {
|
|
1460
|
+
label?: string | null | undefined;
|
|
1461
|
+
placeholder?: string;
|
|
1462
|
+
useAsTitle?: boolean;
|
|
1463
|
+
single?: string;
|
|
1464
|
+
multi?: string;
|
|
1465
|
+
imageConstraint?: {
|
|
1466
|
+
width?: number | null;
|
|
1467
|
+
height?: number | null;
|
|
1468
|
+
};
|
|
1469
|
+
labels?: readonly string[];
|
|
1470
|
+
allowTargetBlank?: boolean;
|
|
1471
|
+
};
|
|
1472
|
+
}) | ({
|
|
1473
|
+
type: "Select";
|
|
1474
|
+
} & {
|
|
1475
|
+
fieldset?: string | null | undefined;
|
|
1476
|
+
config?: {
|
|
1477
|
+
label?: string | null | undefined;
|
|
1478
|
+
placeholder?: string;
|
|
1479
|
+
default_value?: string;
|
|
1480
|
+
options?: readonly string[];
|
|
1481
|
+
};
|
|
1482
|
+
}) | ({
|
|
1483
|
+
type: "Separator";
|
|
1484
|
+
} & {
|
|
1485
|
+
config?: {
|
|
1486
|
+
label?: string | null | undefined;
|
|
1487
|
+
};
|
|
1488
|
+
}) | ({
|
|
1489
|
+
type: "Text";
|
|
1490
|
+
} & {
|
|
1491
|
+
fieldset?: string | null | undefined;
|
|
1492
|
+
config?: {
|
|
1493
|
+
label?: string | null | undefined;
|
|
1494
|
+
useAsTitle?: boolean;
|
|
1495
|
+
placeholder?: string;
|
|
1496
|
+
};
|
|
1497
|
+
}) | ({
|
|
1498
|
+
type: "Timestamp";
|
|
1499
|
+
} & {
|
|
1500
|
+
fieldset?: string | null | undefined;
|
|
1501
|
+
config?: {
|
|
1502
|
+
label?: string | null | undefined;
|
|
1503
|
+
placeholder?: string;
|
|
1504
|
+
default?: string;
|
|
1505
|
+
};
|
|
1506
|
+
});
|
|
1507
|
+
};
|
|
1508
|
+
items?: {
|
|
1509
|
+
[x: string]: ({
|
|
1510
|
+
type: "Boolean";
|
|
1511
|
+
} & {
|
|
1512
|
+
config?: {
|
|
1513
|
+
label?: string | null | undefined;
|
|
1514
|
+
default_value?: boolean;
|
|
1515
|
+
placeholder_true?: string;
|
|
1516
|
+
placeholder_false?: string;
|
|
1517
|
+
};
|
|
1518
|
+
}) | ({
|
|
1519
|
+
type: "Color";
|
|
1520
|
+
} & {
|
|
1521
|
+
fieldset?: string | null | undefined;
|
|
1522
|
+
config?: {
|
|
1523
|
+
label?: string | null | undefined;
|
|
1524
|
+
placeholder?: string;
|
|
1525
|
+
};
|
|
1526
|
+
}) | ({
|
|
1527
|
+
type: "Date";
|
|
1528
|
+
} & {
|
|
1529
|
+
fieldset?: string | null | undefined;
|
|
1530
|
+
config?: {
|
|
1531
|
+
label?: string | null | undefined;
|
|
1532
|
+
placeholder?: string;
|
|
1533
|
+
default?: string;
|
|
1534
|
+
};
|
|
1535
|
+
}) | ({
|
|
1536
|
+
type: "Embed";
|
|
1537
|
+
} & {
|
|
1538
|
+
fieldset?: string | null | undefined;
|
|
1539
|
+
config?: {
|
|
1540
|
+
label?: string | null | undefined;
|
|
1541
|
+
placeholder?: string;
|
|
1542
|
+
useAsTitle?: boolean;
|
|
1543
|
+
};
|
|
1544
|
+
}) | ({
|
|
1545
|
+
type: "GeoPoint";
|
|
1546
|
+
} & {
|
|
1547
|
+
fieldset?: string | null | undefined;
|
|
1548
|
+
config?: {
|
|
1549
|
+
label?: string | null | undefined;
|
|
1550
|
+
};
|
|
1551
|
+
}) | ({
|
|
1552
|
+
type: "Image";
|
|
1553
|
+
} & {
|
|
1554
|
+
fieldset?: string | null | undefined;
|
|
1555
|
+
config?: {
|
|
1556
|
+
label?: string | null | undefined;
|
|
1557
|
+
placeholder?: string;
|
|
1558
|
+
constraint?: {
|
|
1559
|
+
width?: number | null;
|
|
1560
|
+
height?: number | null;
|
|
1561
|
+
};
|
|
1562
|
+
thumbnails?: readonly ({
|
|
1563
|
+
name: string;
|
|
1564
|
+
} & {
|
|
1565
|
+
width?: number | null;
|
|
1566
|
+
height?: number | null;
|
|
1567
|
+
})[];
|
|
1568
|
+
};
|
|
1569
|
+
}) | ({
|
|
1570
|
+
type: "IntegrationFields";
|
|
1571
|
+
} & {
|
|
1572
|
+
fieldset?: string | null | undefined;
|
|
1573
|
+
config?: {
|
|
1574
|
+
label?: string | null | undefined;
|
|
1575
|
+
placeholder?: string;
|
|
1576
|
+
catalog?: string;
|
|
1577
|
+
};
|
|
1578
|
+
}) | ({
|
|
1579
|
+
type: "Link";
|
|
1580
|
+
} & {
|
|
1581
|
+
fieldset?: string | null | undefined;
|
|
1582
|
+
config?: {
|
|
1583
|
+
label?: string | null | undefined;
|
|
1584
|
+
useAsTitle?: boolean;
|
|
1585
|
+
placeholder?: string;
|
|
1586
|
+
select?: "media" | "document" | "web" | null;
|
|
1587
|
+
customtypes?: readonly string[];
|
|
1588
|
+
masks?: readonly string[];
|
|
1589
|
+
tags?: readonly string[];
|
|
1590
|
+
allowTargetBlank?: boolean;
|
|
1591
|
+
};
|
|
1592
|
+
}) | ({
|
|
1593
|
+
type: "Number";
|
|
1594
|
+
} & {
|
|
1595
|
+
fieldset?: string | null | undefined;
|
|
1596
|
+
config?: {
|
|
1597
|
+
label?: string | null | undefined;
|
|
1598
|
+
placeholder?: string;
|
|
1599
|
+
min?: number;
|
|
1600
|
+
max?: number;
|
|
1601
|
+
step?: number;
|
|
1602
|
+
};
|
|
1603
|
+
}) | ({
|
|
1604
|
+
type: "Range";
|
|
1605
|
+
} & {
|
|
1606
|
+
fieldset?: string | null | undefined;
|
|
1607
|
+
config?: {
|
|
1608
|
+
label?: string | null | undefined;
|
|
1609
|
+
placeholder?: string;
|
|
1610
|
+
min?: number;
|
|
1611
|
+
max?: number;
|
|
1612
|
+
step?: number;
|
|
1704
1613
|
};
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1614
|
+
}) | ({
|
|
1615
|
+
type: "StructuredText";
|
|
1616
|
+
} & {
|
|
1617
|
+
fieldset?: string | null | undefined;
|
|
1618
|
+
config?: {
|
|
1619
|
+
label?: string | null | undefined;
|
|
1620
|
+
placeholder?: string;
|
|
1621
|
+
useAsTitle?: boolean;
|
|
1622
|
+
single?: string;
|
|
1623
|
+
multi?: string;
|
|
1624
|
+
imageConstraint?: {
|
|
1625
|
+
width?: number | null;
|
|
1626
|
+
height?: number | null;
|
|
1627
|
+
};
|
|
1628
|
+
labels?: readonly string[];
|
|
1629
|
+
allowTargetBlank?: boolean;
|
|
1630
|
+
};
|
|
1631
|
+
}) | ({
|
|
1632
|
+
type: "Select";
|
|
1633
|
+
} & {
|
|
1634
|
+
fieldset?: string | null | undefined;
|
|
1635
|
+
config?: {
|
|
1636
|
+
label?: string | null | undefined;
|
|
1637
|
+
placeholder?: string;
|
|
1638
|
+
default_value?: string;
|
|
1639
|
+
options?: readonly string[];
|
|
1640
|
+
};
|
|
1641
|
+
}) | ({
|
|
1642
|
+
type: "Separator";
|
|
1643
|
+
} & {
|
|
1644
|
+
config?: {
|
|
1645
|
+
label?: string | null | undefined;
|
|
1646
|
+
};
|
|
1647
|
+
}) | ({
|
|
1648
|
+
type: "Text";
|
|
1649
|
+
} & {
|
|
1650
|
+
fieldset?: string | null | undefined;
|
|
1651
|
+
config?: {
|
|
1652
|
+
label?: string | null | undefined;
|
|
1653
|
+
useAsTitle?: boolean;
|
|
1654
|
+
placeholder?: string;
|
|
1655
|
+
};
|
|
1656
|
+
}) | ({
|
|
1657
|
+
type: "Timestamp";
|
|
1658
|
+
} & {
|
|
1659
|
+
fieldset?: string | null | undefined;
|
|
1660
|
+
config?: {
|
|
1661
|
+
label?: string | null | undefined;
|
|
1662
|
+
placeholder?: string;
|
|
1663
|
+
default?: string;
|
|
1664
|
+
};
|
|
1665
|
+
});
|
|
1666
|
+
};
|
|
1667
|
+
})[];
|
|
1668
|
+
} & {
|
|
1669
|
+
description?: string;
|
|
1726
1670
|
});
|
|
1727
1671
|
};
|
|
1728
1672
|
};
|
|
@@ -1861,15 +1805,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
1861
1805
|
useAsTitle: t.BooleanC;
|
|
1862
1806
|
placeholder: t.StringC;
|
|
1863
1807
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
1864
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
1865
|
-
customTypeId: string;
|
|
1866
|
-
} & {
|
|
1867
|
-
fetchFields?: boolean;
|
|
1868
|
-
}, {
|
|
1869
|
-
customTypeId: string;
|
|
1870
|
-
} & {
|
|
1871
|
-
fetchFields?: boolean;
|
|
1872
|
-
}, unknown>>;
|
|
1808
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
1873
1809
|
masks: t.Type<readonly string[], object, unknown>;
|
|
1874
1810
|
tags: t.Type<readonly string[], object, unknown>;
|
|
1875
1811
|
allowTargetBlank: t.BooleanC;
|
|
@@ -2034,15 +1970,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2034
1970
|
useAsTitle: t.BooleanC;
|
|
2035
1971
|
placeholder: t.StringC;
|
|
2036
1972
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
2037
|
-
customtypes: t.ReadonlyArrayC<t.
|
|
2038
|
-
customTypeId: string;
|
|
2039
|
-
} & {
|
|
2040
|
-
fetchFields?: boolean;
|
|
2041
|
-
}, {
|
|
2042
|
-
customTypeId: string;
|
|
2043
|
-
} & {
|
|
2044
|
-
fetchFields?: boolean;
|
|
2045
|
-
}, unknown>>;
|
|
1973
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
2046
1974
|
masks: t.Type<readonly string[], object, unknown>;
|
|
2047
1975
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2048
1976
|
allowTargetBlank: t.BooleanC;
|
|
@@ -2077,7 +2005,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2077
2005
|
}>]>>]>>;
|
|
2078
2006
|
}>>;
|
|
2079
2007
|
}>]>>, t.Type<{
|
|
2080
|
-
type: "
|
|
2008
|
+
type: "Choice" | "Slices";
|
|
2081
2009
|
} & {
|
|
2082
2010
|
fieldset?: string | null | undefined;
|
|
2083
2011
|
config?: {
|
|
@@ -2090,9 +2018,16 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2090
2018
|
})[];
|
|
2091
2019
|
} | null;
|
|
2092
2020
|
choices?: {
|
|
2093
|
-
[x: string]: {
|
|
2094
|
-
type: "
|
|
2095
|
-
}
|
|
2021
|
+
[x: string]: ({
|
|
2022
|
+
type: "Boolean";
|
|
2023
|
+
} & {
|
|
2024
|
+
config?: {
|
|
2025
|
+
label?: string | null | undefined;
|
|
2026
|
+
default_value?: boolean;
|
|
2027
|
+
placeholder_true?: string;
|
|
2028
|
+
placeholder_false?: string;
|
|
2029
|
+
};
|
|
2030
|
+
}) | ({
|
|
2096
2031
|
type: "Color";
|
|
2097
2032
|
} & {
|
|
2098
2033
|
fieldset?: string | null | undefined;
|
|
@@ -2101,13 +2036,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2101
2036
|
placeholder?: string;
|
|
2102
2037
|
};
|
|
2103
2038
|
}) | ({
|
|
2104
|
-
type: "
|
|
2039
|
+
type: "Date";
|
|
2105
2040
|
} & {
|
|
2041
|
+
fieldset?: string | null | undefined;
|
|
2106
2042
|
config?: {
|
|
2107
2043
|
label?: string | null | undefined;
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
placeholder_false?: string;
|
|
2044
|
+
placeholder?: string;
|
|
2045
|
+
default?: string;
|
|
2111
2046
|
};
|
|
2112
2047
|
}) | ({
|
|
2113
2048
|
type: "Embed";
|
|
@@ -2126,13 +2061,45 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2126
2061
|
label?: string | null | undefined;
|
|
2127
2062
|
};
|
|
2128
2063
|
}) | ({
|
|
2129
|
-
type: "
|
|
2064
|
+
type: "Image";
|
|
2130
2065
|
} & {
|
|
2131
2066
|
fieldset?: string | null | undefined;
|
|
2132
2067
|
config?: {
|
|
2133
2068
|
label?: string | null | undefined;
|
|
2134
2069
|
placeholder?: string;
|
|
2135
|
-
|
|
2070
|
+
constraint?: {
|
|
2071
|
+
width?: number | null;
|
|
2072
|
+
height?: number | null;
|
|
2073
|
+
};
|
|
2074
|
+
thumbnails?: readonly ({
|
|
2075
|
+
name: string;
|
|
2076
|
+
} & {
|
|
2077
|
+
width?: number | null;
|
|
2078
|
+
height?: number | null;
|
|
2079
|
+
})[];
|
|
2080
|
+
};
|
|
2081
|
+
}) | ({
|
|
2082
|
+
type: "IntegrationFields";
|
|
2083
|
+
} & {
|
|
2084
|
+
fieldset?: string | null | undefined;
|
|
2085
|
+
config?: {
|
|
2086
|
+
label?: string | null | undefined;
|
|
2087
|
+
placeholder?: string;
|
|
2088
|
+
catalog?: string;
|
|
2089
|
+
};
|
|
2090
|
+
}) | ({
|
|
2091
|
+
type: "Link";
|
|
2092
|
+
} & {
|
|
2093
|
+
fieldset?: string | null | undefined;
|
|
2094
|
+
config?: {
|
|
2095
|
+
label?: string | null | undefined;
|
|
2096
|
+
useAsTitle?: boolean;
|
|
2097
|
+
placeholder?: string;
|
|
2098
|
+
select?: "media" | "document" | "web" | null;
|
|
2099
|
+
customtypes?: readonly string[];
|
|
2100
|
+
masks?: readonly string[];
|
|
2101
|
+
tags?: readonly string[];
|
|
2102
|
+
allowTargetBlank?: boolean;
|
|
2136
2103
|
};
|
|
2137
2104
|
}) | ({
|
|
2138
2105
|
type: "Number";
|
|
@@ -2207,51 +2174,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2207
2174
|
placeholder?: string;
|
|
2208
2175
|
default?: string;
|
|
2209
2176
|
};
|
|
2210
|
-
}) | ({
|
|
2211
|
-
type: "Link";
|
|
2212
|
-
} & {
|
|
2213
|
-
fieldset?: string | null | undefined;
|
|
2214
|
-
config?: {
|
|
2215
|
-
label?: string | null | undefined;
|
|
2216
|
-
useAsTitle?: boolean;
|
|
2217
|
-
placeholder?: string;
|
|
2218
|
-
select?: "media" | "document" | "web" | null;
|
|
2219
|
-
customtypes?: readonly ({
|
|
2220
|
-
customTypeId: string;
|
|
2221
|
-
} & {
|
|
2222
|
-
fetchFields?: boolean;
|
|
2223
|
-
})[];
|
|
2224
|
-
masks?: readonly string[];
|
|
2225
|
-
tags?: readonly string[];
|
|
2226
|
-
allowTargetBlank?: boolean;
|
|
2227
|
-
};
|
|
2228
|
-
}) | ({
|
|
2229
|
-
type: "Image";
|
|
2230
|
-
} & {
|
|
2231
|
-
fieldset?: string | null | undefined;
|
|
2232
|
-
config?: {
|
|
2233
|
-
label?: string | null | undefined;
|
|
2234
|
-
placeholder?: string;
|
|
2235
|
-
constraint?: {
|
|
2236
|
-
width?: number | null;
|
|
2237
|
-
height?: number | null;
|
|
2238
|
-
};
|
|
2239
|
-
thumbnails?: readonly ({
|
|
2240
|
-
name: string;
|
|
2241
|
-
} & {
|
|
2242
|
-
width?: number | null;
|
|
2243
|
-
height?: number | null;
|
|
2244
|
-
})[];
|
|
2245
|
-
};
|
|
2246
|
-
}) | ({
|
|
2247
|
-
type: "IntegrationFields";
|
|
2248
|
-
} & {
|
|
2249
|
-
fieldset?: string | null | undefined;
|
|
2250
|
-
config?: {
|
|
2251
|
-
label?: string | null | undefined;
|
|
2252
|
-
placeholder?: string;
|
|
2253
|
-
catalog?: string;
|
|
2254
|
-
};
|
|
2255
2177
|
}) | ({
|
|
2256
2178
|
type: "Group";
|
|
2257
2179
|
} & {
|
|
@@ -2263,6 +2185,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2263
2185
|
repeat?: boolean;
|
|
2264
2186
|
fields?: {
|
|
2265
2187
|
[x: string]: ({
|
|
2188
|
+
type: "Boolean";
|
|
2189
|
+
} & {
|
|
2190
|
+
config?: {
|
|
2191
|
+
label?: string | null | undefined;
|
|
2192
|
+
default_value?: boolean;
|
|
2193
|
+
placeholder_true?: string;
|
|
2194
|
+
placeholder_false?: string;
|
|
2195
|
+
};
|
|
2196
|
+
}) | ({
|
|
2266
2197
|
type: "Color";
|
|
2267
2198
|
} & {
|
|
2268
2199
|
fieldset?: string | null | undefined;
|
|
@@ -2271,13 +2202,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2271
2202
|
placeholder?: string;
|
|
2272
2203
|
};
|
|
2273
2204
|
}) | ({
|
|
2274
|
-
type: "
|
|
2205
|
+
type: "Date";
|
|
2275
2206
|
} & {
|
|
2207
|
+
fieldset?: string | null | undefined;
|
|
2276
2208
|
config?: {
|
|
2277
2209
|
label?: string | null | undefined;
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
placeholder_false?: string;
|
|
2210
|
+
placeholder?: string;
|
|
2211
|
+
default?: string;
|
|
2281
2212
|
};
|
|
2282
2213
|
}) | ({
|
|
2283
2214
|
type: "Embed";
|
|
@@ -2296,13 +2227,45 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2296
2227
|
label?: string | null | undefined;
|
|
2297
2228
|
};
|
|
2298
2229
|
}) | ({
|
|
2299
|
-
type: "
|
|
2230
|
+
type: "Image";
|
|
2300
2231
|
} & {
|
|
2301
2232
|
fieldset?: string | null | undefined;
|
|
2302
2233
|
config?: {
|
|
2303
2234
|
label?: string | null | undefined;
|
|
2304
2235
|
placeholder?: string;
|
|
2305
|
-
|
|
2236
|
+
constraint?: {
|
|
2237
|
+
width?: number | null;
|
|
2238
|
+
height?: number | null;
|
|
2239
|
+
};
|
|
2240
|
+
thumbnails?: readonly ({
|
|
2241
|
+
name: string;
|
|
2242
|
+
} & {
|
|
2243
|
+
width?: number | null;
|
|
2244
|
+
height?: number | null;
|
|
2245
|
+
})[];
|
|
2246
|
+
};
|
|
2247
|
+
}) | ({
|
|
2248
|
+
type: "IntegrationFields";
|
|
2249
|
+
} & {
|
|
2250
|
+
fieldset?: string | null | undefined;
|
|
2251
|
+
config?: {
|
|
2252
|
+
label?: string | null | undefined;
|
|
2253
|
+
placeholder?: string;
|
|
2254
|
+
catalog?: string;
|
|
2255
|
+
};
|
|
2256
|
+
}) | ({
|
|
2257
|
+
type: "Link";
|
|
2258
|
+
} & {
|
|
2259
|
+
fieldset?: string | null | undefined;
|
|
2260
|
+
config?: {
|
|
2261
|
+
label?: string | null | undefined;
|
|
2262
|
+
useAsTitle?: boolean;
|
|
2263
|
+
placeholder?: string;
|
|
2264
|
+
select?: "media" | "document" | "web" | null;
|
|
2265
|
+
customtypes?: readonly string[];
|
|
2266
|
+
masks?: readonly string[];
|
|
2267
|
+
tags?: readonly string[];
|
|
2268
|
+
allowTargetBlank?: boolean;
|
|
2306
2269
|
};
|
|
2307
2270
|
}) | ({
|
|
2308
2271
|
type: "Number";
|
|
@@ -2377,51 +2340,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2377
2340
|
placeholder?: string;
|
|
2378
2341
|
default?: string;
|
|
2379
2342
|
};
|
|
2380
|
-
}) | ({
|
|
2381
|
-
type: "Link";
|
|
2382
|
-
} & {
|
|
2383
|
-
fieldset?: string | null | undefined;
|
|
2384
|
-
config?: {
|
|
2385
|
-
label?: string | null | undefined;
|
|
2386
|
-
useAsTitle?: boolean;
|
|
2387
|
-
placeholder?: string;
|
|
2388
|
-
select?: "media" | "document" | "web" | null;
|
|
2389
|
-
customtypes?: readonly ({
|
|
2390
|
-
customTypeId: string;
|
|
2391
|
-
} & {
|
|
2392
|
-
fetchFields?: boolean;
|
|
2393
|
-
})[];
|
|
2394
|
-
masks?: readonly string[];
|
|
2395
|
-
tags?: readonly string[];
|
|
2396
|
-
allowTargetBlank?: boolean;
|
|
2397
|
-
};
|
|
2398
|
-
}) | ({
|
|
2399
|
-
type: "Image";
|
|
2400
|
-
} & {
|
|
2401
|
-
fieldset?: string | null | undefined;
|
|
2402
|
-
config?: {
|
|
2403
|
-
label?: string | null | undefined;
|
|
2404
|
-
placeholder?: string;
|
|
2405
|
-
constraint?: {
|
|
2406
|
-
width?: number | null;
|
|
2407
|
-
height?: number | null;
|
|
2408
|
-
};
|
|
2409
|
-
thumbnails?: readonly ({
|
|
2410
|
-
name: string;
|
|
2411
|
-
} & {
|
|
2412
|
-
width?: number | null;
|
|
2413
|
-
height?: number | null;
|
|
2414
|
-
})[];
|
|
2415
|
-
};
|
|
2416
|
-
}) | ({
|
|
2417
|
-
type: "IntegrationFields";
|
|
2418
|
-
} & {
|
|
2419
|
-
fieldset?: string | null | undefined;
|
|
2420
|
-
config?: {
|
|
2421
|
-
label?: string | null | undefined;
|
|
2422
|
-
placeholder?: string;
|
|
2423
|
-
catalog?: string;
|
|
2424
|
-
};
|
|
2425
2343
|
});
|
|
2426
2344
|
};
|
|
2427
2345
|
};
|
|
@@ -2434,6 +2352,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2434
2352
|
display?: string;
|
|
2435
2353
|
"non-repeat"?: {
|
|
2436
2354
|
[x: string]: ({
|
|
2355
|
+
type: "Boolean";
|
|
2356
|
+
} & {
|
|
2357
|
+
config?: {
|
|
2358
|
+
label?: string | null | undefined;
|
|
2359
|
+
default_value?: boolean;
|
|
2360
|
+
placeholder_true?: string;
|
|
2361
|
+
placeholder_false?: string;
|
|
2362
|
+
};
|
|
2363
|
+
}) | ({
|
|
2437
2364
|
type: "Color";
|
|
2438
2365
|
} & {
|
|
2439
2366
|
fieldset?: string | null | undefined;
|
|
@@ -2442,13 +2369,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2442
2369
|
placeholder?: string;
|
|
2443
2370
|
};
|
|
2444
2371
|
}) | ({
|
|
2445
|
-
type: "
|
|
2372
|
+
type: "Date";
|
|
2446
2373
|
} & {
|
|
2374
|
+
fieldset?: string | null | undefined;
|
|
2447
2375
|
config?: {
|
|
2448
2376
|
label?: string | null | undefined;
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
placeholder_false?: string;
|
|
2377
|
+
placeholder?: string;
|
|
2378
|
+
default?: string;
|
|
2452
2379
|
};
|
|
2453
2380
|
}) | ({
|
|
2454
2381
|
type: "Embed";
|
|
@@ -2467,13 +2394,45 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2467
2394
|
label?: string | null | undefined;
|
|
2468
2395
|
};
|
|
2469
2396
|
}) | ({
|
|
2470
|
-
type: "
|
|
2397
|
+
type: "Image";
|
|
2471
2398
|
} & {
|
|
2472
2399
|
fieldset?: string | null | undefined;
|
|
2473
2400
|
config?: {
|
|
2474
2401
|
label?: string | null | undefined;
|
|
2475
2402
|
placeholder?: string;
|
|
2476
|
-
|
|
2403
|
+
constraint?: {
|
|
2404
|
+
width?: number | null;
|
|
2405
|
+
height?: number | null;
|
|
2406
|
+
};
|
|
2407
|
+
thumbnails?: readonly ({
|
|
2408
|
+
name: string;
|
|
2409
|
+
} & {
|
|
2410
|
+
width?: number | null;
|
|
2411
|
+
height?: number | null;
|
|
2412
|
+
})[];
|
|
2413
|
+
};
|
|
2414
|
+
}) | ({
|
|
2415
|
+
type: "IntegrationFields";
|
|
2416
|
+
} & {
|
|
2417
|
+
fieldset?: string | null | undefined;
|
|
2418
|
+
config?: {
|
|
2419
|
+
label?: string | null | undefined;
|
|
2420
|
+
placeholder?: string;
|
|
2421
|
+
catalog?: string;
|
|
2422
|
+
};
|
|
2423
|
+
}) | ({
|
|
2424
|
+
type: "Link";
|
|
2425
|
+
} & {
|
|
2426
|
+
fieldset?: string | null | undefined;
|
|
2427
|
+
config?: {
|
|
2428
|
+
label?: string | null | undefined;
|
|
2429
|
+
useAsTitle?: boolean;
|
|
2430
|
+
placeholder?: string;
|
|
2431
|
+
select?: "media" | "document" | "web" | null;
|
|
2432
|
+
customtypes?: readonly string[];
|
|
2433
|
+
masks?: readonly string[];
|
|
2434
|
+
tags?: readonly string[];
|
|
2435
|
+
allowTargetBlank?: boolean;
|
|
2477
2436
|
};
|
|
2478
2437
|
}) | ({
|
|
2479
2438
|
type: "Number";
|
|
@@ -2548,95 +2507,91 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2548
2507
|
placeholder?: string;
|
|
2549
2508
|
default?: string;
|
|
2550
2509
|
};
|
|
2551
|
-
})
|
|
2552
|
-
|
|
2510
|
+
});
|
|
2511
|
+
};
|
|
2512
|
+
repeat?: {
|
|
2513
|
+
[x: string]: ({
|
|
2514
|
+
type: "Boolean";
|
|
2553
2515
|
} & {
|
|
2554
|
-
fieldset?: string | null | undefined;
|
|
2555
2516
|
config?: {
|
|
2556
2517
|
label?: string | null | undefined;
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
customtypes?: readonly ({
|
|
2561
|
-
customTypeId: string;
|
|
2562
|
-
} & {
|
|
2563
|
-
fetchFields?: boolean;
|
|
2564
|
-
})[];
|
|
2565
|
-
masks?: readonly string[];
|
|
2566
|
-
tags?: readonly string[];
|
|
2567
|
-
allowTargetBlank?: boolean;
|
|
2518
|
+
default_value?: boolean;
|
|
2519
|
+
placeholder_true?: string;
|
|
2520
|
+
placeholder_false?: string;
|
|
2568
2521
|
};
|
|
2569
2522
|
}) | ({
|
|
2570
|
-
type: "
|
|
2523
|
+
type: "Color";
|
|
2571
2524
|
} & {
|
|
2572
2525
|
fieldset?: string | null | undefined;
|
|
2573
2526
|
config?: {
|
|
2574
2527
|
label?: string | null | undefined;
|
|
2575
2528
|
placeholder?: string;
|
|
2576
|
-
constraint?: {
|
|
2577
|
-
width?: number | null;
|
|
2578
|
-
height?: number | null;
|
|
2579
|
-
};
|
|
2580
|
-
thumbnails?: readonly ({
|
|
2581
|
-
name: string;
|
|
2582
|
-
} & {
|
|
2583
|
-
width?: number | null;
|
|
2584
|
-
height?: number | null;
|
|
2585
|
-
})[];
|
|
2586
2529
|
};
|
|
2587
2530
|
}) | ({
|
|
2588
|
-
type: "
|
|
2531
|
+
type: "Date";
|
|
2589
2532
|
} & {
|
|
2590
2533
|
fieldset?: string | null | undefined;
|
|
2591
2534
|
config?: {
|
|
2592
2535
|
label?: string | null | undefined;
|
|
2593
2536
|
placeholder?: string;
|
|
2594
|
-
|
|
2537
|
+
default?: string;
|
|
2595
2538
|
};
|
|
2596
|
-
})
|
|
2597
|
-
|
|
2598
|
-
repeat?: {
|
|
2599
|
-
[x: string]: ({
|
|
2600
|
-
type: "Color";
|
|
2539
|
+
}) | ({
|
|
2540
|
+
type: "Embed";
|
|
2601
2541
|
} & {
|
|
2602
2542
|
fieldset?: string | null | undefined;
|
|
2603
2543
|
config?: {
|
|
2604
2544
|
label?: string | null | undefined;
|
|
2605
2545
|
placeholder?: string;
|
|
2546
|
+
useAsTitle?: boolean;
|
|
2606
2547
|
};
|
|
2607
2548
|
}) | ({
|
|
2608
|
-
type: "
|
|
2549
|
+
type: "GeoPoint";
|
|
2609
2550
|
} & {
|
|
2551
|
+
fieldset?: string | null | undefined;
|
|
2610
2552
|
config?: {
|
|
2611
2553
|
label?: string | null | undefined;
|
|
2612
|
-
default_value?: boolean;
|
|
2613
|
-
placeholder_true?: string;
|
|
2614
|
-
placeholder_false?: string;
|
|
2615
2554
|
};
|
|
2616
2555
|
}) | ({
|
|
2617
|
-
type: "
|
|
2556
|
+
type: "Image";
|
|
2618
2557
|
} & {
|
|
2619
2558
|
fieldset?: string | null | undefined;
|
|
2620
2559
|
config?: {
|
|
2621
2560
|
label?: string | null | undefined;
|
|
2622
2561
|
placeholder?: string;
|
|
2623
|
-
|
|
2562
|
+
constraint?: {
|
|
2563
|
+
width?: number | null;
|
|
2564
|
+
height?: number | null;
|
|
2565
|
+
};
|
|
2566
|
+
thumbnails?: readonly ({
|
|
2567
|
+
name: string;
|
|
2568
|
+
} & {
|
|
2569
|
+
width?: number | null;
|
|
2570
|
+
height?: number | null;
|
|
2571
|
+
})[];
|
|
2624
2572
|
};
|
|
2625
2573
|
}) | ({
|
|
2626
|
-
type: "
|
|
2574
|
+
type: "IntegrationFields";
|
|
2627
2575
|
} & {
|
|
2628
2576
|
fieldset?: string | null | undefined;
|
|
2629
2577
|
config?: {
|
|
2630
2578
|
label?: string | null | undefined;
|
|
2579
|
+
placeholder?: string;
|
|
2580
|
+
catalog?: string;
|
|
2631
2581
|
};
|
|
2632
2582
|
}) | ({
|
|
2633
|
-
type: "
|
|
2583
|
+
type: "Link";
|
|
2634
2584
|
} & {
|
|
2635
2585
|
fieldset?: string | null | undefined;
|
|
2636
2586
|
config?: {
|
|
2637
2587
|
label?: string | null | undefined;
|
|
2588
|
+
useAsTitle?: boolean;
|
|
2638
2589
|
placeholder?: string;
|
|
2639
|
-
|
|
2590
|
+
select?: "media" | "document" | "web" | null;
|
|
2591
|
+
customtypes?: readonly string[];
|
|
2592
|
+
masks?: readonly string[];
|
|
2593
|
+
tags?: readonly string[];
|
|
2594
|
+
allowTargetBlank?: boolean;
|
|
2640
2595
|
};
|
|
2641
2596
|
}) | ({
|
|
2642
2597
|
type: "Number";
|
|
@@ -2711,57 +2666,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2711
2666
|
placeholder?: string;
|
|
2712
2667
|
default?: string;
|
|
2713
2668
|
};
|
|
2714
|
-
}) | ({
|
|
2715
|
-
type: "Link";
|
|
2716
|
-
} & {
|
|
2717
|
-
fieldset?: string | null | undefined;
|
|
2718
|
-
config?: {
|
|
2719
|
-
label?: string | null | undefined;
|
|
2720
|
-
useAsTitle?: boolean;
|
|
2721
|
-
placeholder?: string;
|
|
2722
|
-
select?: "media" | "document" | "web" | null;
|
|
2723
|
-
customtypes?: readonly ({
|
|
2724
|
-
customTypeId: string;
|
|
2725
|
-
} & {
|
|
2726
|
-
fetchFields?: boolean;
|
|
2727
|
-
})[];
|
|
2728
|
-
masks?: readonly string[];
|
|
2729
|
-
tags?: readonly string[];
|
|
2730
|
-
allowTargetBlank?: boolean;
|
|
2731
|
-
};
|
|
2732
|
-
}) | ({
|
|
2733
|
-
type: "Image";
|
|
2734
|
-
} & {
|
|
2735
|
-
fieldset?: string | null | undefined;
|
|
2736
|
-
config?: {
|
|
2737
|
-
label?: string | null | undefined;
|
|
2738
|
-
placeholder?: string;
|
|
2739
|
-
constraint?: {
|
|
2740
|
-
width?: number | null;
|
|
2741
|
-
height?: number | null;
|
|
2742
|
-
};
|
|
2743
|
-
thumbnails?: readonly ({
|
|
2744
|
-
name: string;
|
|
2745
|
-
} & {
|
|
2746
|
-
width?: number | null;
|
|
2747
|
-
height?: number | null;
|
|
2748
|
-
})[];
|
|
2749
|
-
};
|
|
2750
|
-
}) | ({
|
|
2751
|
-
type: "IntegrationFields";
|
|
2752
|
-
} & {
|
|
2753
|
-
fieldset?: string | null | undefined;
|
|
2754
|
-
config?: {
|
|
2755
|
-
label?: string | null | undefined;
|
|
2756
|
-
placeholder?: string;
|
|
2757
|
-
catalog?: string;
|
|
2758
|
-
};
|
|
2759
2669
|
});
|
|
2760
2670
|
};
|
|
2761
2671
|
config?: {
|
|
2762
2672
|
label?: string | null | undefined;
|
|
2763
2673
|
};
|
|
2764
|
-
})
|
|
2674
|
+
}) | {
|
|
2675
|
+
type: "SharedSlice";
|
|
2676
|
+
};
|
|
2765
2677
|
};
|
|
2766
2678
|
};
|
|
2767
2679
|
}, unknown, unknown>]>;
|