[ledger] Household: profile.named, household.sharing_set, member.named, subscriptions.shared; shared_names sends only service keys; v0.3.0

This commit is contained in:
2026-11-04 16:17:14 +01:00
parent 11a4070151
commit 235f290412
8 changed files with 212 additions and 5 deletions
+13
View File
@@ -128,4 +128,17 @@ pub enum EventBody {
/// The account people pay back to by QR Platba.
#[serde(rename = "account.set")]
AccountSet { iban: String, name: String },
/// The name this person shows to the members of their shared budgets (the personal log).
#[serde(rename = "profile.named")]
ProfileNamed { name: String },
/// Share my subscription names with this shared budget's members, or stop (the personal log).
#[serde(rename = "household.sharing_set")]
HouseholdSharingSet { budget: BudgetId, on: bool },
/// A shared budget's log: the name its author shows there. The latest per author counts.
#[serde(rename = "member.named")]
MemberNamed { budget: BudgetId, name: String },
/// A shared budget's log: every subscription its author pays, as service keys (`spotify`). The latest per
/// author replaces the earlier ones; an empty list withdraws them.
#[serde(rename = "subscriptions.shared")]
SubscriptionsShared { budget: BudgetId, names: Vec<String> },
}