[ledger] Shared projects: project.shared and project.unshared, one budget at a time, with their checks; v0.8.0

This commit is contained in:
2026-11-16 03:17:42 +01:00
parent a3a50615bb
commit 59bbeaf9de
7 changed files with 67 additions and 6 deletions
+8
View File
@@ -226,4 +226,12 @@ pub enum EventBody {
/// An invoice issued for a business project, and the time entries it bills (none: not from time).
#[serde(rename = "invoice.projected")]
InvoiceProjected { invoice: InvoiceId, project: ProjectId, entries: Vec<EntryId> },
/// The project is shared with the members of a shared budget: the app mirrors its name, dates, status, lines,
/// phases and tasks through that budget's log. Time, invoices and project rules are never shared. One budget
/// at a time.
#[serde(rename = "project.shared")]
ProjectShared { project: ProjectId, budget: BudgetId },
/// Not shared any more: the members keep the copy they have.
#[serde(rename = "project.unshared")]
ProjectUnshared { project: ProjectId },
}