Skip to content

RecordUrlFn

RecordUrlFn = (record, source) => string | null | undefined

Defined in: grammar/dist/recordUrl.d.ts:14

Builds the URL of the page for one record. source is the spec’s primary source (entity) name. Return null/undefined for a row with no page — an aggregated row, say, which carries no record id. Only http(s) URLs are followed; a relative URL resolves against the page’s base URL.

Record<string, unknown>

string

string | null | undefined