ApolloSignal.Types.CursorInfo (apollo_signal v4.0.1)

Copy Markdown View Source

Typed CursorInfo model.

Summary

Types

t()

@type t() :: %ApolloSignal.Types.CursorInfo{
  has_next_page: boolean(),
  has_previous_page: boolean(),
  next_cursor: String.t() | nil,
  previous_cursor: String.t() | nil
}

Functions

from_map(data)

@spec from_map(map()) :: t()

to_map(value)

@spec to_map(t()) :: map()