I have two custom types ParagraphNode and BulletListNodeLevel1
in .bolt file.
How to set type to field content
as an array with multiple types?
type RichTextDocument {
validate() { this.type == "doc" }
content: (ParagraphNode | BulletListNodeLevel1)[]
type: String
}