Documentation
¶
Index ¶
Constants ¶
View Source
const Schema = "taskbridge.actions.v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
ID string `json:"id"`
Type string `json:"type"`
TaskID string `json:"task_id,omitempty"`
ProjectID string `json:"project_id,omitempty"`
DueDate string `json:"due_date,omitempty"`
Reason string `json:"reason,omitempty"`
RequiresConfirmation bool `json:"requires_confirmation,omitempty"`
}
type ActionOutcome ¶ added in v1.0.7
type ExecuteOptions ¶
type ExecuteResult ¶
type ExecuteResult struct {
Schema string `json:"schema"`
Status string `json:"status"`
DryRun bool `json:"dry_run"`
RequiresConfirmation bool `json:"requires_confirmation"`
Total int `json:"total"`
Updated int `json:"updated"`
Skipped int `json:"skipped"`
Errors []string `json:"errors"`
Actions []ActionOutcome `json:"actions"`
}
type Executor ¶
func (Executor) Execute ¶
func (e Executor) Execute(ctx context.Context, file *File, opts ExecuteOptions) ExecuteResult
Click to show internal directories.
Click to hide internal directories.