# PageInfo (@salmonui/data)

> The PageInfo interface of @salmonui/data.

Canonical: https://salmonui.dev/docs/reference/data/PageInfo

```ts
import type { PageInfo } from '@salmonui/data';
```

Entry index: https://salmonui.dev/docs/reference/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data.md).

## Reference

Kind: interface

```ts
interface PageInfo {
    readonly hasNextPage?: boolean;
    readonly hasPreviousPage?: boolean;
    readonly startCursor?: string | null;
    readonly endCursor?: string | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `hasNextPage` | `readonly hasNextPage?: boolean;` | optional |  |
| `hasPreviousPage` | `readonly hasPreviousPage?: boolean;` | optional |  |
| `startCursor` | `readonly startCursor?: string \| null;` | optional |  |
| `endCursor` | `readonly endCursor?: string \| null;` | optional |  |
