forked from openedx/openedx-app-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change api endpoints New endpoints: Delete account api/user/v1/accounts/deactivate_logout/ Dashboard Courses api/mobile/v3/users/{USERNAME}/course_enrollments Add Comment / Response api/discussion/v1/comments/ Discovery And Search api/courses/v1/courses/ Get Course Details api/mobile/v3/course_info/{COURSE_ID}/info Get Course Structure api/mobile/v3/course_info/blocks/ * Added mobile_search to the search endpoint * Remove unused Data_Mycourse.swift Rename DashCourse -> DashboardCourse * Fix CI? * refactor: address review feedback * fix: SignInViewModel DI missed argument * Change CourseEndpoint.getCourseDetail endpoint * Fix Data_Dashboard parsing CourseMode * Add verified mode to the CourseMode * Fix: Parse enums with fallback to the unknown value * Added the string value to the StartType enum * Remove unused enums
- Loading branch information
1 parent
1bc4a75
commit 3bca8bf
Showing
14 changed files
with
299 additions
and
236 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// Data_Certificate.swift | ||
// Core | ||
// | ||
// Created by Vladimir Chekyrta on 18.12.2023. | ||
// | ||
|
||
import Foundation | ||
|
||
public extension DataLayer { | ||
struct Certificate: Codable { | ||
public let url: String? | ||
|
||
public init(url: String?) { | ||
self.url = url | ||
} | ||
} | ||
} | ||
|
||
public extension DataLayer.Certificate { | ||
var domain: Certificate { | ||
return Certificate(url: url ?? "") | ||
} | ||
} |
Oops, something went wrong.