Class EntityReference

An entity reference is a string that represents an entity in the system and its id. The format is: : e.g. 'item:1234', where the entity type is 'item' and the id is '1234'

Constructors

Properties

Constructors

  • Creates a new entity ref and sets id and entityType based on the reference string.

    Parameters

    • reference: string

      The entity reference string to parse.

    Returns EntityReference

Properties

entityType: string
id: string

ID of the parsed entity reference.

reference: string

Generated using TypeDoc