Constructors

Methods

  • Returns a key that can be used to access a value in the key/value store appropriate for the given key type; the keys have an implicit hierarchy and are used to organize data in the store in a tree-like structure via the use of colons as separators.

    Parameters

    Returns string

  • Extracts the parts of a given key string, safely handling cases where the 'id' portion may contain additional colons.

    Parameters

    • key: string

      The key to parse.

    Returns Record<string, string>

    An object with the parsed key parts.

  • Reconstructs a key string from its parts.

    Parameters

    • parts: Record<string, string>

      An object with the key parts.

    Returns string

    The reconstructed key string.

  • Parameters

    • entity: string

    Returns string

  • Resolves an entity type abbreviation to a table-friendly name.

    Parameters

    • abbreviation: string

      The abbreviated entity type.

    • id: string = ''

    Returns string

    The long-form entity name.