-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from WhereAreYouPJ/feat/Feeds
- Loading branch information
Showing
16 changed files
with
261 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
Where_Are_You/Data/Models/Requests/Member/CheckEmailParameters.swift
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
Where_Are_You/Data/Models/Requests/Member/EmailSendBody.swift
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
Where_Are_You/Data/Models/Responses/Feed/GetFeedDetailsResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// GetFeedDetailsResponse.swift | ||
// Where_Are_You | ||
// | ||
// Created by 오정석 on 16/11/2024. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - DataClass | ||
struct GetFeedDetailsResponse: Codable { | ||
let scheduleInfo: ScheduleInfo | ||
let scheduleFeedInfo: [ScheduleFeedInfo] | ||
let scheduleFriendInfo: [Info] | ||
} | ||
|
||
// MARK: - ScheduleFeedInfo | ||
struct ScheduleFeedInfo: Codable { | ||
let memberInfo: Info | ||
let feedInfo: FeedInfo | ||
let feedImageInfos: [FeedImageInfo] | ||
let bookMarkInfo: Bool | ||
} | ||
|
50 changes: 50 additions & 0 deletions
50
Where_Are_You/Data/Models/Responses/Feed/GetFeedListResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// | ||
// GetFeedListResponse.swift | ||
// Where_Are_You | ||
// | ||
// Created by 오정석 on 16/11/2024. | ||
// | ||
|
||
import Foundation | ||
// MARK: - DataClass | ||
struct GetFeedListResponse: Codable { | ||
let totalElements, totalPages, size: Int | ||
let content: [Content] | ||
let number: Int | ||
let sort: Sort | ||
let numberOfElements: Int | ||
let pageable: Pageable | ||
let first, last, empty: Bool | ||
} | ||
|
||
// MARK: - Content | ||
struct Content: Codable { | ||
let scheduleInfo: ScheduleInfo | ||
let scheduleFeedInfo: [ScheduleFeedInfo] | ||
let scheduleFriendInfo: [Info] | ||
} | ||
|
||
// MARK: - FeedImageInfo | ||
struct FeedImageInfo: Codable { | ||
let feedImageSeq: Int | ||
let feedImageURL: String | ||
let feedImageOrder: Int | ||
} | ||
|
||
// MARK: - FeedInfo | ||
struct FeedInfo: Codable { | ||
let feedSeq: Int | ||
let title, content: String | ||
} | ||
|
||
// MARK: - Info | ||
struct Info: Codable { | ||
let memberSeq: Int | ||
let userName, profileImage: String | ||
} | ||
|
||
// MARK: - ScheduleInfo | ||
struct ScheduleInfo: Codable { | ||
let scheduleSeq: Int | ||
let startTime, location: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ import Foundation | |
|
||
struct CheckEmailResponse: Codable { | ||
let email: String | ||
let type: [String] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.