templates

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplateContext added in v0.11.0

func NewTemplateContext(board *tasksv1.Board, task *tasksv1.Task, comment *tasksv1.TaskComment) (map[string]any, error)

Types

type Board added in v0.11.0

type Board struct {
	DisplayName string
	ID          string
}

type Task

type Task struct {
	ID          string
	Status      *TaskStatus
	Tags        []TaskTag
	Title       string
	Description string
	DueTime     *time.Time
	Assignee    string
	Creator     string
}

type TaskStatus added in v0.10.4

type TaskStatus struct {
	*tasksv1.TaskStatus
	Foreground string
}

type TaskTag added in v0.10.4

type TaskTag struct {
	*tasksv1.TaskTag
	Foreground string
}

type TemplateContext added in v0.11.0

type TemplateContext struct {
	Comment *tasksv1.TaskComment
	Task    Task
	Board   Board
}

Jump to

Keyboard shortcuts

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