summaryrefslogtreecommitdiff
path: root/internal/models
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models')
-rw-r--r--internal/models/atom.go1
-rw-r--r--internal/models/types.go4
2 files changed, 1 insertions, 4 deletions
diff --git a/internal/models/atom.go b/internal/models/atom.go
index 21d30a6..bcf3c78 100644
--- a/internal/models/atom.go
+++ b/internal/models/atom.go
@@ -42,7 +42,6 @@ type Atom struct {
IsOverdue bool // True if due date is before today
IsFuture bool // True if due date is after today
HasSetTime bool // True if due time is not midnight (has specific time)
- IsRecurring bool // True if this is a recurring task
// Original Data (for write operations)
Raw interface{}
diff --git a/internal/models/types.go b/internal/models/types.go
index f74d264..fdde455 100644
--- a/internal/models/types.go
+++ b/internal/models/types.go
@@ -19,11 +19,9 @@ type Task struct {
Labels []string `json:"labels"`
URL string `json:"url"`
CreatedAt time.Time `json:"created_at"`
- IsRecurring bool `json:"is_recurring"`
// Recurrence (doot-native tasks only). RecurrenceSeriesID != "" is the
- // real "is this task recurring" indicator -- IsRecurring above predates
- // this feature and is never set by it.
+ // indicator that a task is recurring.
RecurrenceFreq string `json:"recurrence_freq,omitempty"`
RecurrenceInterval int `json:"recurrence_interval,omitempty"`
RecurrenceWeekdays []int `json:"recurrence_weekdays,omitempty"`