mirror of https://github.com/ghostfolio/ghostfolio
9 changed files with 20 additions and 3 deletions
@ -1,9 +1,10 @@ |
|||||
import { FilterDto } from '@ghostfolio/api/dtos/filter.dto'; |
import { FilterDto } from '@ghostfolio/api/dtos/filter.dto'; |
||||
|
|
||||
import { IsOptional, IsString } from 'class-validator'; |
import { IsOptional, IsString, MaxLength } from 'class-validator'; |
||||
|
|
||||
export class GetAllAccountsDto extends FilterDto { |
export class GetAllAccountsDto extends FilterDto { |
||||
@IsOptional() |
@IsOptional() |
||||
@IsString() |
@IsString() |
||||
|
@MaxLength(255) |
||||
query?: string; |
query?: string; |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue