mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-16 02:33:26 +03:00
6451dd2928
[bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
46 lines
1000 B
Go
46 lines
1000 B
Go
package github
|
|
|
|
type createIssueMutation struct {
|
|
CreateIssue struct {
|
|
Issue struct {
|
|
ID string `graphql:"id"`
|
|
URL string `graphql:"url"`
|
|
}
|
|
} `graphql:"createIssue(input:$input)"`
|
|
}
|
|
|
|
type updateIssueMutation struct {
|
|
UpdateIssue struct {
|
|
Issue struct {
|
|
ID string `graphql:"id"`
|
|
URL string `graphql:"url"`
|
|
}
|
|
} `graphql:"updateIssue(input:$input)"`
|
|
}
|
|
|
|
type addCommentToIssueMutation struct {
|
|
AddComment struct {
|
|
CommentEdge struct {
|
|
Node struct {
|
|
ID string `graphql:"id"`
|
|
URL string `graphql:"url"`
|
|
}
|
|
}
|
|
} `graphql:"addComment(input:$input)"`
|
|
}
|
|
|
|
type updateIssueCommentMutation struct {
|
|
IssueComment struct {
|
|
ID string `graphql:"id"`
|
|
URL string `graphql:"url"`
|
|
} `graphql:"updateIssueComment(input:$input)"`
|
|
}
|
|
|
|
type removeLabelsFromLabelableMutation struct {
|
|
AddLabels struct{} `graphql:"removeLabelsFromLabelable(input:$input)"`
|
|
}
|
|
|
|
type addLabelsToLabelableMutation struct {
|
|
RemoveLabels struct{} `graphql:"addLabelsToLabelable(input:$input)"`
|
|
}
|