|
1 | 1 | export declare namespace ContentTree { |
2 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo | Text; |
| 2 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text; |
3 | 3 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
4 | 4 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
5 | 5 | interface Node { |
@@ -110,6 +110,11 @@ export declare namespace ContentTree { |
110 | 110 | teaserTitleOverride?: string; |
111 | 111 | teaser: Teaser; |
112 | 112 | } |
| 113 | + interface RecommendedList extends Node { |
| 114 | + type: "recommended-list"; |
| 115 | + heading?: string; |
| 116 | + children: Recommended[]; |
| 117 | + } |
113 | 118 | type TeaserConcept = { |
114 | 119 | apiUrl: string; |
115 | 120 | directType: string; |
@@ -145,6 +150,7 @@ export declare namespace ContentTree { |
145 | 150 | width: number; |
146 | 151 | height: number; |
147 | 152 | }; |
| 153 | + clientName?: string; |
148 | 154 | }; |
149 | 155 | interface Tweet extends Node { |
150 | 156 | id: string; |
@@ -280,7 +286,7 @@ export declare namespace ContentTree { |
280 | 286 | attributes: CustomCodeComponentAttributes; |
281 | 287 | } |
282 | 288 | namespace full { |
283 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo | Text; |
| 289 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text; |
284 | 290 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
285 | 291 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
286 | 292 | interface Node { |
@@ -391,6 +397,11 @@ export declare namespace ContentTree { |
391 | 397 | teaserTitleOverride?: string; |
392 | 398 | teaser: Teaser; |
393 | 399 | } |
| 400 | + interface RecommendedList extends Node { |
| 401 | + type: "recommended-list"; |
| 402 | + heading?: string; |
| 403 | + children: Recommended[]; |
| 404 | + } |
394 | 405 | type TeaserConcept = { |
395 | 406 | apiUrl: string; |
396 | 407 | directType: string; |
@@ -426,6 +437,7 @@ export declare namespace ContentTree { |
426 | 437 | width: number; |
427 | 438 | height: number; |
428 | 439 | }; |
| 440 | + clientName?: string; |
429 | 441 | }; |
430 | 442 | interface Tweet extends Node { |
431 | 443 | id: string; |
@@ -562,7 +574,7 @@ export declare namespace ContentTree { |
562 | 574 | } |
563 | 575 | } |
564 | 576 | namespace transit { |
565 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo | Text; |
| 577 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text; |
566 | 578 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
567 | 579 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
568 | 580 | interface Node { |
@@ -671,6 +683,11 @@ export declare namespace ContentTree { |
671 | 683 | heading?: string; |
672 | 684 | teaserTitleOverride?: string; |
673 | 685 | } |
| 686 | + interface RecommendedList extends Node { |
| 687 | + type: "recommended-list"; |
| 688 | + heading?: string; |
| 689 | + children: Recommended[]; |
| 690 | + } |
674 | 691 | type TeaserConcept = { |
675 | 692 | apiUrl: string; |
676 | 693 | directType: string; |
@@ -706,6 +723,7 @@ export declare namespace ContentTree { |
706 | 723 | width: number; |
707 | 724 | height: number; |
708 | 725 | }; |
| 726 | + clientName?: string; |
709 | 727 | }; |
710 | 728 | interface Tweet extends Node { |
711 | 729 | id: string; |
@@ -829,7 +847,7 @@ export declare namespace ContentTree { |
829 | 847 | } |
830 | 848 | } |
831 | 849 | namespace loose { |
832 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo | Text; |
| 850 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text; |
833 | 851 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
834 | 852 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
835 | 853 | interface Node { |
@@ -940,6 +958,11 @@ export declare namespace ContentTree { |
940 | 958 | teaserTitleOverride?: string; |
941 | 959 | teaser?: Teaser; |
942 | 960 | } |
| 961 | + interface RecommendedList extends Node { |
| 962 | + type: "recommended-list"; |
| 963 | + heading?: string; |
| 964 | + children: Recommended[]; |
| 965 | + } |
943 | 966 | type TeaserConcept = { |
944 | 967 | apiUrl: string; |
945 | 968 | directType: string; |
@@ -975,6 +998,7 @@ export declare namespace ContentTree { |
975 | 998 | width: number; |
976 | 999 | height: number; |
977 | 1000 | }; |
| 1001 | + clientName?: string; |
978 | 1002 | }; |
979 | 1003 | interface Tweet extends Node { |
980 | 1004 | id: string; |
|
0 commit comments