aboutsummaryrefslogtreecommitdiffstats
path: root/internal/chore
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-17 01:09:47 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-17 01:09:47 -0400
commitc7b29fa19510daf4e766b689c7bc105742f35119 (patch)
tree2dd135aa2269531be353ff40446c740e6ee5f6ee /internal/chore
parent12aaa903878958505d29284ac4d0d6605ba71c48 (diff)
downloaddonetick-c7b29fa19510daf4e766b689c7bc105742f35119.tar.gz
donetick-c7b29fa19510daf4e766b689c7bc105742f35119.tar.bz2
donetick-c7b29fa19510daf4e766b689c7bc105742f35119.zip
Add CircleGroup notifications to chore notifications
Diffstat (limited to '')
-rw-r--r--internal/chore/model/model.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/internal/chore/model/model.go b/internal/chore/model/model.go
index 3fb7a92..c9cf28c 100644
--- a/internal/chore/model/model.go
+++ b/internal/chore/model/model.go
@@ -51,10 +51,12 @@ type FrequencyMetadata struct {
}
type NotificationMetadata struct {
- DueDate bool `json:"dueDate,omitempty"`
- Completion bool `json:"completion,omitempty"`
- Nagging bool `json:"nagging,omitempty"`
- PreDue bool `json:"predue,omitempty"`
+ DueDate bool `json:"dueDate,omitempty"`
+ Completion bool `json:"completion,omitempty"`
+ Nagging bool `json:"nagging,omitempty"`
+ PreDue bool `json:"predue,omitempty"`
+ CircleGroup bool `json:"circleGroup,omitempty"`
+ CircleGroupID *int64 `json:"circleGroupID,omitempty"`
}
type Tag struct {