Skip to content

Commit c4e0e95

Browse files
feat: add into the courses preferences model also icon and color
1 parent ad24b6a commit c4e0e95

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/routes/common/courses.tsp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ model Course {
136136
@example(244577)
137137
id: numeric;
138138
}[];
139+
CoursePreferences: {
140+
@example("fa-user")
141+
icon?: string;
142+
143+
@example("#ff0000")
144+
color?: string;
145+
};
139146
}
140147

141148
@example(_ex_course_directory)
@@ -278,6 +285,12 @@ model CoursePreferencesRequest {
278285
@example(true)
279286
lectures?: boolean;
280287
};
288+
289+
@example("fa-user")
290+
icon?: string;
291+
292+
@example("#ff0000")
293+
color?: string;
281294
}
282295

283296
model UpdateAssignmentRequest {

0 commit comments

Comments
 (0)