Unist compatible spec for changelogs and helpers to nodes creation
interface Root <: Node {
children: [Preface, Release*]
}
interface Preface <: Node {
children: [Node]
}
interface Release <: Node {
identifier: string,
version: string,
url: string?
yanked: boolean?
unreleased: boolean?
children: [Action]
}
interface Action <: Node {
name: string
children: [Change*, Group*]
}
interface Group <: Node {
name: string,
children: [Change]
}
interface Change <: Node {
children: [Node]
}