From 5491ff52de6ddf050a307ebc131f4b97758f043a Mon Sep 17 00:00:00 2001 From: Calm0 Date: Tue, 14 Jul 2026 15:12:57 +0200 Subject: [PATCH] Add `MaxCountReached` to the snapshot --- streaks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/streaks.go b/streaks.go index 871e37b..cab5295 100644 --- a/streaks.go +++ b/streaks.go @@ -66,6 +66,7 @@ type OnStreakChange func(ctx context.Context, logger runtime.Logger, nk runtime. type StreakSnapshot struct { Count int64 `json:"count,omitempty"` CountCurrentReset int64 `json:"count_current_reset,omitempty"` + MaxCountReached int64 `json:"max_count_reached,omitempty"` ClaimCount int64 `json:"claim_count,omitempty"` CreateTimeSec int64 `json:"create_time_sec,omitempty"` UpdateTimeSec int64 `json:"update_time_sec,omitempty"`