mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat: blob size api (#4060)
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user