Manta Developers
GitHub
Menu

@manta-eu/react/lib/iri-labels

Reference for @manta-eu/react/lib/iri-labels as it is on main.

Type Aliases

PropertyChange

PropertyChange = object

Properties

beforeObject?

optional beforeObject?: string

beforeObjectLabel?

optional beforeObjectLabel?: string

changeType

changeType: PropertyChangeType

object

object: string

objectLabel?

optional objectLabel?: string

predicate

predicate: string

predicateLabel?

optional predicateLabel?: string


PropertyChangeType

PropertyChangeType = "ADDED" | "UPDATED" | "UNCHANGED"

Variables

identifierWordRules

const identifierWordRules: ReadonlyArray<readonly [pattern: string, replacement: string]>

Functions

extractLabel()

extractLabel(iri, predicate?): string

Parameters

iri

string

predicate?

string

Returns

string


extractTypeName()

extractTypeName(iri): string

Parameters

iri

string

Returns

string


formatPropertyLabel()

formatPropertyLabel(iri): string

Parameters

iri

string

Returns

string


splitIdentifierWords()

splitIdentifierWords(raw): string

Parameters

raw

string

Returns

string