Manta Developers
GitHub
Menu

@manta-eu/ldo/realm

Reference for @manta-eu/ldo/realm as it is on main.

Type Aliases

KeycloakRealm

KeycloakRealm = Realm


Realm

Realm = string


RealmEntry

RealmEntry = object

Properties

label

label: string

vocabRoot

vocabRoot: string


RealmRegistry

RealmRegistry = Record<string, RealmEntry>


VocabRoot

VocabRoot = string

Variables

canonicalVocabLabel

const canonicalVocabLabel: "Hiremanta" = "Hiremanta"


canonicalVocabRoot

const canonicalVocabRoot: "https://hiremanta.com/vocab" = "https://hiremanta.com/vocab"


defaultRealm

const defaultRealm: Realm


realmVocabRoots

const realmVocabRoots: Record<string, string>


vocabBase

const vocabBase: string

Functions

activeRealm()

activeRealm(): string

Returns

string


isRealm()

isRealm(realm): realm is string

Parameters

realm

string

Returns

realm is string


realmRegistry()

realmRegistry(): RealmRegistry

Returns

RealmRegistry


realmVocabBase()

realmVocabBase(realm?): string

Parameters

realm?

string = ...

Returns

string


realmVocabLabel()

realmVocabLabel(realm?): string

Parameters

realm?

string = ...

Returns

string


vocab()

vocab(path, realm?): string

Parameters

path

string

realm?

string = ...

Returns

string


vocabRoot()

vocabRoot(realm?): string

Parameters

realm?

string = ...

Returns

string