debian-mirror-gitlab/app/assets/javascripts/repository/mutations/lock_path.mutation.graphql
2021-10-27 15:23:28 +05:30

13 lines
284 B
GraphQL

mutation toggleLock($projectPath: ID!, $filePath: String!, $lock: Boolean!) {
projectSetLocked(input: { projectPath: $projectPath, filePath: $filePath, lock: $lock }) {
project {
id
pathLocks {
nodes {
path
}
}
}
errors
}
}