mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
@@ -493,7 +493,7 @@ input GrantDocUserRolesInput {
|
||||
|
||||
type GrantedDocUserType {
|
||||
role: DocRole!
|
||||
user: PublicUserType!
|
||||
user: WorkspaceUserType!
|
||||
}
|
||||
|
||||
type GrantedDocUserTypeEdge {
|
||||
@@ -997,7 +997,6 @@ enum PublicDocMode {
|
||||
|
||||
type PublicUserType {
|
||||
avatarUrl: String
|
||||
email: String!
|
||||
id: String!
|
||||
name: String!
|
||||
}
|
||||
@@ -1022,6 +1021,9 @@ type Query {
|
||||
listCopilotPrompts: [CopilotPromptType!]!
|
||||
prices: [SubscriptionPrice!]!
|
||||
|
||||
"""Get public user by id"""
|
||||
publicUserById(id: String!): PublicUserType
|
||||
|
||||
"""server config"""
|
||||
serverConfig: ServerConfigType!
|
||||
|
||||
@@ -1555,6 +1557,13 @@ type WorkspaceType {
|
||||
team: Boolean!
|
||||
}
|
||||
|
||||
type WorkspaceUserType {
|
||||
avatarUrl: String
|
||||
email: String!
|
||||
id: String!
|
||||
name: String!
|
||||
}
|
||||
|
||||
type WrongSignInCredentialsDataType {
|
||||
email: String!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user