lookup/gnd#

Variables#

GND_SERVICE#

const GND_SERVICE: "https://lobid.org/gnd/search" = "https://lobid.org/gnd/search"

Defined in: editor/src/lookup/gnd.ts:27

lobid-gnd’s search, also the service of every GND candidate.

Functions#

recordUrl()#

recordUrl(id): string

Defined in: editor/src/lookup/gnd.ts:43

The URL of a GND record as lobid’s JSON-LD.

Parameters#

id#

string

Returns#

string


resolveGnd()#

resolveGnd(context, iri, signal?): Promise<Candidate | null>

Defined in: editor/src/lookup/gnd.ts:117

The GND record an IRI names, with its cross-references; null for an IRI of no GND record.

Parameters#

context#

LookupContext

iri#

string

signal?#

AbortSignal

Returns#

Promise<Candidate | null>


searchGnd()#

searchGnd(context, kind, text, signal?): Promise<readonly Candidate[]>

Defined in: editor/src/lookup/gnd.ts:69

The records of kind the GND suggests for text, in lobid’s order. A kind without a filter, or blank text, answers none without a request.

Parameters#

context#

LookupContext

kind#

ValueKind

text#

string

signal?#

AbortSignal

Returns#

Promise<readonly Candidate[]>


searchUrl()#

searchUrl(text, filter): string

Defined in: editor/src/lookup/gnd.ts:33

The URL that searches the GND for text among the things of filter.

Parameters#

text#

string

filter#

string

Returns#

string