mirror of https://github.com/dirtbags/moth.git
New Debug.Notes field for #169
This commit is contained in:
parent
85b654e808
commit
df7c381640
|
@ -27,14 +27,19 @@ type AnswerResponse struct {
|
||||||
Correct bool
|
Correct bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// Puzzle contains everything about a puzzle that a client would see.
|
// PuzzleDebug is the full suite of debug fields in a puzzle
|
||||||
type Puzzle struct {
|
|
||||||
Debug struct {
|
type PuzzleDebug struct {
|
||||||
Log []string
|
Log []string
|
||||||
Errors []string
|
Errors []string
|
||||||
Hints []string
|
Hints []string
|
||||||
|
Notes string
|
||||||
Summary string
|
Summary string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Puzzle contains everything about a puzzle that a client would see.
|
||||||
|
type Puzzle struct {
|
||||||
|
Debug PuzzleDebug
|
||||||
Authors []string
|
Authors []string
|
||||||
Attachments []string
|
Attachments []string
|
||||||
Scripts []string
|
Scripts []string
|
||||||
|
@ -76,12 +81,7 @@ type StaticPuzzle struct {
|
||||||
Mastery string
|
Mastery string
|
||||||
}
|
}
|
||||||
KSAs []string
|
KSAs []string
|
||||||
Debug struct {
|
Debug PuzzleDebug
|
||||||
Log []string
|
|
||||||
Errors []string
|
|
||||||
Hints []string
|
|
||||||
Summary string
|
|
||||||
}
|
|
||||||
Answers []string
|
Answers []string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue