diff options
Diffstat (limited to 'internal/models')
| -rw-r--r-- | internal/models/types.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/models/types.go b/internal/models/types.go index 846ce50..151ef54 100644 --- a/internal/models/types.go +++ b/internal/models/types.go @@ -62,6 +62,13 @@ type ChainSummary struct { Total int } +// BucketSummary is a maintenance bucket plus its full pool (dormant and +// active tasks both), for the Settings page's bucket-management view. +type BucketSummary struct { + Bucket MaintenanceBucket + Items []Task +} + // ChainTaskInput seeds one position of a chain at creation time. Priority // of 0 (the zero value, JSON field omitted) defaults to 1, matching // CreateNativeTask's default. |
