Interface SpineNode

A spine in the book.

interface SpineNode {
    id: string;
    order: number;
    ref: {
        id: string;
        type: Chapter;
    };
    type: Spine;
}

Hierarchy (view full)

Properties

Properties

id: string

The unique identifier of the node.

order: number

The order of the spine item.

ref: {
    id: string;
    type: Chapter;
}

The reference.

Type declaration

  • id: string

    The unique identifier of the reference node.

  • type: Chapter

    The type of the reference node.

type: Spine

The type of the node.