bankai/daemon_store/mutations
Task creation and mutation service.
Coordinates atomic single-task mutations, gate configuration, cluster-fenced updates, and duplicate merging in Mnesia.
Types
pub type Claimed {
Claimed(
task: types.Task,
admission: option.Option(cluster.Admission),
)
}
Constructors
-
Claimed( task: types.Task, admission: option.Option(cluster.Admission), )
Values
pub fn add_label(
workspace: String,
id: String,
label: String,
) -> Result(json.Json, String)
pub fn claim(
workspace: String,
id: String,
rest: List(String),
) -> Result(json.Json, String)
pub fn claim_next_ready(
workspace: String,
rest: List(String),
) -> Result(json.Json, String)
pub fn claim_record(
workspace: String,
id: String,
rest: List(String),
) -> Result(Claimed, String)
pub fn close(
workspace: String,
id: String,
reason: String,
) -> Result(json.Json, String)
pub fn create(
workspace: String,
title: String,
rest: List(String),
) -> Result(json.Json, String)
pub fn defer_until(
workspace: String,
id: String,
until_text: String,
) -> Result(json.Json, String)
pub fn merge(
workspace: String,
source_id: String,
canonical_id: String,
) -> Result(json.Json, String)
pub fn remove_label(
workspace: String,
id: String,
label: String,
) -> Result(json.Json, String)
pub fn satisfy_gate(
workspace: String,
id: String,
) -> Result(json.Json, String)
pub fn set_priority(
workspace: String,
id: String,
priority_text: String,
) -> Result(json.Json, String)
pub fn update(
workspace: String,
id: String,
status: String,
) -> Result(json.Json, String)
pub fn update_fenced(
workspace: String,
id: String,
status: String,
fence_text: String,
) -> Result(json.Json, String)