@lxdhub/api
Version:
Display, search and copy LXD-images using a web interface.
31 lines (27 loc) • 796 B
text/typescript
import { ApiModelProperty, ApiModelPropertyOptional } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsInt, IsOptional, IsString, Min } from 'class-validator';
import { PaginationOptionsDto } from '../../common';
/**
* This interface represents
* options for request an image list.
*/
export class ImageListOptions extends PaginationOptionsDto {
/**
* The name of the remote, from which the images should
* be from.
*/
()
(() => String)
()
readonly remote: string;
/**
* The query-string which filters the image.
* Search for image OS name or Arch Name
*/
()
(() => String)
()
()
readonly query?: string;
}