Manta Developers
GitHub
Menu

@manta-eu/horns-client/surface-declarations

Reference for @manta-eu/horns-client/surface-declarations in @manta-eu/horns-client 0.2.3.

Type Aliases

ComponentApi

ComponentApi = Readonly<Record<string, string>>

One entry per surfaced export: the declaration text the Studio may read.

Functions

componentApiFrom()

componentApiFrom(root, hops?): ComponentApi

Parameters

root

string

hops?

number

Returns

ComponentApi


sdkDistRoot()

sdkDistRoot(): string

Node only: import.meta.resolve is unavailable under vitest’s transform, so a test passes its own root.

Returns

string