Skip to main content

DefaultGraphQLConnection

API Docs


Type Alias: DefaultGraphQLConnection<NodeType>

DefaultGraphQLConnection<NodeType> = object

Defined in: src/utilities/graphqlConnection/types.ts:57

This is typescript type of a base graphql connection object. This connection object can be extended to create a custom connnection object as long as the new connection object adheres to the default type of this base connection object.

Type Parameters

NodeType

NodeType

Properties

edges

edges: DefaultGraphQLConnectionEdge<NodeType>[]

Defined in: src/utilities/graphqlConnection/types.ts:58


pageInfo

pageInfo: DefaultGraphQLConnectionPageInfo

Defined in: src/utilities/graphqlConnection/types.ts:59