Skip to content

Class: Navigator

Constructors

Constructor

new Navigator(host): Navigator;

Parameters

Parameter Type
host ManifestInstance

Returns

Navigator

Methods

describe()

describe(kind, name): string;

Describe a single document. Equivalent to mi.describe(kind, name).

Parameters

Parameter Type
kind string
name string

Returns

string


inventory()

inventory(): Record<string, unknown>;

Produce a structured inventory of the manifest. Equivalent to mi.inventory().

Returns

Record\<string, unknown>


renderDoc()

renderDoc(kind, name): PreviewBlock[];

Polymorphic per-kind preview. Equivalent to mi.renderDoc(kind, name).

Parameters

Parameter Type
kind string
name string

Returns

PreviewBlock[]


summary()

summary(): string;

Produce a text summary of the manifest. Equivalent to mi.summary().

Returns

string