Represents the response from a GraphQL query. This interface encapsulates the main data, additional metadata, and status information returned by the GraphQL API.

interface GraphqlResponse {
    data: Data;
    extensions: Extensions;
    status: string;
}

Properties

data: Data

The data returned by the GraphQL query. This contains the primary payload requested by the client.

extensions: Extensions

Additional information about the GraphQL response. This includes metadata or supplementary details, such as whether the response is final or contains more information.

status: string

The status of the GraphQL response. Indicates the outcome or state of the query, such as "ok" or "error."