git-bug/bridge/github/export_query.go
Amine Hilaly 6451dd2928
[cache] BugCache: Add set metadata methods
[bridge/github] fix add/remove mutation requests

[bridge/github] iterator: fix typo
2019-06-24 21:26:34 +02:00

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)"`
}