Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration struct { Amount int `json:"amount"` Unit DurationUnit `json:"unit"` }
type DurationUnit ¶
type DurationUnit string
const ( Minute DurationUnit = "minute" Day DurationUnit = "day" )
type IdMapping ¶
type IdMapping struct { Type StorageType ShortId int RealId string }
type Project ¶
type Project struct { CanAssignTasks bool `json:"can_assign_tasks"` ChildOrder int32 `json:"child_order"` Collapsed bool `json:"collapsed"` Color string `json:"color"` CreatedAt string `json:"created_at"` ID string `json:"id" gorm:"primaryKey"` IsArchived bool `json:"is_archived"` IsDeleted bool `json:"is_deleted"` IsFavorite bool `json:"is_favorite"` Name string `json:"name"` ParentID *string `json:"parent_id"` SyncID *string `json:"sync_id"` UpdatedAt string `json:"updated_at"` V2ID string `json:"v2_id"` V2ParentID *string `json:"v2_parent_id"` ViewStyle string `json:"view_style"` }
type StorageType ¶
type StorageType string
const ( StorageTypeProject StorageType = "project" StorageTypeTask StorageType = "task" )
type Task ¶
type Task struct { AddedAt string `json:"added_at"` AddedByUID string `json:"added_by_uid"` AssignedByUID *string `json:"assigned_by_uid"` Checked bool `json:"checked"` ChildOrder int32 `json:"child_order"` Collapsed bool `json:"collapsed"` CompletedAt *string `json:"completed_at"` Content string `json:"content"` DayOrder int `json:"day_order"` Description string `json:"description"` Due *datatypes.JSONType[DueDate] `json:"due"` Duration *datatypes.JSONType[Duration] `json:"duration"` ID string `json:"id"` IsDeleted bool `json:"is_deleted"` Labels datatypes.JSONSlice[string] `json:"labels"` ParentID *string `json:"parent_id"` Priority int `json:"priority"` ProjectID string `json:"project_id"` ResponsibleUID *string `json:"responsible_uid"` SectionID *string `json:"section_id"` SyncID *string `json:"sync_id"` UpdatedAt string `json:"updated_at"` UserID string `json:"user_id"` V2ID string `json:"v2_id"` V2ParentID *string `json:"v2_parent_id"` V2ProjectID string `json:"v2_project_id"` V2SectionID *string `json:"v2_section_id"` }
Click to show internal directories.
Click to hide internal directories.