summaryrefslogtreecommitdiff
path: root/internal/models/types.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-12 11:06:32 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-12 11:06:32 +0000
commitf31b4722243b8b69564c94e47e07678153c31815 (patch)
tree9b66a2132b7c40c3ca189aa151327aeec33cc18b /internal/models/types.go
parentb1c76cdf30b7d491f3791588c8aa8c66ee5a0950 (diff)
feat(widget): capture and forward RecurringEventID for calendar events
Diffstat (limited to 'internal/models/types.go')
-rw-r--r--internal/models/types.go25
1 files changed, 13 insertions, 12 deletions
diff --git a/internal/models/types.go b/internal/models/types.go
index d9dd515..b3f3a22 100644
--- a/internal/models/types.go
+++ b/internal/models/types.go
@@ -126,12 +126,13 @@ type Project struct {
// CalendarEvent represents a Google Calendar event
type CalendarEvent struct {
- ID string `json:"id"`
- Summary string `json:"summary"`
- Description string `json:"description"`
- Start time.Time `json:"start"`
- End time.Time `json:"end"`
- HTMLLink string `json:"html_link"`
+ ID string `json:"id"`
+ Summary string `json:"summary"`
+ Description string `json:"description"`
+ Start time.Time `json:"start"`
+ End time.Time `json:"end"`
+ HTMLLink string `json:"html_link"`
+ RecurringEventID string `json:"recurring_event_id,omitempty"` // empty = not a recurring instance
}
// GoogleTask represents a task from Google Tasks
@@ -248,12 +249,12 @@ type CompletedTask struct {
// SourceConfig represents a configurable item from a data source
type SourceConfig struct {
- ID int64 `json:"id"`
- Source string `json:"source"` // trello, gcal, gtasks
- ItemType string `json:"item_type"` // board, project, calendar, tasklist
- ItemID string `json:"item_id"`
- ItemName string `json:"item_name"`
- Enabled bool `json:"enabled"`
+ ID int64 `json:"id"`
+ Source string `json:"source"` // trello, gcal, gtasks
+ ItemType string `json:"item_type"` // board, project, calendar, tasklist
+ ItemID string `json:"item_id"`
+ ItemName string `json:"item_name"`
+ Enabled bool `json:"enabled"`
}
// FeatureToggle represents a feature flag