Skip to content

web-backend


Class: PaginationDto

Defined in: packages/web-backend/src/collab/dtos/pagination.dto.ts:15

Pagination envelope for list responses. Contains total count, next/previous links, and an array of results.

Extends

  • object

Constructors

Constructor

new PaginationDto(): PaginationDto

Defined in: node_modules/.pnpm/nestjs-zod@3.0.0_@nestjs+common@11.1.7_class-transformer@0.5.1_class-validator@0.14.1_r_d94629af0430d9cb8e49760250bb0a1c/node_modules/nestjs-zod/dist/index.d.ts:9

Returns

PaginationDto

Inherited from

createZodDto(paginationSchema).constructor

Properties

count?

optional count: number

Defined in: packages/web-backend/src/collab/dtos/pagination.dto.ts:5

Inherited from

createZodDto(paginationSchema).count


next?

optional next: string

Defined in: packages/web-backend/src/collab/dtos/pagination.dto.ts:6

Inherited from

createZodDto(paginationSchema).next


previous?

optional previous: string

Defined in: packages/web-backend/src/collab/dtos/pagination.dto.ts:7

Inherited from

createZodDto(paginationSchema).previous


results?

optional results: any[]

Defined in: packages/web-backend/src/collab/dtos/pagination.dto.ts:8

Inherited from

createZodDto(paginationSchema).results