export_query.go

 1package github
 2
 3type createIssueMutation struct {
 4	CreateIssue struct {
 5		Issue struct {
 6			ID  string `graphql:"id"`
 7			URL string `graphql:"url"`
 8		}
 9	} `graphql:"createIssue(input:$input)"`
10}
11
12type updateIssueMutation struct {
13	UpdateIssue struct {
14		Issue struct {
15			ID  string `graphql:"id"`
16			URL string `graphql:"url"`
17		}
18	} `graphql:"updateIssue(input:$input)"`
19}
20
21type addCommentToIssueMutation struct {
22	AddComment struct {
23		CommentEdge struct {
24			Node struct {
25				ID  string `graphql:"id"`
26				URL string `graphql:"url"`
27			}
28		}
29	} `graphql:"addComment(input:$input)"`
30}
31
32type updateIssueCommentMutation struct {
33	IssueComment struct {
34		ID  string `graphql:"id"`
35		URL string `graphql:"url"`
36	} `graphql:"updateIssueComment(input:$input)"`
37}
38
39type removeLabelsFromLabelableMutation struct {
40	AddLabels struct{} `graphql:"removeLabelsFromLabelable(input:$input)"`
41}
42
43type addLabelsToLabelableMutation struct {
44	RemoveLabels struct{} `graphql:"addLabelsToLabelable(input:$input)"`
45}