Represents the values that are parsed as metadata

Hierarchy

  • LinkRelObject

Constructors

  • Parameters

    • value: string

      The value corresponding to the rel value that will be used as predicate in the metadata.

    • Optional ephemeral: boolean

      (Optional) Indicates whether it will be stored by the server.

    • Optional allowList: string[]

      (Optional) Contains the objects that are allowed to be used with the given predicate.

    Returns LinkRelObject

Properties

allowList: undefined | string[]
ephemeral: boolean
value: NamedNode<string>

Methods

  • Checks whether the object can be added to the metadata

    Parameters

    • object: string

      The link target.

    Returns boolean

    a boolean to indicate whether it can be added to the metadata or not