Typescript library built from Content-atom thrift definition


Keywords
production
License
Apache-2.0
Install
npm install @guardian/content-atom-model@3.4.4

Documentation

Content Atom Model Definition

This is the Thrift definition of the Content Atom model, and the published versions of this repository are built from the autogenerated code in various languages.

content-atom-model Scala version support NPM Version

Adding a new atom type

In order for the scala code generated from the thrift definitions to be packaged correctly a scala namespace needs to be included. For example for the chart atom this would be: #@namespace scala com.gu.contentatom.thrift.atom.chart

How to make releases (maven and npm):

This repo uses gha-scala-library-release-workflow to automate publishing releases (both full & preview releases) - see Making a Release.