Split Unlock standalone exercices between themes and standalone ex
This commit is contained in:
parent
cc147a9819
commit
ae5068f8b8
7 changed files with 35 additions and 15 deletions
|
|
@ -73,8 +73,10 @@ type Settings struct {
|
|||
UnlockedChallengeUpTo int `json:"unlockedChallengeUpTo"`
|
||||
// UnlockedStandaloneExercices unlock this number of standalone exercice.
|
||||
UnlockedStandaloneExercices int `json:"unlockedStandaloneExercices,omitempty"`
|
||||
// UnlockedStandaloneExercicesByValidation unlock this number of standalone exercice for each exercice validated.
|
||||
UnlockedStandaloneExercicesByValidation float64 `json:"unlockedStandaloneExercicesByValidation,omitempty"`
|
||||
// UnlockedStandaloneExercicesByThemeStepValidation unlock this number of standalone exercice for each theme step validated.
|
||||
UnlockedStandaloneExercicesByThemeStepValidation float64 `json:"unlockedStandaloneExercicesByThemeStepValidation,omitempty"`
|
||||
// UnlockedStandaloneExercicesByStandaloneExerciceValidation unlock this number of standalone exercice for each standalone exercice validated.
|
||||
UnlockedStandaloneExercicesByStandaloneExerciceValidation float64 `json:"unlockedStandaloneExercicesByStandaloneExerciceValidation,omitempty"`
|
||||
// SubmissionUniqueness don't count multiple times identical tries.
|
||||
SubmissionUniqueness bool `json:"submissionUniqueness,omitempty"`
|
||||
// CountOnlyNotGoodTries don't count as a try when one good response is given at least.
|
||||
|
|
|
|||
Reference in a new issue