mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat(server): add public user type (#10006)
This commit is contained in:
@@ -385,10 +385,8 @@ input GrantDocUserRolesInput {
|
||||
}
|
||||
|
||||
type GrantedDocUserType {
|
||||
pageId: String!
|
||||
role: DocRole!
|
||||
userId: String!
|
||||
workspaceId: String!
|
||||
user: PublicUserType!
|
||||
}
|
||||
|
||||
type GrantedDocUserTypeEdge {
|
||||
@@ -731,6 +729,13 @@ enum PublicPageMode {
|
||||
Page
|
||||
}
|
||||
|
||||
type PublicUserType {
|
||||
avatarUrl: String
|
||||
email: String!
|
||||
id: String!
|
||||
name: String!
|
||||
}
|
||||
|
||||
type Query {
|
||||
collectAllBlobSizes: WorkspaceBlobSizes! @deprecated(reason: "use `user.quotaUsage` instead")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user