New Debug.Notes field for #169

This commit is contained in:
Neale Pickett 2021-07-30 14:21:08 -06:00
parent 85b654e808
commit df7c381640
1 changed files with 13 additions and 13 deletions

View File

@ -27,14 +27,19 @@ type AnswerResponse struct {
Correct bool
}
// Puzzle contains everything about a puzzle that a client would see.
type Puzzle struct {
Debug struct {
// PuzzleDebug is the full suite of debug fields in a puzzle
type PuzzleDebug struct {
Log []string
Errors []string
Hints []string
Notes string
Summary string
}
}
// Puzzle contains everything about a puzzle that a client would see.
type Puzzle struct {
Debug PuzzleDebug
Authors []string
Attachments []string
Scripts []string
@ -76,12 +81,7 @@ type StaticPuzzle struct {
Mastery string
}
KSAs []string
Debug struct {
Log []string
Errors []string
Hints []string
Summary string
}
Debug PuzzleDebug
Answers []string
}