Skip to main content

PageInfo

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / PageInfo

Type Alias: PageInfo

> PageInfo: object

Information about pagination in a connection.

Type declaration

__typename?

> optional __typename: "PageInfo"

currPageNo?

> optional currPageNo: Maybe<Scalars["Int"]["output"]>

hasNextPage

> hasNextPage: Scalars["Boolean"]["output"]

When paginating forwards, are there more items?

hasPreviousPage

> hasPreviousPage: Scalars["Boolean"]["output"]

When paginating backwards, are there more items?

nextPageNo?

> optional nextPageNo: Maybe<Scalars["Int"]["output"]>

prevPageNo?

> optional prevPageNo: Maybe<Scalars["Int"]["output"]>

totalPages?

> optional totalPages: Maybe<Scalars["Int"]["output"]>

Defined in

src/types/generatedGraphQLTypes.ts:2153