add nextLogs and prevLogs suggestions to log.

This commit is contained in:
2020-08-09 15:35:49 +02:00
parent 757b0bc616
commit 47b7877ab4
7 changed files with 146 additions and 0 deletions
+14
View File
@@ -34,6 +34,20 @@ type Log {
# The posts of the logfile, which can be filtered by kinds.
posts(kinds:[String!]): [Post!]!
# Suggested next logs.
nextLogs: [LogSuggestion!]!
# Suggested previous logs.
prevLogs: [LogSuggestion!]!
}
# Suggested log
type LogSuggestion {
log: Log!
hasEvent: Boolean!
hasChannel: Boolean!
characters: [Character!]!
}
# Filter for logs query