aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_query.go
diff options
context:
space:
mode:
authorAlexander Scharinger <rng.dynamics@gmail.com>2021-01-16 21:22:05 +0100
committerAlexander Scharinger <rng.dynamics@gmail.com>2021-01-24 21:31:35 +0100
commit2c0cf105278389f2c9cd3ce875b64ae36731a1ab (patch)
tree95b79e44ac339bee831bd8932b9d6291e91ca716 /bridge/github/import_query.go
parent955c6fa7d461841f2e1a0e61fd2741dab093dda5 (diff)
downloadgit-bug-2c0cf105278389f2c9cd3ce875b64ae36731a1ab.tar.gz
Add GraphQL github-bridge query for comment edits
Diffstat (limited to 'bridge/github/import_query.go')
-rw-r--r--bridge/github/import_query.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/bridge/github/import_query.go b/bridge/github/import_query.go
index 38cdc444..ef26b3e8 100644
--- a/bridge/github/import_query.go
+++ b/bridge/github/import_query.go
@@ -245,3 +245,15 @@ type timelineQuery struct {
} `graphql:"... on Issue"`
} `graphql:"node(id: $gqlNodeId)"`
}
+
+type commentEditQuery_A struct {
+ Node struct {
+ Typename githubv4.String `graphql:"__typename"`
+ IssueComment struct {
+ UserContentEdits struct {
+ Nodes []userContentEdit
+ PageInfo pageInfo
+ } `graphql:"userContentEdits(last: $commentEditLast, before: $commentEditBefore)"`
+ } `graphql:"... on IssueComment"`
+ } `graphql:"node(id: $gqlNodeId)"`
+}