Skip to content

Commit 3dbb920

Browse files
committed
[move] BaseProfileImageResponse 파일 이동
1 parent a8fb5fe commit 3dbb920

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// BaseProfileImageResponse.swift
3+
// CoreKit
4+
//
5+
// Created by 김민호 on 2/25/25.
6+
//
7+
8+
import Util
9+
10+
public struct BaseProfileImageResponse: Decodable {
11+
public let id: Int
12+
public let url: String
13+
}
14+
15+
extension BaseProfileImageResponse {
16+
static let mock: Self = Self(id: 999, url: Constants.mockImageUrl)
17+
}

Projects/CoreKit/Sources/Data/DTO/Base/BaseUserResponse.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ public struct BaseUserResponse: Decodable {
1414
public let profileImage: BaseProfileImageResponse?
1515
}
1616

17-
public struct BaseProfileImageResponse: Decodable {
18-
public let id: Int
19-
public let url: String
20-
}
21-
2217
extension BaseUserResponse {
2318
public static var mock: Self = Self(
2419
id: 961222,

0 commit comments

Comments
 (0)