feat(server): add public user type (#10006)

This commit is contained in:
liuyi
2025-02-07 12:03:59 +08:00
committed by GitHub
parent e68bdbde3e
commit 00b1f01f9b
5 changed files with 60 additions and 15 deletions

View File

@@ -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")