refactor: atflCd로 기존 이미지 삭제하는 로직으로 수정

This commit is contained in:
2025-04-08 15:57:19 +09:00
parent a5652f9f04
commit 07ee7adca5
8 changed files with 65 additions and 16 deletions
@@ -15,5 +15,8 @@ export interface Attachment {
export interface AttachmentService {
getAttachments: (atflCd: string) => Promise<Attachment[]>;
deleteAttachment: (atflId: string) => Promise<void>;
deleteAttachmentByAtflCd: (atflCd: string) => Promise<void>;
getImageUrl: (atflId: string) => Promise<string>;
getImageUrlByAtflCd: (atflCd: string) => Promise<string>;
}