RelayConnection
A Relay connection, the shape many GraphQL APIs use for paginated lists
Import
import { RelayConnection } from "@hyper-fetch/db"
Source
Package
Preview
type RelayConnection<Node> = {
edges?: readonly ({ node: Node } | null)[] | null;
pageInfo: { endCursor?: string | null; hasNextPage: boolean };
}
Structure
RelayConnection
| Name | Type | Description |
|---|---|---|
| edges | | |
| pageInfo | |
