From d385c1f975dffb4f819a6269e93d3c520fca791e Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 28 Sep 2026 22:17:20 +0000 Subject: [PATCH] docs: describe authoritative owner quota projection Signed-off-by: Codex Co-authored-by: Codex (cherry picked from commit b50d7f833e7e99a5fc2c1c3c62acd1d3a3cff590) Signed-off-by: Codex --- crates/buzz-db/src/store/community.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/buzz-db/src/store/community.rs b/crates/buzz-db/src/store/community.rs index 2b822f848b..01eea25459 100644 --- a/crates/buzz-db/src/store/community.rs +++ b/crates/buzz-db/src/store/community.rs @@ -64,9 +64,13 @@ pub struct OwnedCommunityRecord { /// Owner-list rows plus the authoritative quota projection from one snapshot. #[derive(Debug, Clone, PartialEq, Eq)] pub struct OwnedCommunitiesPage { + /// Visible live owner memberships, excluding communities already under deletion. pub communities: Vec, + /// De-duplicated live memberships and incomplete owner deletion reservations. pub quota_used: i64, + /// Configured maximum hosted communities for one owner. pub quota_limit: i64, + /// Whether the authoritative snapshot leaves capacity for another community. pub can_create: bool, }