feat: add query quota of workspace (#5603)

This commit is contained in:
DarkSky
2024-01-16 09:45:55 +00:00
parent 4f4d057aad
commit ee2520ec18
9 changed files with 98 additions and 14 deletions

View File

@@ -131,6 +131,9 @@ type WorkspaceType {
"""Owner of workspace"""
owner: UserType!
"""quota of workspace"""
quota: QuotaQueryType!
"""Available features of workspace"""
availableFeatures: [FeatureType!]!
@@ -183,6 +186,12 @@ type InvitationType {
invitee: UserType!
}
type QuotaQueryType {
storageQuota: Int!
usedSize: Int!
blobLimit: Int!
}
type TokenType {
token: String!
refresh: String!