feat: blob size api (#4060)

This commit is contained in:
DarkSky
2023-08-31 16:39:19 +08:00
committed by GitHub
parent cc00da9325
commit 0add43f8db
9 changed files with 335 additions and 295 deletions

View File

@@ -123,6 +123,10 @@ type InvitationWorkspaceType {
avatar: String!
}
type WorkspaceBlobSizes {
size: Int!
}
type InvitationType {
"""Workspace information"""
workspace: InvitationWorkspaceType!
@@ -149,6 +153,7 @@ type Query {
"""List blobs of workspace"""
listBlobs(workspaceId: String!): [String!]!
collectBlobSizes(workspaceId: String!): WorkspaceBlobSizes!
"""Get current user"""
currentUser: UserType!