bankai/task_mutation
Types
pub type Mutation {
Release(id: String)
Reopen(id: String)
Undefer(id: String)
RemoveLabel(id: String, label: String)
SetStatus(id: String, status: types.TaskStatus)
SetPriority(id: String, priority: Int)
}
Constructors
-
Release(id: String) -
Reopen(id: String) -
Undefer(id: String) -
RemoveLabel(id: String, label: String) -
SetStatus(id: String, status: types.TaskStatus) -
SetPriority(id: String, priority: Int)
Values
pub fn apply(
task: types.Task,
mutation: Mutation,
now: Int,
) -> Result(types.Task, String)