We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa5eacb + 3c11fb3 commit 504a20eCopy full SHA for 504a20e
Sources/SharedModels/CourseForDashboard.swift
@@ -1,6 +1,6 @@
1
//
2
// File.swift
3
-//
+//
4
5
// Created by Sven Andabaka on 25.04.23.
6
@@ -15,11 +15,17 @@ public struct CourseForDashboard: Codable {
15
public var modelingScores: CourseScore?
16
public var fileUploadScores: CourseScore?
17
public var quizScores: CourseScore?
18
- public var participationResults: [Result]?
+ public var participationResults: [ParticipationResultDTO]?
19
}
20
21
extension CourseForDashboard: Identifiable {
22
public var id: Int {
23
course.id
24
25
26
+
27
+public struct ParticipationResultDTO: Codable {
28
+ public var score: Double?
29
+ public var rated: Bool?
30
+ public var participationId: Int?
31
+}
0 commit comments