github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/pkg/platform/api/buildplanner/response/mergecommit.go (about) 1 package response 2 3 type mergedCommit struct { 4 Type string `json:"__typename"` 5 Commit *Commit `json:"commit"` 6 *Error 7 *MergeConflictError 8 *MergeError 9 *NotFoundError 10 *ParseError 11 *ForbiddenError 12 *HeadOnBranchMovedError 13 *NoChangeSinceLastCommitError 14 } 15 16 // MergeCommitResult is the result of a merge commit mutation. 17 // The resulting commit is only pushed to the platform automatically if the target ref was a named 18 // branch and the merge strategy was FastForward. 19 type MergeCommitResult struct { 20 MergedCommit *mergedCommit `json:"mergeCommit"` 21 }