feat: support remove user & workspace avatar (#4302)

This commit is contained in:
Qi
2023-09-14 22:35:05 +08:00
committed by GitHub
parent e1a330a0a6
commit 465098cc9a
40 changed files with 504 additions and 808 deletions
+7
View File
@@ -34,6 +34,10 @@ type DeleteAccount {
success: Boolean!
}
type RemoveAvatar {
success: Boolean!
}
type AddToNewFeaturesWaitingList {
email: String!
@@ -187,6 +191,9 @@ type Mutation {
"""Upload user avatar"""
uploadAvatar(id: String!, avatar: Upload!): UserType!
"""Remove user avatar"""
removeAvatar: RemoveAvatar!
deleteAccount: DeleteAccount!
addToNewFeaturesWaitingList(type: NewFeaturesKind!, email: String!): AddToNewFeaturesWaitingList!
signUp(name: String!, email: String!, password: String!): UserType!