Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace types

Index

Type aliases

CursorForNode

CursorForNode<T>: (node: T) => string

Type parameters

  • T

Type declaration

    • (node: T): string
    • Parameters

      • node: T

      Returns string

Edge

Edge<T>: { cursor: string; node: T }

Type parameters

  • T

Type declaration

  • cursor: string
  • node: T

RelayPaginationResult

RelayPaginationResult<T>: { edges: { node: T }[]; pageInfo: { endCursor: string | null; hasNextPage: boolean; hasPreviousPage: boolean; startCursor: string | null } }

Type parameters

  • T = unknown

Type declaration

  • edges: { node: T }[]
  • pageInfo: { endCursor: string | null; hasNextPage: boolean; hasPreviousPage: boolean; startCursor: string | null }
    • endCursor: string | null
    • hasNextPage: boolean
    • hasPreviousPage: boolean
    • startCursor: string | null

Generated using TypeDoc