2021-05-31 14:23:16 +02:00
|
|
|
import { gql } from 'graphql-tag';
|
2021-05-31 16:46:41 +02:00
|
|
|
|
2019-09-03 21:56:20 +03:00
|
|
|
import * as fragments from './fragments';
|
|
|
|
|
|
|
|
// updateRef only works for branches at the moment
|
|
|
|
export const updateBranch = gql`
|
|
|
|
mutation updateRef($input: UpdateRefInput!) {
|
|
|
|
updateRef(input: $input) {
|
|
|
|
branch: ref {
|
|
|
|
...BranchParts
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${fragments.branch}
|
|
|
|
`;
|