From ac850adfcf8d418852097e9403eff40b383e8b20 Mon Sep 17 00:00:00 2001 From: Hyang-Dan Date: Wed, 17 Dec 2025 23:50:37 +0900 Subject: [PATCH] =?UTF-8?q?issue=20#=20-=20=ED=8C=94=EB=A1=9C=EC=9A=B0=20D?= =?UTF-8?q?TO=20=EA=B5=AC=ED=98=84=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../http/dto/follow/follow/follow-request.dto.ts | 0 .../dto/follow/follow/follow-response.dto.ts | 0 .../http/dto/follow/list/list-request.dto.ts | 0 .../http/dto/follow/list/list-response.dto.ts | 16 ++++++++++++++++ .../dto/follow/unfollow/unfollow-request.dto.ts | 0 .../dto/follow/unfollow/unfollow-response.dto.ts | 0 6 files changed, 16 insertions(+) create mode 100644 src/scheduler/http/dto/follow/follow/follow-request.dto.ts create mode 100644 src/scheduler/http/dto/follow/follow/follow-response.dto.ts create mode 100644 src/scheduler/http/dto/follow/list/list-request.dto.ts create mode 100644 src/scheduler/http/dto/follow/list/list-response.dto.ts create mode 100644 src/scheduler/http/dto/follow/unfollow/unfollow-request.dto.ts create mode 100644 src/scheduler/http/dto/follow/unfollow/unfollow-response.dto.ts diff --git a/src/scheduler/http/dto/follow/follow/follow-request.dto.ts b/src/scheduler/http/dto/follow/follow/follow-request.dto.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/scheduler/http/dto/follow/follow/follow-response.dto.ts b/src/scheduler/http/dto/follow/follow/follow-response.dto.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/scheduler/http/dto/follow/list/list-request.dto.ts b/src/scheduler/http/dto/follow/list/list-request.dto.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/scheduler/http/dto/follow/list/list-response.dto.ts b/src/scheduler/http/dto/follow/list/list-response.dto.ts new file mode 100644 index 0000000..d72a7d0 --- /dev/null +++ b/src/scheduler/http/dto/follow/list/list-response.dto.ts @@ -0,0 +1,16 @@ +import { IsRequired } from "src/scheduler/decorator/required-decorator"; +import { IsString } from 'class-validator'; +import { getMessage } from "src/scheduler/type/class-validator/MessageType"; +import type { BaseResponseDTO } from "../../base/base-response.dto" + +export class FollowList { + @IsRequired() + @IsString({ message: getMessage('TYPE') }) + id!: string; + + @IsRequired() + @IsString({ message: getMessage('TYPE') }) + name!: string; +} + +export type FollowListResponse = BaseResponseDTO; \ No newline at end of file diff --git a/src/scheduler/http/dto/follow/unfollow/unfollow-request.dto.ts b/src/scheduler/http/dto/follow/unfollow/unfollow-request.dto.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/scheduler/http/dto/follow/unfollow/unfollow-response.dto.ts b/src/scheduler/http/dto/follow/unfollow/unfollow-response.dto.ts new file mode 100644 index 0000000..e69de29