model

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Label

type Label struct {
	*sync.Label
	IsShared bool `json:"is_shared"`
	Count    int  `json:"count"`
}

type LabelDeleteArgs

type LabelDeleteArgs struct {
	Name string `json:"name"`
}

type LabelUpdateArgs

type LabelUpdateArgs struct {
	Name string `json:"name"`
	Args sync.LabelUpdateArgs
}

type ProjectListArgs

type ProjectListArgs struct {
	All          bool `json:"all"`
	OnlyArchived bool `json:"only_archived"`
}

type Section

type Section struct {
	*sync.Section
	ProjectName string `json:"project_name"`
}

type SectionListArgs

type SectionListArgs struct {
	ProjectID    string `json:"project_id"`
	All          bool   `json:"all"`
	OnlyArchived bool   `json:"only_archived"`
}

type SubTaskStatus

type SubTaskStatus struct {
	Total     int `json:"total"`
	Completed int `json:"completed"`
}

type SyncArgs

type SyncArgs struct {
	Force bool
	All   bool
	Since time.Time
}

type Task

type Task struct {
	*sync.Task
	ProjectName   string        `json:"project_name"`
	ProjectColor  sync.Color    `json:"project_color"`
	SectionName   string        `json:"section_name"`
	SubTasks      []*Task       `json:"sub_tasks"`
	SubTaskStatus SubTaskStatus `json:"sub_task_status"`
	Labels        []*Label      `json:"labels"`
}

type TaskListArgs

type TaskListArgs struct {
	Tree          bool   `json:"tree"`
	ProjectID     string `json:"project_id"`
	ParentID      string `json:"parent_id"`
	All           bool   `json:"completed"`
	OnlyCompleted bool   `json:"only_completed"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL