- ScheduleCreateRequestDTO type 타입 수정
This commit is contained in:
geonhee-min
2025-12-16 15:14:06 +09:00
parent 636e01aea7
commit 87542664cc

View File

@@ -1,6 +1,6 @@
import { BaseRequestDTO } from '@BaseRequestDTO';
import { IsArray, IsDateString, IsIn, IsString } from 'class-validator';
import { TypeArray } from 'src/scheduler/type/schedule/ScheduleType';
import { TypeArray, type Type } from 'src/scheduler/type/schedule/ScheduleType';
export class ScheduleCreateRequestDTO extends BaseRequestDTO {
@IsString()
@@ -16,7 +16,7 @@ export class ScheduleCreateRequestDTO extends BaseRequestDTO {
endDate!: string;
@IsIn(TypeArray)
type!: string;
type!: Type;
@IsString()
style!: string;