diff --git a/schemas/17-Hiro-Streaks.json b/schemas/17-Hiro-Streaks.json index 599b6ee..e628442 100644 --- a/schemas/17-Hiro-Streaks.json +++ b/schemas/17-Hiro-Streaks.json @@ -61,6 +61,10 @@ "type": "integer", "minimum": 0 }, + "grace_window_sec": { + "type": "integer", + "minimum": 0 + }, "rewards": { "type": "array", "items": { diff --git a/streaks.go b/streaks.go index 6983411..c14af00 100644 --- a/streaks.go +++ b/streaks.go @@ -37,6 +37,7 @@ type StreaksConfigStreak struct { MaxIdleCountDecay int64 `json:"max_idle_count_decay,omitempty"` ResetCronexpr string `json:"reset_cronexpr,omitempty"` TimeOffsetSec int64 `json:"time_offset_sec,omitempty"` + GraceWindowSec int64 `json:"grace_window_sec,omitempty"` Rewards []*StreaksConfigStreakReward `json:"rewards,omitempty"` StartTimeSec int64 `json:"start_time_sec,omitempty"` EndTimeSec int64 `json:"end_time_sec,omitempty"`