@financial-times/cp-content-pipeline-schema 1.8.5 → 2.0.0

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.
@@ -381,7 +381,7 @@ const commonTagMappings: TagMappings = {
381
381
  tableChildren = [caption, ...tableChildren]
382
382
  }
383
383
 
384
- if (footer) {
384
+ if (footer?.children && footer.children.length > 0) {
385
385
  tableChildren = [...tableChildren, footer]
386
386
  }
387
387
 
@@ -111,10 +111,10 @@ export const ClipFormat = new LiteralUnionScalar<['standard-inline', 'mobile']>(
111
111
  )
112
112
 
113
113
  export const RichTextSource = new LiteralUnionScalar<
114
- ['standfirst', 'summary', 'bodyXML']
114
+ ['standfirst', 'summary', 'bodyXML', 'transcript']
115
115
  >({
116
116
  name: 'RichTextSource',
117
- values: ['standfirst', 'summary', 'bodyXML'],
117
+ values: ['standfirst', 'summary', 'bodyXML', 'transcript'],
118
118
  })
119
119
 
120
120
  export const ContentType = new LiteralUnionScalar<