mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix(server): add mode property on mention doc input (#10853)
This commit is contained in:
@@ -300,6 +300,12 @@ type DocHistoryType {
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
"""Doc mode"""
|
||||
enum DocMode {
|
||||
edgeless
|
||||
page
|
||||
}
|
||||
|
||||
type DocNotFoundDataType {
|
||||
docId: String!
|
||||
spaceId: String!
|
||||
@@ -755,6 +761,7 @@ input MentionDocInput {
|
||||
"""The element id in the doc"""
|
||||
elementId: String
|
||||
id: String!
|
||||
mode: DocMode!
|
||||
title: String!
|
||||
}
|
||||
|
||||
@@ -762,6 +769,7 @@ type MentionDocType {
|
||||
blockId: String
|
||||
elementId: String
|
||||
id: String!
|
||||
mode: DocMode!
|
||||
title: String!
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user