@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?
optionalsource?:NamespaceMeta
Variables
allNamespacesLabel
constallNamespacesLabel:"All namespaces"="All namespaces"
coveragePath
constcoveragePath:"/data/coverage"
coverageSegment
constcoverageSegment:"coverage"="coverage"
entitySegment
constentitySegment:"entity"="entity"
explorerCrumb
constexplorerCrumb:object
Type Declaration
label
label:
string="Data"
to
to:
string=explorerPath
explorerPath
constexplorerPath:"/data"="/data"
filesPath
constfilesPath:"/data/files"
filesSegment
constfilesSegment:"files"="files"
ingestRunsPath
constingestRunsPath:"/data/ingest-runs"
ingestRunsSegment
constingestRunsSegment:"ingest-runs"="ingest-runs"
prefixes
constprefixes:string
recentPath
constrecentPath:"/data/recent"
recentSegment
constrecentSegment:"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