[next] Moderation Queues (#2098)

* fix: edit comment fix for reactions

* feat: Comment Queue Counts

- Removed "remove flag"
- Rearranged moderation services
- Rearranged comment counts on stories
- Added moderation queue counts to stories
- Added comments edge
- Improved Cursor/Connection types
- Improved count updators for stories

* feat: added shared comment counts and queues

- Added new AugmentedRedis type
- Added more log calls
- Update counts in shared counter as well
- Return a Query level Moderation Queue

* fix: fixed test
This commit is contained in:
Wyatt Johnson
2018-12-07 00:37:33 +01:00
committed by Kiwi
parent 5b62082693
commit 4584c3d4fb
53 changed files with 2444 additions and 768 deletions
@@ -19,6 +19,9 @@ const mutation = graphql`
editComment(input: $input) {
comment {
body
revision {
id
}
editing {
edited
}
@@ -40,6 +40,9 @@ function createTestRenderer() {
editing: {
edited: true,
},
revision: {
id: stories[0].comments.edges[0].node.revision.id,
},
},
clientMutationId: "0",
})