mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-31 00:59:57 +08:00
feat(server): add pinned & action filter for session query (#12876)
fix AI-222
This commit is contained in:
@@ -145,9 +145,6 @@ type Copilot {
|
||||
"""Get the session by id"""
|
||||
session(sessionId: String!): CopilotSessionType!
|
||||
|
||||
"""Get the session id list in the workspace"""
|
||||
sessionIds(docId: String, options: QueryChatSessionsInput): [String!]! @deprecated(reason: "Use `sessions` instead")
|
||||
|
||||
"""Get the session list in the workspace"""
|
||||
sessions(docId: String, options: QueryChatSessionsInput): [CopilotSessionType!]!
|
||||
workspaceId: ID
|
||||
@@ -1440,6 +1437,7 @@ input QueryChatHistoriesInput {
|
||||
fork: Boolean
|
||||
limit: Int
|
||||
messageOrder: ChatHistoryOrder
|
||||
pinned: Boolean
|
||||
sessionId: String
|
||||
sessionOrder: ChatHistoryOrder
|
||||
skip: Int
|
||||
@@ -1448,6 +1446,10 @@ input QueryChatHistoriesInput {
|
||||
|
||||
input QueryChatSessionsInput {
|
||||
action: Boolean
|
||||
fork: Boolean
|
||||
limit: Int
|
||||
pinned: Boolean
|
||||
skip: Int
|
||||
}
|
||||
|
||||
type QueryTooLongDataType {
|
||||
|
||||
Reference in New Issue
Block a user