json-api-lib-0.1.1.1: Utilities for generating JSON-API payloads

Safe HaskellNone
LanguageHaskell2010

Network.JSONApi.Pagination

Synopsis

Documentation

data Pagination Source #

Wrapper type for the various components of pagination being page size, page number and the number of resources in total.

Instances
ToJSON Pagination Source # 
Instance details

Defined in Network.JSONApi.Pagination

MetaObject Pagination Source #

Pagination can be used as a meta object if required in addition to the links generated for paging.

Instance details

Defined in Network.JSONApi.Pagination

newtype PageNum Source #

Constructors

PageNum 

Fields

Instances
Show PageNum Source # 
Instance details

Defined in Network.JSONApi.Pagination

newtype PageSize Source #

We can specify limits on the number of rows we would like back from the database

Constructors

PageSize 

Fields

Instances
Show PageSize Source # 
Instance details

Defined in Network.JSONApi.Pagination