Represents the values that are parsed as metadata


  • LinkRelObject


  • 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


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


  • Checks whether the object can be added to the metadata


    • object: string

      The link target.

    Returns boolean

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