|
1 | 1 | export declare namespace ContentTree { |
2 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair; |
| 2 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair | Comparison; |
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 { |
@@ -227,6 +227,11 @@ export declare namespace ContentTree { |
227 | 227 | credit: string; |
228 | 228 | picture: ImageSetPicture; |
229 | 229 | } |
| 230 | + interface Card extends Parent { |
| 231 | + type: "card"; |
| 232 | + title?: string; |
| 233 | + children: [ImageSet] | [Paragraph] | [ImageSet, Paragraph]; |
| 234 | + } |
230 | 235 | type TableColumnSettings = { |
231 | 236 | hideOnMobile: boolean; |
232 | 237 | sortable: boolean; |
@@ -289,8 +294,13 @@ export declare namespace ContentTree { |
289 | 294 | type: 'image-pair'; |
290 | 295 | children: [ImageSet, ImageSet]; |
291 | 296 | } |
| 297 | + interface Comparison extends Parent { |
| 298 | + type: 'comparison'; |
| 299 | + title?: string; |
| 300 | + children: [Card, Card]; |
| 301 | + } |
292 | 302 | namespace full { |
293 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair; |
| 303 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair | Comparison; |
294 | 304 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
295 | 305 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
296 | 306 | interface Node { |
@@ -518,6 +528,11 @@ export declare namespace ContentTree { |
518 | 528 | credit: string; |
519 | 529 | picture: ImageSetPicture; |
520 | 530 | } |
| 531 | + interface Card extends Parent { |
| 532 | + type: "card"; |
| 533 | + title?: string; |
| 534 | + children: [ImageSet] | [Paragraph] | [ImageSet, Paragraph]; |
| 535 | + } |
521 | 536 | type TableColumnSettings = { |
522 | 537 | hideOnMobile: boolean; |
523 | 538 | sortable: boolean; |
@@ -580,9 +595,14 @@ export declare namespace ContentTree { |
580 | 595 | type: 'image-pair'; |
581 | 596 | children: [ImageSet, ImageSet]; |
582 | 597 | } |
| 598 | + interface Comparison extends Parent { |
| 599 | + type: 'comparison'; |
| 600 | + title?: string; |
| 601 | + children: [Card, Card]; |
| 602 | + } |
583 | 603 | } |
584 | 604 | namespace transit { |
585 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair; |
| 605 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair | Comparison; |
586 | 606 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
587 | 607 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
588 | 608 | interface Node { |
@@ -803,6 +823,11 @@ export declare namespace ContentTree { |
803 | 823 | caption: string; |
804 | 824 | credit: string; |
805 | 825 | } |
| 826 | + interface Card extends Parent { |
| 827 | + type: "card"; |
| 828 | + title?: string; |
| 829 | + children: [ImageSet] | [Paragraph] | [ImageSet, Paragraph]; |
| 830 | + } |
806 | 831 | type TableColumnSettings = { |
807 | 832 | hideOnMobile: boolean; |
808 | 833 | sortable: boolean; |
@@ -857,9 +882,14 @@ export declare namespace ContentTree { |
857 | 882 | type: 'image-pair'; |
858 | 883 | children: [ImageSet, ImageSet]; |
859 | 884 | } |
| 885 | + interface Comparison extends Parent { |
| 886 | + type: 'comparison'; |
| 887 | + title?: string; |
| 888 | + children: [Card, Card]; |
| 889 | + } |
860 | 890 | } |
861 | 891 | namespace loose { |
862 | | - type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair; |
| 892 | + type BodyBlock = Paragraph | Heading | ImageSet | Flourish | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | RecommendedList | Tweet | Video | YoutubeVideo | Text | ImagePair | Comparison; |
863 | 893 | type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width"; |
864 | 894 | type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link; |
865 | 895 | interface Node { |
@@ -1087,6 +1117,11 @@ export declare namespace ContentTree { |
1087 | 1117 | credit: string; |
1088 | 1118 | picture?: ImageSetPicture; |
1089 | 1119 | } |
| 1120 | + interface Card extends Parent { |
| 1121 | + type: "card"; |
| 1122 | + title?: string; |
| 1123 | + children: [ImageSet] | [Paragraph] | [ImageSet, Paragraph]; |
| 1124 | + } |
1090 | 1125 | type TableColumnSettings = { |
1091 | 1126 | hideOnMobile: boolean; |
1092 | 1127 | sortable: boolean; |
@@ -1149,5 +1184,10 @@ export declare namespace ContentTree { |
1149 | 1184 | type: 'image-pair'; |
1150 | 1185 | children: [ImageSet, ImageSet]; |
1151 | 1186 | } |
| 1187 | + interface Comparison extends Parent { |
| 1188 | + type: 'comparison'; |
| 1189 | + title?: string; |
| 1190 | + children: [Card, Card]; |
| 1191 | + } |
1152 | 1192 | } |
1153 | 1193 | } |
0 commit comments