Manta Developers
GitHub
Menu

@manta-eu/react/routes/data-explorer/namespaces

Reference for @manta-eu/react/routes/data-explorer/namespaces as it is on main.

Type Aliases

ClassRef

ClassRef = object

Properties

iri

iri: string

localName

localName: string

path

path: string

prefix

prefix: string


DeclaredNamespace

DeclaredNamespace = NamespaceMeta & object

Type Declaration

source?

optional source?: NamespaceMeta

Variables

allNamespacesLabel

const allNamespacesLabel: "All namespaces" = "All namespaces"


coveragePath

const coveragePath: "/data/coverage"


coverageSegment

const coverageSegment: "coverage" = "coverage"


entitySegment

const entitySegment: "entity" = "entity"


explorerCrumb

const explorerCrumb: object

Type Declaration

label

label: string = "Data"

to

to: string = explorerPath


explorerPath

const explorerPath: "/data" = "/data"


filesPath

const filesPath: "/data/files"


filesSegment

const filesSegment: "files" = "files"


ingestRunsPath

const ingestRunsPath: "/data/ingest-runs"


ingestRunsSegment

const ingestRunsSegment: "ingest-runs" = "ingest-runs"


prefixes

const prefixes: string


recentPath

const recentPath: "/data/recent"


recentSegment

const recentSegment: "recent" = "recent"

Functions

classIriFor()

classIriFor(prefix, name): string | undefined

Parameters

prefix

string

name

string

Returns

string | undefined


classPath()

classPath(prefix, name): string

Parameters

prefix

string

name

string

Returns

string


classRef()

classRef(iri): ClassRef | undefined

Parameters

iri

string

Returns

ClassRef | undefined


entityPath()

entityPath(iri): string

Parameters

iri

string

Returns

string


groupCrumb()

groupCrumb(prefix): object

Parameters

prefix

string

Returns

object

label

label: string

to

to: string


groupKeyFor()

groupKeyFor(prefix): string

Parameters

prefix

string

Returns

string


isDeclaredSource()

isDeclaredSource(key): boolean

Parameters

key

string

Returns

boolean


isExplorerPrefix()

isExplorerPrefix(value): value is string

Parameters

value

string | undefined

Returns

value is string


isNamespaceSegment()

isNamespaceSegment(segment): segment is string

Parameters

segment

string | undefined

Returns

segment is string


localName()

localName(iri, prefix): string

Parameters

iri

string

prefix

string

Returns

string


namespaceIriFor()

namespaceIriFor(key): string | undefined

Parameters

key

string

Returns

string | undefined


namespaceLabel()

namespaceLabel(key): string

Parameters

key

string

Returns

string


namespacePath()

namespacePath(key): string

Parameters

key

string

Returns

string


prefixForIri()

prefixForIri(iri): string | undefined

Parameters

iri

string

Returns

string | undefined


realmPath()

realmPath(iri): string | undefined

Parameters

iri

string

Returns

string | undefined


recordPath()

recordPath(prefix, type, id): string

Parameters

prefix

string

type

string

id

string

Returns

string


registerDeclaredNamespaces()

registerDeclaredNamespaces(declared): void

Parameters

declared

Record<string, DeclaredNamespace>

Returns

void


safeIri()

safeIri(iri): string

Parameters

iri

string

Returns

string