Translation connection interface.

Hierarchy (View Summary)

Implements

Constructors

Methods

Constructors

Methods

  • Retrieve the list of items available from the data connector.

    Parameters

    • Optionalquery: string

      The optional query filter to apply to the connector request.

    Returns Promise<{ ids: { language: string }[]; values: Language[] }>

    A promise that always rejects with an error.

    Subclasses should reimplement if they support a back-end that can list.

  • Remove a value using the data connector.

    Parameters

    • id: { language: string }

      The identifier for the data being removed.

    Returns Promise<any>

    A promise that always rejects with an error.

    Subclasses should reimplement if they support a back-end that can remove.

  • Save a value using the data connector.

    Parameters

    • id: { language: string }

      The identifier for the data being saved.

    • value: Language

      The data being saved.

    Returns Promise<any>

    A promise that always rejects with an error.

    Subclasses should reimplement if they support a back-end that can save.