mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 22:37:04 +08:00
refactor(server): remove never used column in page permission (#9985)
This commit is contained in:
@@ -383,20 +383,16 @@ input GrantDocUserRolesInput {
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
type GrantedDocUserEdge {
|
||||
cursor: String!
|
||||
user: GrantedDocUserType!
|
||||
}
|
||||
|
||||
type GrantedDocUserType {
|
||||
pageId: String!
|
||||
role: DocRole!
|
||||
user: UserType!
|
||||
userId: String!
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
type GrantedDocUsersConnection {
|
||||
edges: [GrantedDocUserEdge!]!
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Int!
|
||||
type GrantedDocUserTypeEdge {
|
||||
cursor: String!
|
||||
node: GrantedDocUserType!
|
||||
}
|
||||
|
||||
type InvalidEmailDataType {
|
||||
@@ -685,16 +681,6 @@ enum OAuthProviderType {
|
||||
OIDC
|
||||
}
|
||||
|
||||
input PageGrantedUsersInput {
|
||||
"""Cursor"""
|
||||
after: String
|
||||
|
||||
"""Cursor"""
|
||||
before: String
|
||||
first: Int!
|
||||
offset: Int!
|
||||
}
|
||||
|
||||
type PageInfo {
|
||||
endCursor: String
|
||||
hasNextPage: Boolean!
|
||||
@@ -702,6 +688,28 @@ type PageInfo {
|
||||
startCursor: String
|
||||
}
|
||||
|
||||
type PaginatedGrantedDocUserType {
|
||||
edges: [GrantedDocUserTypeEdge!]!
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Int!
|
||||
}
|
||||
|
||||
input PaginationInput {
|
||||
"""returns the elements in the list that come after the specified cursor."""
|
||||
after: String
|
||||
|
||||
"""
|
||||
returns the elements in the list that come before the specified cursor.
|
||||
"""
|
||||
before: String
|
||||
|
||||
"""returns the first n elements from the list."""
|
||||
first: Int = 10
|
||||
|
||||
"""ignore the first n elements from the list."""
|
||||
offset: Int = 0
|
||||
}
|
||||
|
||||
type PasswordLimitsType {
|
||||
maxLength: Int!
|
||||
minLength: Int!
|
||||
@@ -1200,7 +1208,7 @@ type WorkspaceType {
|
||||
owner: UserType!
|
||||
|
||||
"""Page granted users list"""
|
||||
pageGrantedUsersList(pageGrantedUsersInput: PageGrantedUsersInput!, pageId: String!): GrantedDocUsersConnection!
|
||||
pageGrantedUsersList(pageId: String!, pagination: PaginationInput!): PaginatedGrantedDocUserType!
|
||||
|
||||
"""Cloud page metadata of workspace"""
|
||||
pageMeta(pageId: String!): WorkspacePageMeta!
|
||||
|
||||
Reference in New Issue
Block a user