@@ -737,24 +737,24 @@ interface Table extends Parent {
737737
738738``` ts
739739type CustomCodeComponentAttributes = {
740- [key : string ]: string | boolean | undefined
740+ [key : string ]: string | boolean | undefined
741741}
742742
743743interface 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
758758}
759759```
760760
@@ -769,9 +769,9 @@ interface CustomCodeComponent extends Node {
769769type TimelineLayoutWidth = Extract <LayoutWidth , " full-width" | " inset-left" >
770770
771771interface Timeline extends Parent {
772- type: " timeline"
773- layoutWidth: TimelineLayoutWidth
774- children: [Heading , ... Event []]
772+ type: " timeline"
773+ layoutWidth: TimelineLayoutWidth
774+ children: [Heading , ... Event []]
775775}
776776```
777777
@@ -781,8 +781,9 @@ interface Timeline extends Parent {
781781
782782``` ts
783783interface Event extends Parent {
784- dateLabel: string
785- children: Paragraph []
784+ type: " timeline"
785+ dateLabel: string
786+ children: Paragraph []
786787}
787788```
788789
0 commit comments