@lxdhub/api
Version:
Display, search and copy LXD-images using a web interface.
29 lines (26 loc) • 559 B
text/typescript
import { Type } from 'class-transformer';
import { IsInt, IsOptional, Min, Max } from 'class-validator';
/**
* This interface represents
* options for iterating through
* paginated lists.
*/
export class PaginationOptionsDto {
/**
* The maximum amount of items to request.
*/
readonly limit: number = 20;
/**
* The offset of the items
*/
readonly offset: number = 0;
}