SaveTextActivityMutation is a class representing a mutation to save a text activity. It includes a method to save a text activity

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • saveTextActivity is a method that sends a mutation request to save a text activity.

    Parameters

    • variables: SaveTextActivityVariables

      An object of type SaveTextActivityVariables representing the variables for the mutation.

    Returns Promise<Activity>

    A Promise that resolves to the response from the mutation request.

    Throws

    Will throw an error if the mutation request fails or if the provided variables do not pass the validation checks.