@manta-eu/horns/realm
Reference for @manta-eu/horns/realm in @manta-eu/horns 0.2.3.
Type Aliases
Realm
Realm = typeof
realms[number]
Variables
realms
constrealms: readonly ["hiremanta-com","journey-travel"]
sharedNamespaces
constsharedNamespaces:object
The namespaces that do not depend on a realm, for code that has none in hand.
Type Declaration
dcterms
readonlydcterms:"http://purl.org/dc/terms/"
owl
readonlyowl:"http://www.w3.org/2002/07/owl#"
prov
readonlyprov:"http://www.w3.org/ns/prov#"
rdf
readonlyrdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
rdfox
readonlyrdfox:"https://rdfox.com/vocabulary#"
rdfs
readonlyrdfs:"http://www.w3.org/2000/01/rdf-schema#"
schema
readonlyschema:"https://schema.org/"
sh
readonlysh:"http://www.w3.org/ns/shacl#"
time
readonlytime:"http://www.w3.org/2006/time#"
xsd
readonlyxsd:"http://www.w3.org/2001/XMLSchema#"
Functions
compactIri()
compactIri(
realm,iri):string
Parameters
realm
"hiremanta-com" | "journey-travel"
iri
string
Returns
string
expandCurie()
expandCurie(
realm,curie):string
Parameters
realm
"hiremanta-com" | "journey-travel"
curie
string
Returns
string
isRealm()
isRealm(
value): value is “hiremanta-com” | “journey-travel”
Parameters
value
unknown
Returns
value is “hiremanta-com” | “journey-travel”
parseRealm()
parseRealm(
value):"hiremanta-com"|"journey-travel"
Parameters
value
unknown
Returns
"hiremanta-com" | "journey-travel"
prefixHint()
prefixHint(
realm,prefix):string|undefined
Parameters
realm
"hiremanta-com" | "journey-travel"
prefix
string
Returns
string | undefined
realmEnv()
realmEnv(
realm):Record<string,string>
Parameters
realm
"hiremanta-com" | "journey-travel"
Returns
Record<string, string>
realmNamespace()
realmNamespace(
realm):string
Parameters
realm
"hiremanta-com" | "journey-travel"
Returns
string
realmNamespaces()
realmNamespaces(
realm):Record<string,string>
Parameters
realm
"hiremanta-com" | "journey-travel"
Returns
Record<string, string>
realmShimScript()
realmShimScript(
realm):string
Parameters
realm
"hiremanta-com" | "journey-travel"
Returns
string
realmVocabularyRoot()
realmVocabularyRoot(
realm):string
Parameters
realm
"hiremanta-com" | "journey-travel"
Returns
string
withRealmPrefixes()
withRealmPrefixes(
query,realm):string
Parameters
query
string
realm
"hiremanta-com" | "journey-travel"
Returns
string