0

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

}

Andrei
  • 11
  • 1

0 Answers0