-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [FC-0047] Calendar synchronization (#466)
* feat: calendar synchronization flow * fix: address feedback * fix: address feedback * fix: address feedback * fix: adress feedback * fix: address feedback * fix: address feedback
- Loading branch information
1 parent
1e5ab71
commit 9c18b30
Showing
60 changed files
with
2,365 additions
and
1,191 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
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,31 @@ | ||
// | ||
// Data_EnrollmentsStatus.swift | ||
// Core | ||
// | ||
// Created by Stepanok Ivan on 28.05.2024. | ||
// | ||
|
||
import Foundation | ||
|
||
extension DataLayer { | ||
// MARK: - EnrollmentsStatusElement | ||
public struct EnrollmentsStatusElement: Codable { | ||
public let courseID: String? | ||
public let courseName: String? | ||
public let isActive: Bool? | ||
|
||
public enum CodingKeys: String, CodingKey { | ||
case courseID = "course_id" | ||
case courseName = "course_name" | ||
case isActive = "is_active" | ||
} | ||
|
||
public init(courseID: String?, courseName: String?, isActive: Bool?) { | ||
self.courseID = courseID | ||
self.courseName = courseName | ||
self.isActive = isActive | ||
} | ||
} | ||
|
||
public typealias EnrollmentsStatus = [EnrollmentsStatusElement] | ||
} |
Oops, something went wrong.