@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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
import { SharedSlice } from "./SharedSlice";
|
|
3
3
|
import SharedSliceRef from "./SharedSliceRef";
|
|
4
|
+
export declare const LegacySlicesFieldType = "Choice";
|
|
5
|
+
export declare const SlicesFieldType = "Slices";
|
|
4
6
|
export declare const SlicesLabels: t.UnionC<[t.RecordC<t.StringC, t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
5
7
|
name: t.StringC;
|
|
6
8
|
}>, t.PartialC<{
|
|
@@ -1408,7 +1410,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1408
1410
|
label?: string | null | undefined;
|
|
1409
1411
|
useAsTitle?: boolean;
|
|
1410
1412
|
placeholder?: string;
|
|
1411
|
-
select?: "
|
|
1413
|
+
select?: "media" | "document" | "web" | null;
|
|
1412
1414
|
customtypes?: readonly string[];
|
|
1413
1415
|
masks?: readonly string[];
|
|
1414
1416
|
tags?: readonly string[];
|
|
@@ -1567,7 +1569,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1567
1569
|
label?: string | null | undefined;
|
|
1568
1570
|
useAsTitle?: boolean;
|
|
1569
1571
|
placeholder?: string;
|
|
1570
|
-
select?: "
|
|
1572
|
+
select?: "media" | "document" | "web" | null;
|
|
1571
1573
|
customtypes?: readonly string[];
|
|
1572
1574
|
masks?: readonly string[];
|
|
1573
1575
|
tags?: readonly string[];
|
|
@@ -2410,7 +2412,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2410
2412
|
label?: string | null | undefined;
|
|
2411
2413
|
useAsTitle?: boolean;
|
|
2412
2414
|
placeholder?: string;
|
|
2413
|
-
select?: "
|
|
2415
|
+
select?: "media" | "document" | "web" | null;
|
|
2414
2416
|
customtypes?: readonly string[];
|
|
2415
2417
|
masks?: readonly string[];
|
|
2416
2418
|
tags?: readonly string[];
|
|
@@ -2489,6 +2491,175 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2489
2491
|
placeholder?: string;
|
|
2490
2492
|
default?: string;
|
|
2491
2493
|
};
|
|
2494
|
+
}) | ({
|
|
2495
|
+
type: "Group";
|
|
2496
|
+
} & {
|
|
2497
|
+
fieldset?: string | null | undefined;
|
|
2498
|
+
icon?: string;
|
|
2499
|
+
description?: string;
|
|
2500
|
+
config?: {
|
|
2501
|
+
label?: string | null | undefined;
|
|
2502
|
+
repeat?: boolean;
|
|
2503
|
+
fields?: {
|
|
2504
|
+
[x: string]: ({
|
|
2505
|
+
type: "Boolean";
|
|
2506
|
+
} & {
|
|
2507
|
+
config?: {
|
|
2508
|
+
label?: string | null | undefined;
|
|
2509
|
+
default_value?: boolean;
|
|
2510
|
+
placeholder_true?: string;
|
|
2511
|
+
placeholder_false?: string;
|
|
2512
|
+
};
|
|
2513
|
+
}) | ({
|
|
2514
|
+
type: "Color";
|
|
2515
|
+
} & {
|
|
2516
|
+
fieldset?: string | null | undefined;
|
|
2517
|
+
config?: {
|
|
2518
|
+
label?: string | null | undefined;
|
|
2519
|
+
placeholder?: string;
|
|
2520
|
+
};
|
|
2521
|
+
}) | ({
|
|
2522
|
+
type: "Date";
|
|
2523
|
+
} & {
|
|
2524
|
+
fieldset?: string | null | undefined;
|
|
2525
|
+
config?: {
|
|
2526
|
+
label?: string | null | undefined;
|
|
2527
|
+
placeholder?: string;
|
|
2528
|
+
default?: string;
|
|
2529
|
+
};
|
|
2530
|
+
}) | ({
|
|
2531
|
+
type: "Embed";
|
|
2532
|
+
} & {
|
|
2533
|
+
fieldset?: string | null | undefined;
|
|
2534
|
+
config?: {
|
|
2535
|
+
label?: string | null | undefined;
|
|
2536
|
+
placeholder?: string;
|
|
2537
|
+
useAsTitle?: boolean;
|
|
2538
|
+
};
|
|
2539
|
+
}) | ({
|
|
2540
|
+
type: "GeoPoint";
|
|
2541
|
+
} & {
|
|
2542
|
+
fieldset?: string | null | undefined;
|
|
2543
|
+
config?: {
|
|
2544
|
+
label?: string | null | undefined;
|
|
2545
|
+
};
|
|
2546
|
+
}) | ({
|
|
2547
|
+
type: "Image";
|
|
2548
|
+
} & {
|
|
2549
|
+
fieldset?: string | null | undefined;
|
|
2550
|
+
config?: {
|
|
2551
|
+
label?: string | null | undefined;
|
|
2552
|
+
placeholder?: string;
|
|
2553
|
+
constraint?: {
|
|
2554
|
+
width?: number | null;
|
|
2555
|
+
height?: number | null;
|
|
2556
|
+
};
|
|
2557
|
+
thumbnails?: readonly ({
|
|
2558
|
+
name: string;
|
|
2559
|
+
} & {
|
|
2560
|
+
width?: number | null;
|
|
2561
|
+
height?: number | null;
|
|
2562
|
+
})[];
|
|
2563
|
+
};
|
|
2564
|
+
}) | ({
|
|
2565
|
+
type: "IntegrationFields";
|
|
2566
|
+
} & {
|
|
2567
|
+
fieldset?: string | null | undefined;
|
|
2568
|
+
config?: {
|
|
2569
|
+
label?: string | null | undefined;
|
|
2570
|
+
placeholder?: string;
|
|
2571
|
+
catalog?: string;
|
|
2572
|
+
};
|
|
2573
|
+
}) | ({
|
|
2574
|
+
type: "Link";
|
|
2575
|
+
} & {
|
|
2576
|
+
fieldset?: string | null | undefined;
|
|
2577
|
+
config?: {
|
|
2578
|
+
label?: string | null | undefined;
|
|
2579
|
+
useAsTitle?: boolean;
|
|
2580
|
+
placeholder?: string;
|
|
2581
|
+
select?: "media" | "document" | "web" | null;
|
|
2582
|
+
customtypes?: readonly string[];
|
|
2583
|
+
masks?: readonly string[];
|
|
2584
|
+
tags?: readonly string[];
|
|
2585
|
+
allowTargetBlank?: boolean;
|
|
2586
|
+
};
|
|
2587
|
+
}) | ({
|
|
2588
|
+
type: "Number";
|
|
2589
|
+
} & {
|
|
2590
|
+
fieldset?: string | null | undefined;
|
|
2591
|
+
config?: {
|
|
2592
|
+
label?: string | null | undefined;
|
|
2593
|
+
placeholder?: string;
|
|
2594
|
+
min?: number;
|
|
2595
|
+
max?: number;
|
|
2596
|
+
step?: number;
|
|
2597
|
+
};
|
|
2598
|
+
}) | ({
|
|
2599
|
+
type: "Range";
|
|
2600
|
+
} & {
|
|
2601
|
+
fieldset?: string | null | undefined;
|
|
2602
|
+
config?: {
|
|
2603
|
+
label?: string | null | undefined;
|
|
2604
|
+
placeholder?: string;
|
|
2605
|
+
min?: number;
|
|
2606
|
+
max?: number;
|
|
2607
|
+
step?: number;
|
|
2608
|
+
};
|
|
2609
|
+
}) | ({
|
|
2610
|
+
type: "StructuredText";
|
|
2611
|
+
} & {
|
|
2612
|
+
fieldset?: string | null | undefined;
|
|
2613
|
+
config?: {
|
|
2614
|
+
label?: string | null | undefined;
|
|
2615
|
+
placeholder?: string;
|
|
2616
|
+
useAsTitle?: boolean;
|
|
2617
|
+
single?: string;
|
|
2618
|
+
multi?: string;
|
|
2619
|
+
imageConstraint?: {
|
|
2620
|
+
width?: number | null;
|
|
2621
|
+
height?: number | null;
|
|
2622
|
+
};
|
|
2623
|
+
labels?: readonly string[];
|
|
2624
|
+
allowTargetBlank?: boolean;
|
|
2625
|
+
};
|
|
2626
|
+
}) | ({
|
|
2627
|
+
type: "Select";
|
|
2628
|
+
} & {
|
|
2629
|
+
fieldset?: string | null | undefined;
|
|
2630
|
+
config?: {
|
|
2631
|
+
label?: string | null | undefined;
|
|
2632
|
+
placeholder?: string;
|
|
2633
|
+
default_value?: string;
|
|
2634
|
+
options?: readonly string[];
|
|
2635
|
+
};
|
|
2636
|
+
}) | ({
|
|
2637
|
+
type: "Separator";
|
|
2638
|
+
} & {
|
|
2639
|
+
config?: {
|
|
2640
|
+
label?: string | null | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
}) | ({
|
|
2643
|
+
type: "Text";
|
|
2644
|
+
} & {
|
|
2645
|
+
fieldset?: string | null | undefined;
|
|
2646
|
+
config?: {
|
|
2647
|
+
label?: string | null | undefined;
|
|
2648
|
+
useAsTitle?: boolean;
|
|
2649
|
+
placeholder?: string;
|
|
2650
|
+
};
|
|
2651
|
+
}) | ({
|
|
2652
|
+
type: "Timestamp";
|
|
2653
|
+
} & {
|
|
2654
|
+
fieldset?: string | null | undefined;
|
|
2655
|
+
config?: {
|
|
2656
|
+
label?: string | null | undefined;
|
|
2657
|
+
placeholder?: string;
|
|
2658
|
+
default?: string;
|
|
2659
|
+
};
|
|
2660
|
+
});
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2492
2663
|
}) | ({
|
|
2493
2664
|
type: "Slice";
|
|
2494
2665
|
} & {
|
|
@@ -2574,7 +2745,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2574
2745
|
label?: string | null | undefined;
|
|
2575
2746
|
useAsTitle?: boolean;
|
|
2576
2747
|
placeholder?: string;
|
|
2577
|
-
select?: "
|
|
2748
|
+
select?: "media" | "document" | "web" | null;
|
|
2578
2749
|
customtypes?: readonly string[];
|
|
2579
2750
|
masks?: readonly string[];
|
|
2580
2751
|
tags?: readonly string[];
|
|
@@ -2733,7 +2904,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2733
2904
|
label?: string | null | undefined;
|
|
2734
2905
|
useAsTitle?: boolean;
|
|
2735
2906
|
placeholder?: string;
|
|
2736
|
-
select?: "
|
|
2907
|
+
select?: "media" | "document" | "web" | null;
|
|
2737
2908
|
customtypes?: readonly string[];
|
|
2738
2909
|
masks?: readonly string[];
|
|
2739
2910
|
tags?: readonly string[];
|
|
@@ -2818,15 +2989,19 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2818
2989
|
label?: string | null | undefined;
|
|
2819
2990
|
};
|
|
2820
2991
|
}) | ({
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2992
|
+
id: string;
|
|
2993
|
+
type: "SharedSlice";
|
|
2994
|
+
name: string;
|
|
2995
|
+
variations: readonly ({
|
|
2996
|
+
id: string;
|
|
2997
|
+
name: string;
|
|
2998
|
+
description: string;
|
|
2999
|
+
imageUrl: string;
|
|
3000
|
+
docURL: string;
|
|
3001
|
+
version: string;
|
|
3002
|
+
} & {
|
|
3003
|
+
display?: string;
|
|
3004
|
+
primary?: {
|
|
2830
3005
|
[x: string]: ({
|
|
2831
3006
|
type: "Boolean";
|
|
2832
3007
|
} & {
|
|
@@ -2904,7 +3079,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2904
3079
|
label?: string | null | undefined;
|
|
2905
3080
|
useAsTitle?: boolean;
|
|
2906
3081
|
placeholder?: string;
|
|
2907
|
-
select?: "
|
|
3082
|
+
select?: "media" | "document" | "web" | null;
|
|
2908
3083
|
customtypes?: readonly string[];
|
|
2909
3084
|
masks?: readonly string[];
|
|
2910
3085
|
tags?: readonly string[];
|
|
@@ -2985,21 +3160,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2985
3160
|
};
|
|
2986
3161
|
});
|
|
2987
3162
|
};
|
|
2988
|
-
|
|
2989
|
-
}) | ({
|
|
2990
|
-
id: string;
|
|
2991
|
-
type: "SharedSlice";
|
|
2992
|
-
name: string;
|
|
2993
|
-
variations: readonly ({
|
|
2994
|
-
id: string;
|
|
2995
|
-
name: string;
|
|
2996
|
-
description: string;
|
|
2997
|
-
imageUrl: string;
|
|
2998
|
-
docURL: string;
|
|
2999
|
-
version: string;
|
|
3000
|
-
} & {
|
|
3001
|
-
display?: string;
|
|
3002
|
-
primary?: {
|
|
3163
|
+
items?: {
|
|
3003
3164
|
[x: string]: ({
|
|
3004
3165
|
type: "Boolean";
|
|
3005
3166
|
} & {
|
|
@@ -3077,166 +3238,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3077
3238
|
label?: string | null | undefined;
|
|
3078
3239
|
useAsTitle?: boolean;
|
|
3079
3240
|
placeholder?: string;
|
|
3080
|
-
select?: "
|
|
3081
|
-
customtypes?: readonly string[];
|
|
3082
|
-
masks?: readonly string[];
|
|
3083
|
-
tags?: readonly string[];
|
|
3084
|
-
allowTargetBlank?: boolean;
|
|
3085
|
-
};
|
|
3086
|
-
}) | ({
|
|
3087
|
-
type: "Number";
|
|
3088
|
-
} & {
|
|
3089
|
-
fieldset?: string | null | undefined;
|
|
3090
|
-
config?: {
|
|
3091
|
-
label?: string | null | undefined;
|
|
3092
|
-
placeholder?: string;
|
|
3093
|
-
min?: number;
|
|
3094
|
-
max?: number;
|
|
3095
|
-
step?: number;
|
|
3096
|
-
};
|
|
3097
|
-
}) | ({
|
|
3098
|
-
type: "Range";
|
|
3099
|
-
} & {
|
|
3100
|
-
fieldset?: string | null | undefined;
|
|
3101
|
-
config?: {
|
|
3102
|
-
label?: string | null | undefined;
|
|
3103
|
-
placeholder?: string;
|
|
3104
|
-
min?: number;
|
|
3105
|
-
max?: number;
|
|
3106
|
-
step?: number;
|
|
3107
|
-
};
|
|
3108
|
-
}) | ({
|
|
3109
|
-
type: "StructuredText";
|
|
3110
|
-
} & {
|
|
3111
|
-
fieldset?: string | null | undefined;
|
|
3112
|
-
config?: {
|
|
3113
|
-
label?: string | null | undefined;
|
|
3114
|
-
placeholder?: string;
|
|
3115
|
-
useAsTitle?: boolean;
|
|
3116
|
-
single?: string;
|
|
3117
|
-
multi?: string;
|
|
3118
|
-
imageConstraint?: {
|
|
3119
|
-
width?: number | null;
|
|
3120
|
-
height?: number | null;
|
|
3121
|
-
};
|
|
3122
|
-
labels?: readonly string[];
|
|
3123
|
-
allowTargetBlank?: boolean;
|
|
3124
|
-
};
|
|
3125
|
-
}) | ({
|
|
3126
|
-
type: "Select";
|
|
3127
|
-
} & {
|
|
3128
|
-
fieldset?: string | null | undefined;
|
|
3129
|
-
config?: {
|
|
3130
|
-
label?: string | null | undefined;
|
|
3131
|
-
placeholder?: string;
|
|
3132
|
-
default_value?: string;
|
|
3133
|
-
options?: readonly string[];
|
|
3134
|
-
};
|
|
3135
|
-
}) | ({
|
|
3136
|
-
type: "Separator";
|
|
3137
|
-
} & {
|
|
3138
|
-
config?: {
|
|
3139
|
-
label?: string | null | undefined;
|
|
3140
|
-
};
|
|
3141
|
-
}) | ({
|
|
3142
|
-
type: "Text";
|
|
3143
|
-
} & {
|
|
3144
|
-
fieldset?: string | null | undefined;
|
|
3145
|
-
config?: {
|
|
3146
|
-
label?: string | null | undefined;
|
|
3147
|
-
useAsTitle?: boolean;
|
|
3148
|
-
placeholder?: string;
|
|
3149
|
-
};
|
|
3150
|
-
}) | ({
|
|
3151
|
-
type: "Timestamp";
|
|
3152
|
-
} & {
|
|
3153
|
-
fieldset?: string | null | undefined;
|
|
3154
|
-
config?: {
|
|
3155
|
-
label?: string | null | undefined;
|
|
3156
|
-
placeholder?: string;
|
|
3157
|
-
default?: string;
|
|
3158
|
-
};
|
|
3159
|
-
});
|
|
3160
|
-
};
|
|
3161
|
-
items?: {
|
|
3162
|
-
[x: string]: ({
|
|
3163
|
-
type: "Boolean";
|
|
3164
|
-
} & {
|
|
3165
|
-
config?: {
|
|
3166
|
-
label?: string | null | undefined;
|
|
3167
|
-
default_value?: boolean;
|
|
3168
|
-
placeholder_true?: string;
|
|
3169
|
-
placeholder_false?: string;
|
|
3170
|
-
};
|
|
3171
|
-
}) | ({
|
|
3172
|
-
type: "Color";
|
|
3173
|
-
} & {
|
|
3174
|
-
fieldset?: string | null | undefined;
|
|
3175
|
-
config?: {
|
|
3176
|
-
label?: string | null | undefined;
|
|
3177
|
-
placeholder?: string;
|
|
3178
|
-
};
|
|
3179
|
-
}) | ({
|
|
3180
|
-
type: "Date";
|
|
3181
|
-
} & {
|
|
3182
|
-
fieldset?: string | null | undefined;
|
|
3183
|
-
config?: {
|
|
3184
|
-
label?: string | null | undefined;
|
|
3185
|
-
placeholder?: string;
|
|
3186
|
-
default?: string;
|
|
3187
|
-
};
|
|
3188
|
-
}) | ({
|
|
3189
|
-
type: "Embed";
|
|
3190
|
-
} & {
|
|
3191
|
-
fieldset?: string | null | undefined;
|
|
3192
|
-
config?: {
|
|
3193
|
-
label?: string | null | undefined;
|
|
3194
|
-
placeholder?: string;
|
|
3195
|
-
useAsTitle?: boolean;
|
|
3196
|
-
};
|
|
3197
|
-
}) | ({
|
|
3198
|
-
type: "GeoPoint";
|
|
3199
|
-
} & {
|
|
3200
|
-
fieldset?: string | null | undefined;
|
|
3201
|
-
config?: {
|
|
3202
|
-
label?: string | null | undefined;
|
|
3203
|
-
};
|
|
3204
|
-
}) | ({
|
|
3205
|
-
type: "Image";
|
|
3206
|
-
} & {
|
|
3207
|
-
fieldset?: string | null | undefined;
|
|
3208
|
-
config?: {
|
|
3209
|
-
label?: string | null | undefined;
|
|
3210
|
-
placeholder?: string;
|
|
3211
|
-
constraint?: {
|
|
3212
|
-
width?: number | null;
|
|
3213
|
-
height?: number | null;
|
|
3214
|
-
};
|
|
3215
|
-
thumbnails?: readonly ({
|
|
3216
|
-
name: string;
|
|
3217
|
-
} & {
|
|
3218
|
-
width?: number | null;
|
|
3219
|
-
height?: number | null;
|
|
3220
|
-
})[];
|
|
3221
|
-
};
|
|
3222
|
-
}) | ({
|
|
3223
|
-
type: "IntegrationFields";
|
|
3224
|
-
} & {
|
|
3225
|
-
fieldset?: string | null | undefined;
|
|
3226
|
-
config?: {
|
|
3227
|
-
label?: string | null | undefined;
|
|
3228
|
-
placeholder?: string;
|
|
3229
|
-
catalog?: string;
|
|
3230
|
-
};
|
|
3231
|
-
}) | ({
|
|
3232
|
-
type: "Link";
|
|
3233
|
-
} & {
|
|
3234
|
-
fieldset?: string | null | undefined;
|
|
3235
|
-
config?: {
|
|
3236
|
-
label?: string | null | undefined;
|
|
3237
|
-
useAsTitle?: boolean;
|
|
3238
|
-
placeholder?: string;
|
|
3239
|
-
select?: "web" | "media" | "document" | null;
|
|
3241
|
+
select?: "media" | "document" | "web" | null;
|
|
3240
3242
|
customtypes?: readonly string[];
|
|
3241
3243
|
masks?: readonly string[];
|
|
3242
3244
|
tags?: readonly string[];
|
|
@@ -3416,7 +3418,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3416
3418
|
label?: string | null | undefined;
|
|
3417
3419
|
useAsTitle?: boolean;
|
|
3418
3420
|
placeholder?: string;
|
|
3419
|
-
select?: "
|
|
3421
|
+
select?: "media" | "document" | "web" | null;
|
|
3420
3422
|
customtypes?: readonly string[];
|
|
3421
3423
|
masks?: readonly string[];
|
|
3422
3424
|
tags?: readonly string[];
|
|
@@ -3495,6 +3497,175 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3495
3497
|
placeholder?: string;
|
|
3496
3498
|
default?: string;
|
|
3497
3499
|
};
|
|
3500
|
+
}) | ({
|
|
3501
|
+
type: "Group";
|
|
3502
|
+
} & {
|
|
3503
|
+
fieldset?: string | null | undefined;
|
|
3504
|
+
icon?: string;
|
|
3505
|
+
description?: string;
|
|
3506
|
+
config?: {
|
|
3507
|
+
label?: string | null | undefined;
|
|
3508
|
+
repeat?: boolean;
|
|
3509
|
+
fields?: {
|
|
3510
|
+
[x: string]: ({
|
|
3511
|
+
type: "Boolean";
|
|
3512
|
+
} & {
|
|
3513
|
+
config?: {
|
|
3514
|
+
label?: string | null | undefined;
|
|
3515
|
+
default_value?: boolean;
|
|
3516
|
+
placeholder_true?: string;
|
|
3517
|
+
placeholder_false?: string;
|
|
3518
|
+
};
|
|
3519
|
+
}) | ({
|
|
3520
|
+
type: "Color";
|
|
3521
|
+
} & {
|
|
3522
|
+
fieldset?: string | null | undefined;
|
|
3523
|
+
config?: {
|
|
3524
|
+
label?: string | null | undefined;
|
|
3525
|
+
placeholder?: string;
|
|
3526
|
+
};
|
|
3527
|
+
}) | ({
|
|
3528
|
+
type: "Date";
|
|
3529
|
+
} & {
|
|
3530
|
+
fieldset?: string | null | undefined;
|
|
3531
|
+
config?: {
|
|
3532
|
+
label?: string | null | undefined;
|
|
3533
|
+
placeholder?: string;
|
|
3534
|
+
default?: string;
|
|
3535
|
+
};
|
|
3536
|
+
}) | ({
|
|
3537
|
+
type: "Embed";
|
|
3538
|
+
} & {
|
|
3539
|
+
fieldset?: string | null | undefined;
|
|
3540
|
+
config?: {
|
|
3541
|
+
label?: string | null | undefined;
|
|
3542
|
+
placeholder?: string;
|
|
3543
|
+
useAsTitle?: boolean;
|
|
3544
|
+
};
|
|
3545
|
+
}) | ({
|
|
3546
|
+
type: "GeoPoint";
|
|
3547
|
+
} & {
|
|
3548
|
+
fieldset?: string | null | undefined;
|
|
3549
|
+
config?: {
|
|
3550
|
+
label?: string | null | undefined;
|
|
3551
|
+
};
|
|
3552
|
+
}) | ({
|
|
3553
|
+
type: "Image";
|
|
3554
|
+
} & {
|
|
3555
|
+
fieldset?: string | null | undefined;
|
|
3556
|
+
config?: {
|
|
3557
|
+
label?: string | null | undefined;
|
|
3558
|
+
placeholder?: string;
|
|
3559
|
+
constraint?: {
|
|
3560
|
+
width?: number | null;
|
|
3561
|
+
height?: number | null;
|
|
3562
|
+
};
|
|
3563
|
+
thumbnails?: readonly ({
|
|
3564
|
+
name: string;
|
|
3565
|
+
} & {
|
|
3566
|
+
width?: number | null;
|
|
3567
|
+
height?: number | null;
|
|
3568
|
+
})[];
|
|
3569
|
+
};
|
|
3570
|
+
}) | ({
|
|
3571
|
+
type: "IntegrationFields";
|
|
3572
|
+
} & {
|
|
3573
|
+
fieldset?: string | null | undefined;
|
|
3574
|
+
config?: {
|
|
3575
|
+
label?: string | null | undefined;
|
|
3576
|
+
placeholder?: string;
|
|
3577
|
+
catalog?: string;
|
|
3578
|
+
};
|
|
3579
|
+
}) | ({
|
|
3580
|
+
type: "Link";
|
|
3581
|
+
} & {
|
|
3582
|
+
fieldset?: string | null | undefined;
|
|
3583
|
+
config?: {
|
|
3584
|
+
label?: string | null | undefined;
|
|
3585
|
+
useAsTitle?: boolean;
|
|
3586
|
+
placeholder?: string;
|
|
3587
|
+
select?: "media" | "document" | "web" | null;
|
|
3588
|
+
customtypes?: readonly string[];
|
|
3589
|
+
masks?: readonly string[];
|
|
3590
|
+
tags?: readonly string[];
|
|
3591
|
+
allowTargetBlank?: boolean;
|
|
3592
|
+
};
|
|
3593
|
+
}) | ({
|
|
3594
|
+
type: "Number";
|
|
3595
|
+
} & {
|
|
3596
|
+
fieldset?: string | null | undefined;
|
|
3597
|
+
config?: {
|
|
3598
|
+
label?: string | null | undefined;
|
|
3599
|
+
placeholder?: string;
|
|
3600
|
+
min?: number;
|
|
3601
|
+
max?: number;
|
|
3602
|
+
step?: number;
|
|
3603
|
+
};
|
|
3604
|
+
}) | ({
|
|
3605
|
+
type: "Range";
|
|
3606
|
+
} & {
|
|
3607
|
+
fieldset?: string | null | undefined;
|
|
3608
|
+
config?: {
|
|
3609
|
+
label?: string | null | undefined;
|
|
3610
|
+
placeholder?: string;
|
|
3611
|
+
min?: number;
|
|
3612
|
+
max?: number;
|
|
3613
|
+
step?: number;
|
|
3614
|
+
};
|
|
3615
|
+
}) | ({
|
|
3616
|
+
type: "StructuredText";
|
|
3617
|
+
} & {
|
|
3618
|
+
fieldset?: string | null | undefined;
|
|
3619
|
+
config?: {
|
|
3620
|
+
label?: string | null | undefined;
|
|
3621
|
+
placeholder?: string;
|
|
3622
|
+
useAsTitle?: boolean;
|
|
3623
|
+
single?: string;
|
|
3624
|
+
multi?: string;
|
|
3625
|
+
imageConstraint?: {
|
|
3626
|
+
width?: number | null;
|
|
3627
|
+
height?: number | null;
|
|
3628
|
+
};
|
|
3629
|
+
labels?: readonly string[];
|
|
3630
|
+
allowTargetBlank?: boolean;
|
|
3631
|
+
};
|
|
3632
|
+
}) | ({
|
|
3633
|
+
type: "Select";
|
|
3634
|
+
} & {
|
|
3635
|
+
fieldset?: string | null | undefined;
|
|
3636
|
+
config?: {
|
|
3637
|
+
label?: string | null | undefined;
|
|
3638
|
+
placeholder?: string;
|
|
3639
|
+
default_value?: string;
|
|
3640
|
+
options?: readonly string[];
|
|
3641
|
+
};
|
|
3642
|
+
}) | ({
|
|
3643
|
+
type: "Separator";
|
|
3644
|
+
} & {
|
|
3645
|
+
config?: {
|
|
3646
|
+
label?: string | null | undefined;
|
|
3647
|
+
};
|
|
3648
|
+
}) | ({
|
|
3649
|
+
type: "Text";
|
|
3650
|
+
} & {
|
|
3651
|
+
fieldset?: string | null | undefined;
|
|
3652
|
+
config?: {
|
|
3653
|
+
label?: string | null | undefined;
|
|
3654
|
+
useAsTitle?: boolean;
|
|
3655
|
+
placeholder?: string;
|
|
3656
|
+
};
|
|
3657
|
+
}) | ({
|
|
3658
|
+
type: "Timestamp";
|
|
3659
|
+
} & {
|
|
3660
|
+
fieldset?: string | null | undefined;
|
|
3661
|
+
config?: {
|
|
3662
|
+
label?: string | null | undefined;
|
|
3663
|
+
placeholder?: string;
|
|
3664
|
+
default?: string;
|
|
3665
|
+
};
|
|
3666
|
+
});
|
|
3667
|
+
};
|
|
3668
|
+
};
|
|
3498
3669
|
}) | ({
|
|
3499
3670
|
type: "Slice";
|
|
3500
3671
|
} & {
|
|
@@ -3580,7 +3751,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3580
3751
|
label?: string | null | undefined;
|
|
3581
3752
|
useAsTitle?: boolean;
|
|
3582
3753
|
placeholder?: string;
|
|
3583
|
-
select?: "
|
|
3754
|
+
select?: "media" | "document" | "web" | null;
|
|
3584
3755
|
customtypes?: readonly string[];
|
|
3585
3756
|
masks?: readonly string[];
|
|
3586
3757
|
tags?: readonly string[];
|
|
@@ -3739,7 +3910,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3739
3910
|
label?: string | null | undefined;
|
|
3740
3911
|
useAsTitle?: boolean;
|
|
3741
3912
|
placeholder?: string;
|
|
3742
|
-
select?: "
|
|
3913
|
+
select?: "media" | "document" | "web" | null;
|
|
3743
3914
|
customtypes?: readonly string[];
|
|
3744
3915
|
masks?: readonly string[];
|
|
3745
3916
|
tags?: readonly string[];
|
|
@@ -3823,175 +3994,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3823
3994
|
config?: {
|
|
3824
3995
|
label?: string | null | undefined;
|
|
3825
3996
|
};
|
|
3826
|
-
}) | ({
|
|
3827
|
-
type: "Group";
|
|
3828
|
-
} & {
|
|
3829
|
-
fieldset?: string | null | undefined;
|
|
3830
|
-
icon?: string;
|
|
3831
|
-
description?: string;
|
|
3832
|
-
config?: {
|
|
3833
|
-
label?: string | null | undefined;
|
|
3834
|
-
repeat?: boolean;
|
|
3835
|
-
fields?: {
|
|
3836
|
-
[x: string]: ({
|
|
3837
|
-
type: "Boolean";
|
|
3838
|
-
} & {
|
|
3839
|
-
config?: {
|
|
3840
|
-
label?: string | null | undefined;
|
|
3841
|
-
default_value?: boolean;
|
|
3842
|
-
placeholder_true?: string;
|
|
3843
|
-
placeholder_false?: string;
|
|
3844
|
-
};
|
|
3845
|
-
}) | ({
|
|
3846
|
-
type: "Color";
|
|
3847
|
-
} & {
|
|
3848
|
-
fieldset?: string | null | undefined;
|
|
3849
|
-
config?: {
|
|
3850
|
-
label?: string | null | undefined;
|
|
3851
|
-
placeholder?: string;
|
|
3852
|
-
};
|
|
3853
|
-
}) | ({
|
|
3854
|
-
type: "Date";
|
|
3855
|
-
} & {
|
|
3856
|
-
fieldset?: string | null | undefined;
|
|
3857
|
-
config?: {
|
|
3858
|
-
label?: string | null | undefined;
|
|
3859
|
-
placeholder?: string;
|
|
3860
|
-
default?: string;
|
|
3861
|
-
};
|
|
3862
|
-
}) | ({
|
|
3863
|
-
type: "Embed";
|
|
3864
|
-
} & {
|
|
3865
|
-
fieldset?: string | null | undefined;
|
|
3866
|
-
config?: {
|
|
3867
|
-
label?: string | null | undefined;
|
|
3868
|
-
placeholder?: string;
|
|
3869
|
-
useAsTitle?: boolean;
|
|
3870
|
-
};
|
|
3871
|
-
}) | ({
|
|
3872
|
-
type: "GeoPoint";
|
|
3873
|
-
} & {
|
|
3874
|
-
fieldset?: string | null | undefined;
|
|
3875
|
-
config?: {
|
|
3876
|
-
label?: string | null | undefined;
|
|
3877
|
-
};
|
|
3878
|
-
}) | ({
|
|
3879
|
-
type: "Image";
|
|
3880
|
-
} & {
|
|
3881
|
-
fieldset?: string | null | undefined;
|
|
3882
|
-
config?: {
|
|
3883
|
-
label?: string | null | undefined;
|
|
3884
|
-
placeholder?: string;
|
|
3885
|
-
constraint?: {
|
|
3886
|
-
width?: number | null;
|
|
3887
|
-
height?: number | null;
|
|
3888
|
-
};
|
|
3889
|
-
thumbnails?: readonly ({
|
|
3890
|
-
name: string;
|
|
3891
|
-
} & {
|
|
3892
|
-
width?: number | null;
|
|
3893
|
-
height?: number | null;
|
|
3894
|
-
})[];
|
|
3895
|
-
};
|
|
3896
|
-
}) | ({
|
|
3897
|
-
type: "IntegrationFields";
|
|
3898
|
-
} & {
|
|
3899
|
-
fieldset?: string | null | undefined;
|
|
3900
|
-
config?: {
|
|
3901
|
-
label?: string | null | undefined;
|
|
3902
|
-
placeholder?: string;
|
|
3903
|
-
catalog?: string;
|
|
3904
|
-
};
|
|
3905
|
-
}) | ({
|
|
3906
|
-
type: "Link";
|
|
3907
|
-
} & {
|
|
3908
|
-
fieldset?: string | null | undefined;
|
|
3909
|
-
config?: {
|
|
3910
|
-
label?: string | null | undefined;
|
|
3911
|
-
useAsTitle?: boolean;
|
|
3912
|
-
placeholder?: string;
|
|
3913
|
-
select?: "web" | "media" | "document" | null;
|
|
3914
|
-
customtypes?: readonly string[];
|
|
3915
|
-
masks?: readonly string[];
|
|
3916
|
-
tags?: readonly string[];
|
|
3917
|
-
allowTargetBlank?: boolean;
|
|
3918
|
-
};
|
|
3919
|
-
}) | ({
|
|
3920
|
-
type: "Number";
|
|
3921
|
-
} & {
|
|
3922
|
-
fieldset?: string | null | undefined;
|
|
3923
|
-
config?: {
|
|
3924
|
-
label?: string | null | undefined;
|
|
3925
|
-
placeholder?: string;
|
|
3926
|
-
min?: number;
|
|
3927
|
-
max?: number;
|
|
3928
|
-
step?: number;
|
|
3929
|
-
};
|
|
3930
|
-
}) | ({
|
|
3931
|
-
type: "Range";
|
|
3932
|
-
} & {
|
|
3933
|
-
fieldset?: string | null | undefined;
|
|
3934
|
-
config?: {
|
|
3935
|
-
label?: string | null | undefined;
|
|
3936
|
-
placeholder?: string;
|
|
3937
|
-
min?: number;
|
|
3938
|
-
max?: number;
|
|
3939
|
-
step?: number;
|
|
3940
|
-
};
|
|
3941
|
-
}) | ({
|
|
3942
|
-
type: "StructuredText";
|
|
3943
|
-
} & {
|
|
3944
|
-
fieldset?: string | null | undefined;
|
|
3945
|
-
config?: {
|
|
3946
|
-
label?: string | null | undefined;
|
|
3947
|
-
placeholder?: string;
|
|
3948
|
-
useAsTitle?: boolean;
|
|
3949
|
-
single?: string;
|
|
3950
|
-
multi?: string;
|
|
3951
|
-
imageConstraint?: {
|
|
3952
|
-
width?: number | null;
|
|
3953
|
-
height?: number | null;
|
|
3954
|
-
};
|
|
3955
|
-
labels?: readonly string[];
|
|
3956
|
-
allowTargetBlank?: boolean;
|
|
3957
|
-
};
|
|
3958
|
-
}) | ({
|
|
3959
|
-
type: "Select";
|
|
3960
|
-
} & {
|
|
3961
|
-
fieldset?: string | null | undefined;
|
|
3962
|
-
config?: {
|
|
3963
|
-
label?: string | null | undefined;
|
|
3964
|
-
placeholder?: string;
|
|
3965
|
-
default_value?: string;
|
|
3966
|
-
options?: readonly string[];
|
|
3967
|
-
};
|
|
3968
|
-
}) | ({
|
|
3969
|
-
type: "Separator";
|
|
3970
|
-
} & {
|
|
3971
|
-
config?: {
|
|
3972
|
-
label?: string | null | undefined;
|
|
3973
|
-
};
|
|
3974
|
-
}) | ({
|
|
3975
|
-
type: "Text";
|
|
3976
|
-
} & {
|
|
3977
|
-
fieldset?: string | null | undefined;
|
|
3978
|
-
config?: {
|
|
3979
|
-
label?: string | null | undefined;
|
|
3980
|
-
useAsTitle?: boolean;
|
|
3981
|
-
placeholder?: string;
|
|
3982
|
-
};
|
|
3983
|
-
}) | ({
|
|
3984
|
-
type: "Timestamp";
|
|
3985
|
-
} & {
|
|
3986
|
-
fieldset?: string | null | undefined;
|
|
3987
|
-
config?: {
|
|
3988
|
-
label?: string | null | undefined;
|
|
3989
|
-
placeholder?: string;
|
|
3990
|
-
default?: string;
|
|
3991
|
-
};
|
|
3992
|
-
});
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
3997
|
}) | {
|
|
3996
3998
|
type: "SharedSlice";
|
|
3997
3999
|
};
|