feat: page history pagination + dark mode fix

This commit is contained in:
Nicolas Giard
2018-11-25 18:25:52 -05:00
parent 78ba895eee
commit 964712905b
5 changed files with 134 additions and 61 deletions

View File

@@ -1,13 +1,16 @@
query($id: Int!, $offset: Int) {
query($id: Int!, $offsetPage: Int, $offsetSize: Int) {
pages {
history(id:$id, offset:$offset) {
versionId
authorId
authorName
actionType
valueBefore
valueAfter
createdAt
history(id:$id, offsetPage:$offsetPage, offsetSize:$offsetSize) {
trail {
versionId
authorId
authorName
actionType
valueBefore
valueAfter
createdAt
}
total
}
}
}