Skip to main content

ConnectionPageInfo

talawa-api


talawa-api / types/generatedGraphQLTypes / ConnectionPageInfo

Type Alias: ConnectionPageInfo

> ConnectionPageInfo: object

The standard graphQL connection page info that contains metadata about a particular instance of a connection. ALl other custom connection page info types must implement this interface.

Type declaration

endCursor?

> optional endCursor: Maybe<Scalars["String"]["output"]>

A field to tell the value of cursor for the last edge of a particular instance of a connection.

hasNextPage

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

A field to tell whether the connection has additional edges after the edge with endCursor as its cursor.

hasPreviousPage

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

A field to tell whether the connection has additional edges before the edge with startCursor as its cursor.

startCursor?

> optional startCursor: Maybe<Scalars["String"]["output"]>

A field to tell the value of cursor for the first edge of a particular instance of a connection.

Defined in

src/types/generatedGraphQLTypes.ts:367