@prismicio/types-internal 1.5.3 → 2.0.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/WidgetKey.d.ts +3 -0
- package/lib/common/WidgetKey.js +8 -0
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +4 -0
- package/lib/content/Document.d.ts +4285 -2573
- package/lib/content/Document.js +87 -10
- package/lib/content/LegacyContentCtx.d.ts +41 -0
- package/lib/content/LegacyContentCtx.js +65 -0
- package/lib/content/fields/EmptyContent.d.ts +16 -0
- package/lib/content/fields/EmptyContent.js +30 -0
- package/lib/content/fields/GroupContent.d.ts +1063 -364
- package/lib/content/fields/GroupContent.js +65 -6
- package/lib/content/fields/UIDContent.d.ts +10 -1
- package/lib/content/fields/UIDContent.js +17 -4
- package/lib/content/fields/WidgetContent.d.ts +6820 -0
- package/lib/content/fields/WidgetContent.js +57 -0
- package/lib/content/fields/index.d.ts +1 -2989
- package/lib/content/fields/index.js +1 -18
- package/lib/content/fields/nestable/BooleanContent.d.ts +10 -1
- package/lib/content/fields/nestable/BooleanContent.js +17 -4
- package/lib/content/fields/nestable/EmbedContent.d.ts +56 -5
- package/lib/content/fields/nestable/EmbedContent.js +57 -6
- package/lib/content/fields/nestable/FieldContent/ColorContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/ColorContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/DateContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/DateContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/NumberContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/NumberContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/RangeContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/RangeContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/SelectContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/SelectContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/TextContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/TextContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/TimestampContent.d.ts +18 -0
- package/lib/content/fields/nestable/FieldContent/TimestampContent.js +34 -0
- package/lib/content/fields/nestable/FieldContent/common.d.ts +1 -0
- package/lib/content/fields/nestable/FieldContent/common.js +4 -0
- package/lib/content/fields/nestable/FieldContent/index.d.ts +49 -0
- package/lib/content/fields/nestable/FieldContent/index.js +38 -0
- package/lib/content/fields/nestable/FieldContent.d.ts +7 -1
- package/lib/content/fields/nestable/FieldContent.js +19 -4
- package/lib/content/fields/nestable/GeoPointContent.d.ts +19 -4
- package/lib/content/fields/nestable/GeoPointContent.js +22 -5
- package/lib/content/fields/nestable/ImageContent.d.ts +109 -11
- package/lib/content/fields/nestable/ImageContent.js +64 -6
- package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +10 -1
- package/lib/content/fields/nestable/IntegrationFieldContent.js +20 -4
- package/lib/content/fields/nestable/LinkContent.d.ts +240 -87
- package/lib/content/fields/nestable/LinkContent.js +133 -36
- package/lib/content/fields/nestable/NestableContent.d.ts +711 -251
- package/lib/content/fields/nestable/NestableContent.js +116 -13
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +594 -0
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +151 -0
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +489 -0
- package/lib/content/fields/nestable/RichTextContent/index.js +27 -0
- package/lib/content/fields/nestable/SeparatorContent.d.ts +8 -1
- package/lib/content/fields/nestable/SeparatorContent.js +15 -4
- package/lib/content/fields/slices/CompositeSliceContent.d.ts +296 -362
- package/lib/content/fields/slices/RepeatableContent.d.ts +148 -181
- package/lib/content/fields/slices/SharedSliceContent.d.ts +296 -362
- package/lib/content/fields/slices/SimpleSliceContent.d.ts +296 -362
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1709 -0
- package/lib/content/fields/slices/Slice/CompositeSliceContent.js +81 -0
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +582 -0
- package/lib/content/fields/slices/Slice/RepeatableContent.js +18 -0
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1713 -0
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +98 -0
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +1429 -0
- package/lib/content/fields/slices/Slice/SimpleSliceContent.js +24 -0
- package/lib/content/fields/slices/Slice/index.d.ts +3216 -0
- package/lib/content/fields/slices/Slice/index.js +41 -0
- package/lib/content/fields/slices/SliceItem.d.ts +3498 -0
- package/lib/content/fields/slices/SliceItem.js +61 -0
- package/lib/content/fields/slices/SlicesContent.d.ts +4243 -3576
- package/lib/content/fields/slices/SlicesContent.js +28 -18
- package/lib/content/fields/slices/index.d.ts +4 -3
- package/lib/content/fields/slices/index.js +4 -3
- package/lib/content/index.d.ts +1 -0
- package/lib/content/index.js +1 -0
- package/lib/content/utils.d.ts +10 -0
- package/lib/content/utils.js +19 -0
- package/lib/customtypes/CustomType.d.ts +366 -366
- package/lib/customtypes/CustomType.js +4 -7
- package/lib/customtypes/Section.d.ts +366 -366
- package/lib/customtypes/Section.js +2 -2
- package/lib/customtypes/diff/SharedSlice.d.ts +4 -4
- package/lib/customtypes/diff/Variation.d.ts +4 -4
- package/lib/customtypes/index.d.ts +1 -1
- package/lib/customtypes/index.js +2 -2
- package/lib/customtypes/widgets/Group.d.ts +1 -0
- package/lib/customtypes/widgets/Group.js +6 -5
- package/lib/customtypes/widgets/UID.d.ts +1 -0
- package/lib/customtypes/widgets/UID.js +3 -2
- package/lib/customtypes/widgets/Widget.d.ts +384 -362
- package/lib/customtypes/widgets/Widget.js +29 -8
- package/lib/customtypes/widgets/index.d.ts +6 -7
- package/lib/customtypes/widgets/index.js +6 -11
- package/lib/customtypes/widgets/nestable/BooleanField.d.ts +10 -3
- package/lib/customtypes/widgets/nestable/BooleanField.js +6 -6
- package/lib/customtypes/widgets/nestable/Color.d.ts +8 -3
- package/lib/customtypes/widgets/nestable/Color.js +6 -6
- package/lib/customtypes/widgets/nestable/Date.d.ts +9 -3
- package/lib/customtypes/widgets/nestable/Date.js +6 -6
- package/lib/customtypes/widgets/nestable/Embed.d.ts +9 -3
- package/lib/customtypes/widgets/nestable/Embed.js +6 -6
- package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +7 -3
- package/lib/customtypes/widgets/nestable/GeoPoint.js +6 -6
- package/lib/customtypes/widgets/nestable/Image.d.ts +25 -3
- package/lib/customtypes/widgets/nestable/Image.js +8 -8
- package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +9 -3
- package/lib/customtypes/widgets/nestable/IntegrationField.js +6 -6
- package/lib/customtypes/widgets/nestable/Link.d.ts +14 -2
- package/lib/customtypes/widgets/nestable/Link.js +7 -6
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +3 -3
- package/lib/customtypes/widgets/nestable/NestableWidget.js +30 -30
- package/lib/customtypes/widgets/nestable/Number.d.ts +11 -3
- package/lib/customtypes/widgets/nestable/Number.js +6 -6
- package/lib/customtypes/widgets/nestable/Range.d.ts +11 -3
- package/lib/customtypes/widgets/nestable/Range.js +6 -6
- package/lib/customtypes/widgets/nestable/RichText.d.ts +1 -0
- package/lib/customtypes/widgets/nestable/RichText.js +3 -3
- package/lib/customtypes/widgets/nestable/Select.d.ts +10 -3
- package/lib/customtypes/widgets/nestable/Select.js +6 -6
- package/lib/customtypes/widgets/nestable/Separator.d.ts +7 -3
- package/lib/customtypes/widgets/nestable/Separator.js +6 -6
- package/lib/customtypes/widgets/nestable/Text.d.ts +9 -2
- package/lib/customtypes/widgets/nestable/Text.js +7 -6
- package/lib/customtypes/widgets/nestable/Timestamp.d.ts +9 -3
- package/lib/customtypes/widgets/nestable/Timestamp.js +6 -6
- package/lib/customtypes/widgets/nestable/index.d.ts +15 -15
- package/lib/customtypes/widgets/nestable/index.js +15 -31
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.js +7 -6
- package/lib/customtypes/widgets/slices/LegacySlice.js +2 -2
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +1 -0
- package/lib/customtypes/widgets/slices/SharedSlice.js +7 -7
- package/lib/customtypes/widgets/slices/SharedSliceRef.js +2 -2
- package/lib/customtypes/widgets/slices/Slices.d.ts +364 -362
- package/lib/customtypes/widgets/slices/Slices.js +8 -8
- package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +6 -5
- package/lib/customtypes/widgets/slices/SlicesTypes.js +8 -4
- package/lib/documents/DocumentData.d.ts +3 -14
- package/lib/documents/DocumentData.js +5 -60
- package/lib/documents/widgets/nestable/ImageContent.d.ts +1 -1
- package/lib/documents/widgets/nestable/ImageContent.js +2 -2
- package/lib/utils/Objects.d.ts +1 -0
- package/lib/utils/Objects.js +10 -1
- package/package.json +1 -1
- package/src/common/WidgetKey.ts +13 -0
- package/src/common/index.ts +1 -0
- package/src/content/Document.ts +129 -16
- package/src/content/LegacyContentCtx.ts +57 -0
- package/src/content/fields/EmptyContent.ts +45 -0
- package/src/content/fields/GroupContent.ts +103 -8
- package/src/content/fields/UIDContent.ts +33 -3
- package/src/content/fields/WidgetContent.ts +76 -0
- package/src/content/fields/index.ts +1 -23
- package/src/content/fields/nestable/BooleanContent.ts +32 -3
- package/src/content/fields/nestable/EmbedContent.ts +79 -8
- package/src/content/fields/nestable/FieldContent/ColorContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/DateContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/NumberContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/RangeContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/SelectContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/TextContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/TimestampContent.ts +48 -0
- package/src/content/fields/nestable/FieldContent/common.ts +1 -0
- package/src/content/fields/nestable/FieldContent/index.ts +40 -0
- package/src/content/fields/nestable/GeoPointContent.ts +38 -7
- package/src/content/fields/nestable/ImageContent.ts +91 -11
- package/src/content/fields/nestable/IntegrationFieldContent.ts +42 -3
- package/src/content/fields/nestable/LinkContent.ts +208 -47
- package/src/content/fields/nestable/NestableContent.ts +180 -24
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +205 -0
- package/src/content/fields/nestable/RichTextContent/index.ts +43 -0
- package/src/content/fields/nestable/SeparatorContent.ts +26 -3
- package/src/content/fields/slices/Slice/CompositeSliceContent.ts +118 -0
- package/src/content/fields/slices/{RepeatableContent.ts → Slice/RepeatableContent.ts} +7 -4
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +129 -0
- package/src/content/fields/slices/Slice/SimpleSliceContent.ts +30 -0
- package/src/content/fields/slices/Slice/index.ts +47 -0
- package/src/content/fields/slices/SliceItem.ts +83 -0
- package/src/content/fields/slices/SlicesContent.ts +47 -19
- package/src/content/fields/slices/index.ts +4 -3
- package/src/content/index.ts +1 -0
- package/src/content/utils.ts +20 -0
- package/src/customtypes/CustomType.ts +4 -10
- package/src/customtypes/Section.ts +1 -1
- package/src/customtypes/index.ts +1 -1
- package/src/customtypes/widgets/Group.ts +4 -4
- package/src/customtypes/widgets/UID.ts +3 -2
- package/src/customtypes/widgets/Widget.ts +53 -7
- package/src/customtypes/widgets/index.ts +6 -7
- package/src/customtypes/widgets/nestable/BooleanField.ts +7 -8
- package/src/customtypes/widgets/nestable/Color.ts +6 -8
- package/src/customtypes/widgets/nestable/Date.ts +7 -8
- package/src/customtypes/widgets/nestable/Embed.ts +7 -8
- package/src/customtypes/widgets/nestable/GeoPoint.ts +7 -8
- package/src/customtypes/widgets/nestable/Image.ts +9 -10
- package/src/customtypes/widgets/nestable/IntegrationField.ts +6 -8
- package/src/customtypes/widgets/nestable/Link.ts +7 -6
- package/src/customtypes/widgets/nestable/NestableWidget.ts +17 -18
- package/src/customtypes/widgets/nestable/Number.ts +7 -8
- package/src/customtypes/widgets/nestable/Range.ts +7 -8
- package/src/customtypes/widgets/nestable/RichText.ts +3 -2
- package/src/customtypes/widgets/nestable/Select.ts +7 -8
- package/src/customtypes/widgets/nestable/Separator.ts +7 -8
- package/src/customtypes/widgets/nestable/Text.ts +7 -6
- package/src/customtypes/widgets/nestable/Timestamp.ts +7 -8
- package/src/customtypes/widgets/nestable/index.ts +15 -15
- package/src/customtypes/widgets/slices/CompositeSlice.ts +5 -4
- package/src/customtypes/widgets/slices/LegacySlice.ts +1 -1
- package/src/customtypes/widgets/slices/SharedSlice.ts +5 -4
- package/src/customtypes/widgets/slices/SharedSliceRef.ts +2 -2
- package/src/customtypes/widgets/slices/Slices.ts +7 -6
- package/src/customtypes/widgets/slices/SlicesTypes.ts +10 -5
- package/src/utils/Objects.ts +12 -0
- package/src/content/fields/nestable/FieldContent.ts +0 -25
- package/src/content/fields/nestable/RichTextContent.ts +0 -32
- package/src/content/fields/slices/CompositeSliceContent.ts +0 -14
- package/src/content/fields/slices/SharedSliceContent.ts +0 -14
- package/src/content/fields/slices/SimpleSliceContent.ts +0 -7
- package/src/customtypes/widgets/WidgetTypes.ts +0 -24
- package/src/documents/DocumentData.ts +0 -112
- package/src/documents/index.ts +0 -2
- package/src/documents/widgets/EmptyContent.ts +0 -8
- package/src/documents/widgets/GroupContent.ts +0 -91
- package/src/documents/widgets/SimpleWidgetContent.ts +0 -96
- package/src/documents/widgets/StaticWidgetContent.ts +0 -46
- package/src/documents/widgets/UIDContent.ts +0 -18
- package/src/documents/widgets/index.ts +0 -70
- package/src/documents/widgets/nestable/BooleanContent.ts +0 -21
- package/src/documents/widgets/nestable/EmbedContent.ts +0 -56
- package/src/documents/widgets/nestable/FieldContent.ts +0 -53
- package/src/documents/widgets/nestable/GeoPointContent.ts +0 -18
- package/src/documents/widgets/nestable/ImageContent.ts +0 -51
- package/src/documents/widgets/nestable/IntegrationFieldsContent.ts +0 -26
- package/src/documents/widgets/nestable/Link/DocumentLink.ts +0 -18
- package/src/documents/widgets/nestable/Link/ExternalLink.ts +0 -31
- package/src/documents/widgets/nestable/Link/FileLink.ts +0 -30
- package/src/documents/widgets/nestable/Link/ImageLink.ts +0 -31
- package/src/documents/widgets/nestable/Link/LinkContent.ts +0 -25
- package/src/documents/widgets/nestable/Link/index.ts +0 -35
- package/src/documents/widgets/nestable/SeparatorContent.ts +0 -13
- package/src/documents/widgets/nestable/StructuredTextContent/Block.ts +0 -126
- package/src/documents/widgets/nestable/StructuredTextContent/index.ts +0 -25
- package/src/documents/widgets/nestable/index.ts +0 -35
- package/src/documents/widgets/slices/CompositeSliceContent.ts +0 -77
- package/src/documents/widgets/slices/SharedSliceContent.ts +0 -94
- package/src/documents/widgets/slices/SimpleSliceContent.ts +0 -4
- package/src/documents/widgets/slices/SliceWidgetContent.ts +0 -51
- package/src/documents/widgets/slices/SlicesContent.ts +0 -91
- package/src/documents/widgets/slices/index.ts +0 -5
- package/src/index.ts +0 -3
|
@@ -90,7 +90,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
90
90
|
label?: string | null | undefined;
|
|
91
91
|
useAsTitle?: boolean;
|
|
92
92
|
placeholder?: string;
|
|
93
|
-
select?: "
|
|
93
|
+
select?: "media" | "document" | "web" | null;
|
|
94
94
|
customtypes?: readonly string[];
|
|
95
95
|
masks?: readonly string[];
|
|
96
96
|
tags?: readonly string[];
|
|
@@ -256,7 +256,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
256
256
|
label?: string | null | undefined;
|
|
257
257
|
useAsTitle?: boolean;
|
|
258
258
|
placeholder?: string;
|
|
259
|
-
select?: "
|
|
259
|
+
select?: "media" | "document" | "web" | null;
|
|
260
260
|
customtypes?: readonly string[];
|
|
261
261
|
masks?: readonly string[];
|
|
262
262
|
tags?: readonly string[];
|
|
@@ -339,7 +339,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
}) | ({
|
|
342
|
-
type: "
|
|
342
|
+
type: "Choice" | "Slices";
|
|
343
343
|
} & {
|
|
344
344
|
fieldset?: string | null | undefined;
|
|
345
345
|
config?: {
|
|
@@ -429,7 +429,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
429
429
|
label?: string | null | undefined;
|
|
430
430
|
useAsTitle?: boolean;
|
|
431
431
|
placeholder?: string;
|
|
432
|
-
select?: "
|
|
432
|
+
select?: "media" | "document" | "web" | null;
|
|
433
433
|
customtypes?: readonly string[];
|
|
434
434
|
masks?: readonly string[];
|
|
435
435
|
tags?: readonly string[];
|
|
@@ -508,6 +508,175 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
508
508
|
placeholder?: string;
|
|
509
509
|
default?: string;
|
|
510
510
|
};
|
|
511
|
+
}) | ({
|
|
512
|
+
type: "Group";
|
|
513
|
+
} & {
|
|
514
|
+
fieldset?: string | null | undefined;
|
|
515
|
+
icon?: string;
|
|
516
|
+
description?: string;
|
|
517
|
+
config?: {
|
|
518
|
+
label?: string | null | undefined;
|
|
519
|
+
repeat?: boolean;
|
|
520
|
+
fields?: {
|
|
521
|
+
[x: string]: ({
|
|
522
|
+
type: "Boolean";
|
|
523
|
+
} & {
|
|
524
|
+
config?: {
|
|
525
|
+
label?: string | null | undefined;
|
|
526
|
+
default_value?: boolean;
|
|
527
|
+
placeholder_true?: string;
|
|
528
|
+
placeholder_false?: string;
|
|
529
|
+
};
|
|
530
|
+
}) | ({
|
|
531
|
+
type: "Color";
|
|
532
|
+
} & {
|
|
533
|
+
fieldset?: string | null | undefined;
|
|
534
|
+
config?: {
|
|
535
|
+
label?: string | null | undefined;
|
|
536
|
+
placeholder?: string;
|
|
537
|
+
};
|
|
538
|
+
}) | ({
|
|
539
|
+
type: "Date";
|
|
540
|
+
} & {
|
|
541
|
+
fieldset?: string | null | undefined;
|
|
542
|
+
config?: {
|
|
543
|
+
label?: string | null | undefined;
|
|
544
|
+
placeholder?: string;
|
|
545
|
+
default?: string;
|
|
546
|
+
};
|
|
547
|
+
}) | ({
|
|
548
|
+
type: "Embed";
|
|
549
|
+
} & {
|
|
550
|
+
fieldset?: string | null | undefined;
|
|
551
|
+
config?: {
|
|
552
|
+
label?: string | null | undefined;
|
|
553
|
+
placeholder?: string;
|
|
554
|
+
useAsTitle?: boolean;
|
|
555
|
+
};
|
|
556
|
+
}) | ({
|
|
557
|
+
type: "GeoPoint";
|
|
558
|
+
} & {
|
|
559
|
+
fieldset?: string | null | undefined;
|
|
560
|
+
config?: {
|
|
561
|
+
label?: string | null | undefined;
|
|
562
|
+
};
|
|
563
|
+
}) | ({
|
|
564
|
+
type: "Image";
|
|
565
|
+
} & {
|
|
566
|
+
fieldset?: string | null | undefined;
|
|
567
|
+
config?: {
|
|
568
|
+
label?: string | null | undefined;
|
|
569
|
+
placeholder?: string;
|
|
570
|
+
constraint?: {
|
|
571
|
+
width?: number | null;
|
|
572
|
+
height?: number | null;
|
|
573
|
+
};
|
|
574
|
+
thumbnails?: readonly ({
|
|
575
|
+
name: string;
|
|
576
|
+
} & {
|
|
577
|
+
width?: number | null;
|
|
578
|
+
height?: number | null;
|
|
579
|
+
})[];
|
|
580
|
+
};
|
|
581
|
+
}) | ({
|
|
582
|
+
type: "IntegrationFields";
|
|
583
|
+
} & {
|
|
584
|
+
fieldset?: string | null | undefined;
|
|
585
|
+
config?: {
|
|
586
|
+
label?: string | null | undefined;
|
|
587
|
+
placeholder?: string;
|
|
588
|
+
catalog?: string;
|
|
589
|
+
};
|
|
590
|
+
}) | ({
|
|
591
|
+
type: "Link";
|
|
592
|
+
} & {
|
|
593
|
+
fieldset?: string | null | undefined;
|
|
594
|
+
config?: {
|
|
595
|
+
label?: string | null | undefined;
|
|
596
|
+
useAsTitle?: boolean;
|
|
597
|
+
placeholder?: string;
|
|
598
|
+
select?: "media" | "document" | "web" | null;
|
|
599
|
+
customtypes?: readonly string[];
|
|
600
|
+
masks?: readonly string[];
|
|
601
|
+
tags?: readonly string[];
|
|
602
|
+
allowTargetBlank?: boolean;
|
|
603
|
+
};
|
|
604
|
+
}) | ({
|
|
605
|
+
type: "Number";
|
|
606
|
+
} & {
|
|
607
|
+
fieldset?: string | null | undefined;
|
|
608
|
+
config?: {
|
|
609
|
+
label?: string | null | undefined;
|
|
610
|
+
placeholder?: string;
|
|
611
|
+
min?: number;
|
|
612
|
+
max?: number;
|
|
613
|
+
step?: number;
|
|
614
|
+
};
|
|
615
|
+
}) | ({
|
|
616
|
+
type: "Range";
|
|
617
|
+
} & {
|
|
618
|
+
fieldset?: string | null | undefined;
|
|
619
|
+
config?: {
|
|
620
|
+
label?: string | null | undefined;
|
|
621
|
+
placeholder?: string;
|
|
622
|
+
min?: number;
|
|
623
|
+
max?: number;
|
|
624
|
+
step?: number;
|
|
625
|
+
};
|
|
626
|
+
}) | ({
|
|
627
|
+
type: "StructuredText";
|
|
628
|
+
} & {
|
|
629
|
+
fieldset?: string | null | undefined;
|
|
630
|
+
config?: {
|
|
631
|
+
label?: string | null | undefined;
|
|
632
|
+
placeholder?: string;
|
|
633
|
+
useAsTitle?: boolean;
|
|
634
|
+
single?: string;
|
|
635
|
+
multi?: string;
|
|
636
|
+
imageConstraint?: {
|
|
637
|
+
width?: number | null;
|
|
638
|
+
height?: number | null;
|
|
639
|
+
};
|
|
640
|
+
labels?: readonly string[];
|
|
641
|
+
allowTargetBlank?: boolean;
|
|
642
|
+
};
|
|
643
|
+
}) | ({
|
|
644
|
+
type: "Select";
|
|
645
|
+
} & {
|
|
646
|
+
fieldset?: string | null | undefined;
|
|
647
|
+
config?: {
|
|
648
|
+
label?: string | null | undefined;
|
|
649
|
+
placeholder?: string;
|
|
650
|
+
default_value?: string;
|
|
651
|
+
options?: readonly string[];
|
|
652
|
+
};
|
|
653
|
+
}) | ({
|
|
654
|
+
type: "Separator";
|
|
655
|
+
} & {
|
|
656
|
+
config?: {
|
|
657
|
+
label?: string | null | undefined;
|
|
658
|
+
};
|
|
659
|
+
}) | ({
|
|
660
|
+
type: "Text";
|
|
661
|
+
} & {
|
|
662
|
+
fieldset?: string | null | undefined;
|
|
663
|
+
config?: {
|
|
664
|
+
label?: string | null | undefined;
|
|
665
|
+
useAsTitle?: boolean;
|
|
666
|
+
placeholder?: string;
|
|
667
|
+
};
|
|
668
|
+
}) | ({
|
|
669
|
+
type: "Timestamp";
|
|
670
|
+
} & {
|
|
671
|
+
fieldset?: string | null | undefined;
|
|
672
|
+
config?: {
|
|
673
|
+
label?: string | null | undefined;
|
|
674
|
+
placeholder?: string;
|
|
675
|
+
default?: string;
|
|
676
|
+
};
|
|
677
|
+
});
|
|
678
|
+
};
|
|
679
|
+
};
|
|
511
680
|
}) | ({
|
|
512
681
|
type: "Slice";
|
|
513
682
|
} & {
|
|
@@ -593,7 +762,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
593
762
|
label?: string | null | undefined;
|
|
594
763
|
useAsTitle?: boolean;
|
|
595
764
|
placeholder?: string;
|
|
596
|
-
select?: "
|
|
765
|
+
select?: "media" | "document" | "web" | null;
|
|
597
766
|
customtypes?: readonly string[];
|
|
598
767
|
masks?: readonly string[];
|
|
599
768
|
tags?: readonly string[];
|
|
@@ -752,7 +921,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
752
921
|
label?: string | null | undefined;
|
|
753
922
|
useAsTitle?: boolean;
|
|
754
923
|
placeholder?: string;
|
|
755
|
-
select?: "
|
|
924
|
+
select?: "media" | "document" | "web" | null;
|
|
756
925
|
customtypes?: readonly string[];
|
|
757
926
|
masks?: readonly string[];
|
|
758
927
|
tags?: readonly string[];
|
|
@@ -837,15 +1006,19 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
837
1006
|
label?: string | null | undefined;
|
|
838
1007
|
};
|
|
839
1008
|
}) | ({
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1009
|
+
id: string;
|
|
1010
|
+
type: "SharedSlice";
|
|
1011
|
+
name: string;
|
|
1012
|
+
variations: readonly ({
|
|
1013
|
+
id: string;
|
|
1014
|
+
name: string;
|
|
1015
|
+
description: string;
|
|
1016
|
+
imageUrl: string;
|
|
1017
|
+
docURL: string;
|
|
1018
|
+
version: string;
|
|
1019
|
+
} & {
|
|
1020
|
+
display?: string;
|
|
1021
|
+
primary?: {
|
|
849
1022
|
[x: string]: ({
|
|
850
1023
|
type: "Boolean";
|
|
851
1024
|
} & {
|
|
@@ -923,7 +1096,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
923
1096
|
label?: string | null | undefined;
|
|
924
1097
|
useAsTitle?: boolean;
|
|
925
1098
|
placeholder?: string;
|
|
926
|
-
select?: "
|
|
1099
|
+
select?: "media" | "document" | "web" | null;
|
|
927
1100
|
customtypes?: readonly string[];
|
|
928
1101
|
masks?: readonly string[];
|
|
929
1102
|
tags?: readonly string[];
|
|
@@ -1004,21 +1177,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1004
1177
|
};
|
|
1005
1178
|
});
|
|
1006
1179
|
};
|
|
1007
|
-
|
|
1008
|
-
}) | ({
|
|
1009
|
-
id: string;
|
|
1010
|
-
type: "SharedSlice";
|
|
1011
|
-
name: string;
|
|
1012
|
-
variations: readonly ({
|
|
1013
|
-
id: string;
|
|
1014
|
-
name: string;
|
|
1015
|
-
description: string;
|
|
1016
|
-
imageUrl: string;
|
|
1017
|
-
docURL: string;
|
|
1018
|
-
version: string;
|
|
1019
|
-
} & {
|
|
1020
|
-
display?: string;
|
|
1021
|
-
primary?: {
|
|
1180
|
+
items?: {
|
|
1022
1181
|
[x: string]: ({
|
|
1023
1182
|
type: "Boolean";
|
|
1024
1183
|
} & {
|
|
@@ -1096,166 +1255,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1096
1255
|
label?: string | null | undefined;
|
|
1097
1256
|
useAsTitle?: boolean;
|
|
1098
1257
|
placeholder?: string;
|
|
1099
|
-
select?: "
|
|
1100
|
-
customtypes?: readonly string[];
|
|
1101
|
-
masks?: readonly string[];
|
|
1102
|
-
tags?: readonly string[];
|
|
1103
|
-
allowTargetBlank?: boolean;
|
|
1104
|
-
};
|
|
1105
|
-
}) | ({
|
|
1106
|
-
type: "Number";
|
|
1107
|
-
} & {
|
|
1108
|
-
fieldset?: string | null | undefined;
|
|
1109
|
-
config?: {
|
|
1110
|
-
label?: string | null | undefined;
|
|
1111
|
-
placeholder?: string;
|
|
1112
|
-
min?: number;
|
|
1113
|
-
max?: number;
|
|
1114
|
-
step?: number;
|
|
1115
|
-
};
|
|
1116
|
-
}) | ({
|
|
1117
|
-
type: "Range";
|
|
1118
|
-
} & {
|
|
1119
|
-
fieldset?: string | null | undefined;
|
|
1120
|
-
config?: {
|
|
1121
|
-
label?: string | null | undefined;
|
|
1122
|
-
placeholder?: string;
|
|
1123
|
-
min?: number;
|
|
1124
|
-
max?: number;
|
|
1125
|
-
step?: number;
|
|
1126
|
-
};
|
|
1127
|
-
}) | ({
|
|
1128
|
-
type: "StructuredText";
|
|
1129
|
-
} & {
|
|
1130
|
-
fieldset?: string | null | undefined;
|
|
1131
|
-
config?: {
|
|
1132
|
-
label?: string | null | undefined;
|
|
1133
|
-
placeholder?: string;
|
|
1134
|
-
useAsTitle?: boolean;
|
|
1135
|
-
single?: string;
|
|
1136
|
-
multi?: string;
|
|
1137
|
-
imageConstraint?: {
|
|
1138
|
-
width?: number | null;
|
|
1139
|
-
height?: number | null;
|
|
1140
|
-
};
|
|
1141
|
-
labels?: readonly string[];
|
|
1142
|
-
allowTargetBlank?: boolean;
|
|
1143
|
-
};
|
|
1144
|
-
}) | ({
|
|
1145
|
-
type: "Select";
|
|
1146
|
-
} & {
|
|
1147
|
-
fieldset?: string | null | undefined;
|
|
1148
|
-
config?: {
|
|
1149
|
-
label?: string | null | undefined;
|
|
1150
|
-
placeholder?: string;
|
|
1151
|
-
default_value?: string;
|
|
1152
|
-
options?: readonly string[];
|
|
1153
|
-
};
|
|
1154
|
-
}) | ({
|
|
1155
|
-
type: "Separator";
|
|
1156
|
-
} & {
|
|
1157
|
-
config?: {
|
|
1158
|
-
label?: string | null | undefined;
|
|
1159
|
-
};
|
|
1160
|
-
}) | ({
|
|
1161
|
-
type: "Text";
|
|
1162
|
-
} & {
|
|
1163
|
-
fieldset?: string | null | undefined;
|
|
1164
|
-
config?: {
|
|
1165
|
-
label?: string | null | undefined;
|
|
1166
|
-
useAsTitle?: boolean;
|
|
1167
|
-
placeholder?: string;
|
|
1168
|
-
};
|
|
1169
|
-
}) | ({
|
|
1170
|
-
type: "Timestamp";
|
|
1171
|
-
} & {
|
|
1172
|
-
fieldset?: string | null | undefined;
|
|
1173
|
-
config?: {
|
|
1174
|
-
label?: string | null | undefined;
|
|
1175
|
-
placeholder?: string;
|
|
1176
|
-
default?: string;
|
|
1177
|
-
};
|
|
1178
|
-
});
|
|
1179
|
-
};
|
|
1180
|
-
items?: {
|
|
1181
|
-
[x: string]: ({
|
|
1182
|
-
type: "Boolean";
|
|
1183
|
-
} & {
|
|
1184
|
-
config?: {
|
|
1185
|
-
label?: string | null | undefined;
|
|
1186
|
-
default_value?: boolean;
|
|
1187
|
-
placeholder_true?: string;
|
|
1188
|
-
placeholder_false?: string;
|
|
1189
|
-
};
|
|
1190
|
-
}) | ({
|
|
1191
|
-
type: "Color";
|
|
1192
|
-
} & {
|
|
1193
|
-
fieldset?: string | null | undefined;
|
|
1194
|
-
config?: {
|
|
1195
|
-
label?: string | null | undefined;
|
|
1196
|
-
placeholder?: string;
|
|
1197
|
-
};
|
|
1198
|
-
}) | ({
|
|
1199
|
-
type: "Date";
|
|
1200
|
-
} & {
|
|
1201
|
-
fieldset?: string | null | undefined;
|
|
1202
|
-
config?: {
|
|
1203
|
-
label?: string | null | undefined;
|
|
1204
|
-
placeholder?: string;
|
|
1205
|
-
default?: string;
|
|
1206
|
-
};
|
|
1207
|
-
}) | ({
|
|
1208
|
-
type: "Embed";
|
|
1209
|
-
} & {
|
|
1210
|
-
fieldset?: string | null | undefined;
|
|
1211
|
-
config?: {
|
|
1212
|
-
label?: string | null | undefined;
|
|
1213
|
-
placeholder?: string;
|
|
1214
|
-
useAsTitle?: boolean;
|
|
1215
|
-
};
|
|
1216
|
-
}) | ({
|
|
1217
|
-
type: "GeoPoint";
|
|
1218
|
-
} & {
|
|
1219
|
-
fieldset?: string | null | undefined;
|
|
1220
|
-
config?: {
|
|
1221
|
-
label?: string | null | undefined;
|
|
1222
|
-
};
|
|
1223
|
-
}) | ({
|
|
1224
|
-
type: "Image";
|
|
1225
|
-
} & {
|
|
1226
|
-
fieldset?: string | null | undefined;
|
|
1227
|
-
config?: {
|
|
1228
|
-
label?: string | null | undefined;
|
|
1229
|
-
placeholder?: string;
|
|
1230
|
-
constraint?: {
|
|
1231
|
-
width?: number | null;
|
|
1232
|
-
height?: number | null;
|
|
1233
|
-
};
|
|
1234
|
-
thumbnails?: readonly ({
|
|
1235
|
-
name: string;
|
|
1236
|
-
} & {
|
|
1237
|
-
width?: number | null;
|
|
1238
|
-
height?: number | null;
|
|
1239
|
-
})[];
|
|
1240
|
-
};
|
|
1241
|
-
}) | ({
|
|
1242
|
-
type: "IntegrationFields";
|
|
1243
|
-
} & {
|
|
1244
|
-
fieldset?: string | null | undefined;
|
|
1245
|
-
config?: {
|
|
1246
|
-
label?: string | null | undefined;
|
|
1247
|
-
placeholder?: string;
|
|
1248
|
-
catalog?: string;
|
|
1249
|
-
};
|
|
1250
|
-
}) | ({
|
|
1251
|
-
type: "Link";
|
|
1252
|
-
} & {
|
|
1253
|
-
fieldset?: string | null | undefined;
|
|
1254
|
-
config?: {
|
|
1255
|
-
label?: string | null | undefined;
|
|
1256
|
-
useAsTitle?: boolean;
|
|
1257
|
-
placeholder?: string;
|
|
1258
|
-
select?: "web" | "media" | "document" | null;
|
|
1258
|
+
select?: "media" | "document" | "web" | null;
|
|
1259
1259
|
customtypes?: readonly string[];
|
|
1260
1260
|
masks?: readonly string[];
|
|
1261
1261
|
tags?: readonly string[];
|
|
@@ -1440,7 +1440,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1440
1440
|
label?: string | null | undefined;
|
|
1441
1441
|
useAsTitle?: boolean;
|
|
1442
1442
|
placeholder?: string;
|
|
1443
|
-
select?: "
|
|
1443
|
+
select?: "media" | "document" | "web" | null;
|
|
1444
1444
|
customtypes?: readonly string[];
|
|
1445
1445
|
masks?: readonly string[];
|
|
1446
1446
|
tags?: readonly string[];
|
|
@@ -1606,7 +1606,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1606
1606
|
label?: string | null | undefined;
|
|
1607
1607
|
useAsTitle?: boolean;
|
|
1608
1608
|
placeholder?: string;
|
|
1609
|
-
select?: "
|
|
1609
|
+
select?: "media" | "document" | "web" | null;
|
|
1610
1610
|
customtypes?: readonly string[];
|
|
1611
1611
|
masks?: readonly string[];
|
|
1612
1612
|
tags?: readonly string[];
|
|
@@ -1689,7 +1689,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1689
1689
|
};
|
|
1690
1690
|
};
|
|
1691
1691
|
}) | ({
|
|
1692
|
-
type: "
|
|
1692
|
+
type: "Choice" | "Slices";
|
|
1693
1693
|
} & {
|
|
1694
1694
|
fieldset?: string | null | undefined;
|
|
1695
1695
|
config?: {
|
|
@@ -1779,7 +1779,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1779
1779
|
label?: string | null | undefined;
|
|
1780
1780
|
useAsTitle?: boolean;
|
|
1781
1781
|
placeholder?: string;
|
|
1782
|
-
select?: "
|
|
1782
|
+
select?: "media" | "document" | "web" | null;
|
|
1783
1783
|
customtypes?: readonly string[];
|
|
1784
1784
|
masks?: readonly string[];
|
|
1785
1785
|
tags?: readonly string[];
|
|
@@ -1858,6 +1858,175 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1858
1858
|
placeholder?: string;
|
|
1859
1859
|
default?: string;
|
|
1860
1860
|
};
|
|
1861
|
+
}) | ({
|
|
1862
|
+
type: "Group";
|
|
1863
|
+
} & {
|
|
1864
|
+
fieldset?: string | null | undefined;
|
|
1865
|
+
icon?: string;
|
|
1866
|
+
description?: string;
|
|
1867
|
+
config?: {
|
|
1868
|
+
label?: string | null | undefined;
|
|
1869
|
+
repeat?: boolean;
|
|
1870
|
+
fields?: {
|
|
1871
|
+
[x: string]: ({
|
|
1872
|
+
type: "Boolean";
|
|
1873
|
+
} & {
|
|
1874
|
+
config?: {
|
|
1875
|
+
label?: string | null | undefined;
|
|
1876
|
+
default_value?: boolean;
|
|
1877
|
+
placeholder_true?: string;
|
|
1878
|
+
placeholder_false?: string;
|
|
1879
|
+
};
|
|
1880
|
+
}) | ({
|
|
1881
|
+
type: "Color";
|
|
1882
|
+
} & {
|
|
1883
|
+
fieldset?: string | null | undefined;
|
|
1884
|
+
config?: {
|
|
1885
|
+
label?: string | null | undefined;
|
|
1886
|
+
placeholder?: string;
|
|
1887
|
+
};
|
|
1888
|
+
}) | ({
|
|
1889
|
+
type: "Date";
|
|
1890
|
+
} & {
|
|
1891
|
+
fieldset?: string | null | undefined;
|
|
1892
|
+
config?: {
|
|
1893
|
+
label?: string | null | undefined;
|
|
1894
|
+
placeholder?: string;
|
|
1895
|
+
default?: string;
|
|
1896
|
+
};
|
|
1897
|
+
}) | ({
|
|
1898
|
+
type: "Embed";
|
|
1899
|
+
} & {
|
|
1900
|
+
fieldset?: string | null | undefined;
|
|
1901
|
+
config?: {
|
|
1902
|
+
label?: string | null | undefined;
|
|
1903
|
+
placeholder?: string;
|
|
1904
|
+
useAsTitle?: boolean;
|
|
1905
|
+
};
|
|
1906
|
+
}) | ({
|
|
1907
|
+
type: "GeoPoint";
|
|
1908
|
+
} & {
|
|
1909
|
+
fieldset?: string | null | undefined;
|
|
1910
|
+
config?: {
|
|
1911
|
+
label?: string | null | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
}) | ({
|
|
1914
|
+
type: "Image";
|
|
1915
|
+
} & {
|
|
1916
|
+
fieldset?: string | null | undefined;
|
|
1917
|
+
config?: {
|
|
1918
|
+
label?: string | null | undefined;
|
|
1919
|
+
placeholder?: string;
|
|
1920
|
+
constraint?: {
|
|
1921
|
+
width?: number | null;
|
|
1922
|
+
height?: number | null;
|
|
1923
|
+
};
|
|
1924
|
+
thumbnails?: readonly ({
|
|
1925
|
+
name: string;
|
|
1926
|
+
} & {
|
|
1927
|
+
width?: number | null;
|
|
1928
|
+
height?: number | null;
|
|
1929
|
+
})[];
|
|
1930
|
+
};
|
|
1931
|
+
}) | ({
|
|
1932
|
+
type: "IntegrationFields";
|
|
1933
|
+
} & {
|
|
1934
|
+
fieldset?: string | null | undefined;
|
|
1935
|
+
config?: {
|
|
1936
|
+
label?: string | null | undefined;
|
|
1937
|
+
placeholder?: string;
|
|
1938
|
+
catalog?: string;
|
|
1939
|
+
};
|
|
1940
|
+
}) | ({
|
|
1941
|
+
type: "Link";
|
|
1942
|
+
} & {
|
|
1943
|
+
fieldset?: string | null | undefined;
|
|
1944
|
+
config?: {
|
|
1945
|
+
label?: string | null | undefined;
|
|
1946
|
+
useAsTitle?: boolean;
|
|
1947
|
+
placeholder?: string;
|
|
1948
|
+
select?: "media" | "document" | "web" | null;
|
|
1949
|
+
customtypes?: readonly string[];
|
|
1950
|
+
masks?: readonly string[];
|
|
1951
|
+
tags?: readonly string[];
|
|
1952
|
+
allowTargetBlank?: boolean;
|
|
1953
|
+
};
|
|
1954
|
+
}) | ({
|
|
1955
|
+
type: "Number";
|
|
1956
|
+
} & {
|
|
1957
|
+
fieldset?: string | null | undefined;
|
|
1958
|
+
config?: {
|
|
1959
|
+
label?: string | null | undefined;
|
|
1960
|
+
placeholder?: string;
|
|
1961
|
+
min?: number;
|
|
1962
|
+
max?: number;
|
|
1963
|
+
step?: number;
|
|
1964
|
+
};
|
|
1965
|
+
}) | ({
|
|
1966
|
+
type: "Range";
|
|
1967
|
+
} & {
|
|
1968
|
+
fieldset?: string | null | undefined;
|
|
1969
|
+
config?: {
|
|
1970
|
+
label?: string | null | undefined;
|
|
1971
|
+
placeholder?: string;
|
|
1972
|
+
min?: number;
|
|
1973
|
+
max?: number;
|
|
1974
|
+
step?: number;
|
|
1975
|
+
};
|
|
1976
|
+
}) | ({
|
|
1977
|
+
type: "StructuredText";
|
|
1978
|
+
} & {
|
|
1979
|
+
fieldset?: string | null | undefined;
|
|
1980
|
+
config?: {
|
|
1981
|
+
label?: string | null | undefined;
|
|
1982
|
+
placeholder?: string;
|
|
1983
|
+
useAsTitle?: boolean;
|
|
1984
|
+
single?: string;
|
|
1985
|
+
multi?: string;
|
|
1986
|
+
imageConstraint?: {
|
|
1987
|
+
width?: number | null;
|
|
1988
|
+
height?: number | null;
|
|
1989
|
+
};
|
|
1990
|
+
labels?: readonly string[];
|
|
1991
|
+
allowTargetBlank?: boolean;
|
|
1992
|
+
};
|
|
1993
|
+
}) | ({
|
|
1994
|
+
type: "Select";
|
|
1995
|
+
} & {
|
|
1996
|
+
fieldset?: string | null | undefined;
|
|
1997
|
+
config?: {
|
|
1998
|
+
label?: string | null | undefined;
|
|
1999
|
+
placeholder?: string;
|
|
2000
|
+
default_value?: string;
|
|
2001
|
+
options?: readonly string[];
|
|
2002
|
+
};
|
|
2003
|
+
}) | ({
|
|
2004
|
+
type: "Separator";
|
|
2005
|
+
} & {
|
|
2006
|
+
config?: {
|
|
2007
|
+
label?: string | null | undefined;
|
|
2008
|
+
};
|
|
2009
|
+
}) | ({
|
|
2010
|
+
type: "Text";
|
|
2011
|
+
} & {
|
|
2012
|
+
fieldset?: string | null | undefined;
|
|
2013
|
+
config?: {
|
|
2014
|
+
label?: string | null | undefined;
|
|
2015
|
+
useAsTitle?: boolean;
|
|
2016
|
+
placeholder?: string;
|
|
2017
|
+
};
|
|
2018
|
+
}) | ({
|
|
2019
|
+
type: "Timestamp";
|
|
2020
|
+
} & {
|
|
2021
|
+
fieldset?: string | null | undefined;
|
|
2022
|
+
config?: {
|
|
2023
|
+
label?: string | null | undefined;
|
|
2024
|
+
placeholder?: string;
|
|
2025
|
+
default?: string;
|
|
2026
|
+
};
|
|
2027
|
+
});
|
|
2028
|
+
};
|
|
2029
|
+
};
|
|
1861
2030
|
}) | ({
|
|
1862
2031
|
type: "Slice";
|
|
1863
2032
|
} & {
|
|
@@ -1943,7 +2112,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1943
2112
|
label?: string | null | undefined;
|
|
1944
2113
|
useAsTitle?: boolean;
|
|
1945
2114
|
placeholder?: string;
|
|
1946
|
-
select?: "
|
|
2115
|
+
select?: "media" | "document" | "web" | null;
|
|
1947
2116
|
customtypes?: readonly string[];
|
|
1948
2117
|
masks?: readonly string[];
|
|
1949
2118
|
tags?: readonly string[];
|
|
@@ -2102,7 +2271,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2102
2271
|
label?: string | null | undefined;
|
|
2103
2272
|
useAsTitle?: boolean;
|
|
2104
2273
|
placeholder?: string;
|
|
2105
|
-
select?: "
|
|
2274
|
+
select?: "media" | "document" | "web" | null;
|
|
2106
2275
|
customtypes?: readonly string[];
|
|
2107
2276
|
masks?: readonly string[];
|
|
2108
2277
|
tags?: readonly string[];
|
|
@@ -2186,175 +2355,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2186
2355
|
config?: {
|
|
2187
2356
|
label?: string | null | undefined;
|
|
2188
2357
|
};
|
|
2189
|
-
}) | ({
|
|
2190
|
-
type: "Group";
|
|
2191
|
-
} & {
|
|
2192
|
-
fieldset?: string | null | undefined;
|
|
2193
|
-
icon?: string;
|
|
2194
|
-
description?: string;
|
|
2195
|
-
config?: {
|
|
2196
|
-
label?: string | null | undefined;
|
|
2197
|
-
repeat?: boolean;
|
|
2198
|
-
fields?: {
|
|
2199
|
-
[x: string]: ({
|
|
2200
|
-
type: "Boolean";
|
|
2201
|
-
} & {
|
|
2202
|
-
config?: {
|
|
2203
|
-
label?: string | null | undefined;
|
|
2204
|
-
default_value?: boolean;
|
|
2205
|
-
placeholder_true?: string;
|
|
2206
|
-
placeholder_false?: string;
|
|
2207
|
-
};
|
|
2208
|
-
}) | ({
|
|
2209
|
-
type: "Color";
|
|
2210
|
-
} & {
|
|
2211
|
-
fieldset?: string | null | undefined;
|
|
2212
|
-
config?: {
|
|
2213
|
-
label?: string | null | undefined;
|
|
2214
|
-
placeholder?: string;
|
|
2215
|
-
};
|
|
2216
|
-
}) | ({
|
|
2217
|
-
type: "Date";
|
|
2218
|
-
} & {
|
|
2219
|
-
fieldset?: string | null | undefined;
|
|
2220
|
-
config?: {
|
|
2221
|
-
label?: string | null | undefined;
|
|
2222
|
-
placeholder?: string;
|
|
2223
|
-
default?: string;
|
|
2224
|
-
};
|
|
2225
|
-
}) | ({
|
|
2226
|
-
type: "Embed";
|
|
2227
|
-
} & {
|
|
2228
|
-
fieldset?: string | null | undefined;
|
|
2229
|
-
config?: {
|
|
2230
|
-
label?: string | null | undefined;
|
|
2231
|
-
placeholder?: string;
|
|
2232
|
-
useAsTitle?: boolean;
|
|
2233
|
-
};
|
|
2234
|
-
}) | ({
|
|
2235
|
-
type: "GeoPoint";
|
|
2236
|
-
} & {
|
|
2237
|
-
fieldset?: string | null | undefined;
|
|
2238
|
-
config?: {
|
|
2239
|
-
label?: string | null | undefined;
|
|
2240
|
-
};
|
|
2241
|
-
}) | ({
|
|
2242
|
-
type: "Image";
|
|
2243
|
-
} & {
|
|
2244
|
-
fieldset?: string | null | undefined;
|
|
2245
|
-
config?: {
|
|
2246
|
-
label?: string | null | undefined;
|
|
2247
|
-
placeholder?: string;
|
|
2248
|
-
constraint?: {
|
|
2249
|
-
width?: number | null;
|
|
2250
|
-
height?: number | null;
|
|
2251
|
-
};
|
|
2252
|
-
thumbnails?: readonly ({
|
|
2253
|
-
name: string;
|
|
2254
|
-
} & {
|
|
2255
|
-
width?: number | null;
|
|
2256
|
-
height?: number | null;
|
|
2257
|
-
})[];
|
|
2258
|
-
};
|
|
2259
|
-
}) | ({
|
|
2260
|
-
type: "IntegrationFields";
|
|
2261
|
-
} & {
|
|
2262
|
-
fieldset?: string | null | undefined;
|
|
2263
|
-
config?: {
|
|
2264
|
-
label?: string | null | undefined;
|
|
2265
|
-
placeholder?: string;
|
|
2266
|
-
catalog?: string;
|
|
2267
|
-
};
|
|
2268
|
-
}) | ({
|
|
2269
|
-
type: "Link";
|
|
2270
|
-
} & {
|
|
2271
|
-
fieldset?: string | null | undefined;
|
|
2272
|
-
config?: {
|
|
2273
|
-
label?: string | null | undefined;
|
|
2274
|
-
useAsTitle?: boolean;
|
|
2275
|
-
placeholder?: string;
|
|
2276
|
-
select?: "web" | "media" | "document" | null;
|
|
2277
|
-
customtypes?: readonly string[];
|
|
2278
|
-
masks?: readonly string[];
|
|
2279
|
-
tags?: readonly string[];
|
|
2280
|
-
allowTargetBlank?: boolean;
|
|
2281
|
-
};
|
|
2282
|
-
}) | ({
|
|
2283
|
-
type: "Number";
|
|
2284
|
-
} & {
|
|
2285
|
-
fieldset?: string | null | undefined;
|
|
2286
|
-
config?: {
|
|
2287
|
-
label?: string | null | undefined;
|
|
2288
|
-
placeholder?: string;
|
|
2289
|
-
min?: number;
|
|
2290
|
-
max?: number;
|
|
2291
|
-
step?: number;
|
|
2292
|
-
};
|
|
2293
|
-
}) | ({
|
|
2294
|
-
type: "Range";
|
|
2295
|
-
} & {
|
|
2296
|
-
fieldset?: string | null | undefined;
|
|
2297
|
-
config?: {
|
|
2298
|
-
label?: string | null | undefined;
|
|
2299
|
-
placeholder?: string;
|
|
2300
|
-
min?: number;
|
|
2301
|
-
max?: number;
|
|
2302
|
-
step?: number;
|
|
2303
|
-
};
|
|
2304
|
-
}) | ({
|
|
2305
|
-
type: "StructuredText";
|
|
2306
|
-
} & {
|
|
2307
|
-
fieldset?: string | null | undefined;
|
|
2308
|
-
config?: {
|
|
2309
|
-
label?: string | null | undefined;
|
|
2310
|
-
placeholder?: string;
|
|
2311
|
-
useAsTitle?: boolean;
|
|
2312
|
-
single?: string;
|
|
2313
|
-
multi?: string;
|
|
2314
|
-
imageConstraint?: {
|
|
2315
|
-
width?: number | null;
|
|
2316
|
-
height?: number | null;
|
|
2317
|
-
};
|
|
2318
|
-
labels?: readonly string[];
|
|
2319
|
-
allowTargetBlank?: boolean;
|
|
2320
|
-
};
|
|
2321
|
-
}) | ({
|
|
2322
|
-
type: "Select";
|
|
2323
|
-
} & {
|
|
2324
|
-
fieldset?: string | null | undefined;
|
|
2325
|
-
config?: {
|
|
2326
|
-
label?: string | null | undefined;
|
|
2327
|
-
placeholder?: string;
|
|
2328
|
-
default_value?: string;
|
|
2329
|
-
options?: readonly string[];
|
|
2330
|
-
};
|
|
2331
|
-
}) | ({
|
|
2332
|
-
type: "Separator";
|
|
2333
|
-
} & {
|
|
2334
|
-
config?: {
|
|
2335
|
-
label?: string | null | undefined;
|
|
2336
|
-
};
|
|
2337
|
-
}) | ({
|
|
2338
|
-
type: "Text";
|
|
2339
|
-
} & {
|
|
2340
|
-
fieldset?: string | null | undefined;
|
|
2341
|
-
config?: {
|
|
2342
|
-
label?: string | null | undefined;
|
|
2343
|
-
useAsTitle?: boolean;
|
|
2344
|
-
placeholder?: string;
|
|
2345
|
-
};
|
|
2346
|
-
}) | ({
|
|
2347
|
-
type: "Timestamp";
|
|
2348
|
-
} & {
|
|
2349
|
-
fieldset?: string | null | undefined;
|
|
2350
|
-
config?: {
|
|
2351
|
-
label?: string | null | undefined;
|
|
2352
|
-
placeholder?: string;
|
|
2353
|
-
default?: string;
|
|
2354
|
-
};
|
|
2355
|
-
});
|
|
2356
|
-
};
|
|
2357
|
-
};
|
|
2358
2358
|
}) | {
|
|
2359
2359
|
type: "SharedSlice";
|
|
2360
2360
|
};
|