aboutsummaryrefslogblamecommitdiffstats
path: root/bridge/github/export_query.go
blob: a527399e61ee8eb9f685e6f080dfc27bee7d1d87 (plain) (tree)


































                                                          




                                                                              

 

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