All checks were successful
Test CI / build (push) Successful in 1m17s
- 일정 생성, 목록 조회, 당일 목록 조회 기능 구현
24 lines
392 B
TypeScript
24 lines
392 B
TypeScript
import { IsArray, IsDateString, IsString } from "@nestjs/class-validator";
|
|
|
|
export class ListRequestDto {
|
|
@IsDateString()
|
|
date?: string;
|
|
|
|
@IsDateString()
|
|
startDate?: string;
|
|
|
|
@IsDateString()
|
|
endDate?: string;
|
|
|
|
@IsArray()
|
|
styleList?: string[];
|
|
|
|
@IsArray()
|
|
typeList?: string[];
|
|
|
|
@IsString()
|
|
status?: 'yet' | 'completed' | undefined;
|
|
|
|
@IsString()
|
|
name?: string;
|
|
} |