@@ -737,24 +737,24 @@ interface Table extends Parent {
737
737
738
738
``` ts
739
739
type CustomCodeComponentAttributes = {
740
- [key : string ]: string | boolean | undefined
740
+ [key : string ]: string | boolean | undefined
741
741
}
742
742
743
743
interface CustomCodeComponent extends Node {
744
- /** Component type */
745
- type: " custom-code-component"
746
- /** Id taken from the CAPI url */
747
- id: string
748
- /** How the component should be presented in the article page according to the column layout system */
749
- layoutWidth: LayoutWidth
750
- /** Repository for the code of the component in the format "[github org]/[github repo]/[component name]". */
751
- external path: string
752
- /** Semantic version of the code of the component, e.g. "^0.3.5". */
753
- external versionRange: string
754
- /** Last date-time when the attributes for this block were modified, in ISO-8601 format. */
755
- external attributesLastModified: string
756
- /** Configuration data to be passed to the component. */
757
- external attributes: CustomCodeComponentAttributes
744
+ /** Component type */
745
+ type: " custom-code-component"
746
+ /** Id taken from the CAPI url */
747
+ id: string
748
+ /** How the component should be presented in the article page according to the column layout system */
749
+ layoutWidth: LayoutWidth
750
+ /** Repository for the code of the component in the format "[github org]/[github repo]/[component name]". */
751
+ external path: string
752
+ /** Semantic version of the code of the component, e.g. "^0.3.5". */
753
+ external versionRange: string
754
+ /** Last date-time when the attributes for this block were modified, in ISO-8601 format. */
755
+ external attributesLastModified: string
756
+ /** Configuration data to be passed to the component. */
757
+ external attributes: CustomCodeComponentAttributes
758
758
}
759
759
```
760
760
@@ -769,9 +769,9 @@ interface CustomCodeComponent extends Node {
769
769
type TimelineLayoutWidth = Extract <LayoutWidth , " full-width" | " inset-left" >
770
770
771
771
interface Timeline extends Parent {
772
- type: " timeline"
773
- layoutWidth: TimelineLayoutWidth
774
- children: [Heading , ... Event []]
772
+ type: " timeline"
773
+ layoutWidth: TimelineLayoutWidth
774
+ children: [Heading , ... Event []]
775
775
}
776
776
```
777
777
@@ -781,8 +781,9 @@ interface Timeline extends Parent {
781
781
782
782
``` ts
783
783
interface Event extends Parent {
784
- dateLabel: string
785
- children: Paragraph []
784
+ type: " timeline"
785
+ dateLabel: string
786
+ children: Paragraph []
786
787
}
787
788
```
788
789
0 commit comments