Skip to content

Commit 78dac2a

Browse files
jggoebelpprinzSVA
andauthored
Add Learnpaths, Course Catalog, Course Header Images (#205)
* Add learnpath, catalog flag, header image path to courses * Retreive course catalog endpoint * fix: use correct variables in course update func --------- Co-authored-by: Philip Prinz <Philip.Prinz@sva.de>
1 parent 4c10a17 commit 78dac2a

File tree

6 files changed

+406
-94
lines changed

6 files changed

+406
-94
lines changed

v3/pkg/apis/hobbyfarm.io/v1/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ type CourseSpec struct {
248248
PauseDuration string `json:"pause_duration"`
249249
Pauseable bool `json:"pauseable"`
250250
KeepVM bool `json:"keep_vm"`
251+
IsLearnpath bool `json:"is_learnpath"`
252+
IsLearnPathStrict bool `json:"is_learnpath_strict"`
253+
DisplayInCatalog bool `json:"in_catalog"`
254+
HeaderImagePath string `json:"header_image_path"`
251255
}
252256

253257
// +genclient

0 commit comments

Comments
 (0)