mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat(storage): binding jwst storage to node (#2808)
This commit is contained in:
@@ -106,7 +106,7 @@ type Mutation {
|
||||
"""
|
||||
Create a new workspace
|
||||
"""
|
||||
createWorkspace: WorkspaceType!
|
||||
createWorkspace(init: Upload!): WorkspaceType!
|
||||
|
||||
"""
|
||||
Update workspace
|
||||
@@ -121,6 +121,7 @@ type Mutation {
|
||||
revoke(workspaceId: String!, userId: String!): Boolean!
|
||||
acceptInvite(workspaceId: String!): Boolean!
|
||||
leaveWorkspace(workspaceId: String!): Boolean!
|
||||
uploadBlob(workspaceId: String!, blob: Upload!): String!
|
||||
|
||||
"""
|
||||
Upload user avatar
|
||||
@@ -128,6 +129,11 @@ type Mutation {
|
||||
uploadAvatar(id: String!, avatar: Upload!): UserType!
|
||||
}
|
||||
|
||||
"""
|
||||
The `Upload` scalar type represents a file upload.
|
||||
"""
|
||||
scalar Upload
|
||||
|
||||
input UpdateWorkspaceInput {
|
||||
"""
|
||||
is Public workspace
|
||||
@@ -135,8 +141,3 @@ input UpdateWorkspaceInput {
|
||||
public: Boolean
|
||||
id: ID!
|
||||
}
|
||||
|
||||
"""
|
||||
The `Upload` scalar type represents a file upload.
|
||||
"""
|
||||
scalar Upload
|
||||
|
||||
Reference in New Issue
Block a user