mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: allow sort and filter forked session (#7519)
This commit is contained in:
@@ -7,6 +7,11 @@ type BlobNotFoundDataType {
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
enum ChatHistoryOrder {
|
||||
asc
|
||||
desc
|
||||
}
|
||||
|
||||
type ChatMessage {
|
||||
attachments: [String!]
|
||||
content: String!
|
||||
@@ -554,8 +559,11 @@ type Query {
|
||||
|
||||
input QueryChatHistoriesInput {
|
||||
action: Boolean
|
||||
fork: Boolean
|
||||
limit: Int
|
||||
messageOrder: ChatHistoryOrder
|
||||
sessionId: String
|
||||
sessionOrder: ChatHistoryOrder
|
||||
skip: Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user