mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat(server): support query overcapacity member count of workspace (#12050)
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Workspace quota information now includes a new metric: the count of members exceeding seat capacity ("overcapacityMemberCount"), available in both numeric and human-readable formats.
- The workspace quota display and related queries have been updated to show this new overcapacity member count alongside existing quota metrics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1746,6 +1746,7 @@ type WorkspaceQuotaHumanReadableType {
|
||||
memberCount: String!
|
||||
memberLimit: String!
|
||||
name: String!
|
||||
overcapacityMemberCount: String!
|
||||
storageQuota: String!
|
||||
storageQuotaUsed: String!
|
||||
}
|
||||
@@ -1757,6 +1758,7 @@ type WorkspaceQuotaType {
|
||||
memberCount: Int!
|
||||
memberLimit: Int!
|
||||
name: String!
|
||||
overcapacityMemberCount: Int!
|
||||
storageQuota: SafeInt!
|
||||
usedSize: SafeInt! @deprecated(reason: "use `usedStorageQuota` instead")
|
||||
usedStorageQuota: SafeInt!
|
||||
|
||||
Reference in New Issue
Block a user