admin/sync: New syntax for flag dependency

This commit is contained in:
nemunaire 2022-11-02 22:24:15 +01:00
commit 19daf69482
2 changed files with 7 additions and 0 deletions

View file

@ -54,6 +54,7 @@ type ExerciceFlag struct {
Choice []ExerciceFlagChoice
LockedFile []ExerciceUnlockFile `toml:"unlock_file,omitempty"`
NeedFlag []ExerciceDependency `toml:"need_flag,omitempty"`
NeedFlags []int64 `toml:"need_flags,omitempty"`
NoShuffle bool
Unit string `toml:"unit,omitempty"`
Variant string `toml:"variant,omitempty"`