feat: history version diff

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2020-03-01 18:25:43 -05:00
1 parent 27ff329d16
commit 95f01cdeb8
5 files changed
+175 -40

No files matched your search

+9
View File
@@ -21,6 +21,15 @@ module.exports = {
offsetSize: args.offsetSize || 100
})
},
/**
* PAGE VERSION
*/
async version(obj, args, context, info) {
return WIKI.models.pageHistory.getVersion({
pageId: args.pageId,
versionId: args.versionId
})
},
/**
* SEARCH PAGES
*/