Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GraphqlRequest

import type { GraphqlRequest } from "https://googleapis.deno.dev/v1/firebasedataconnect:v1beta.ts";

The GraphQL request to Firebase Data Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post

interface GraphqlRequest {
operationName?: string;
query?: string;
variables?: {
[key: string]: any;
}
;
}

§Properties

§

Optional. Additional GraphQL request information.

§
operationName?: string
[src]

Optional. The name of the GraphQL operation name. Required only if query contains multiple operations. See https://graphql.org/learn/queries/#operation-name.

§
query?: string
[src]

Required. The GraphQL query document source.

§
variables?: {
[key: string]: any;
}
[src]

Optional. Values for GraphQL variables provided in this request.