debian-mirror-gitlab/app/assets/javascripts/repository/mutations/lock_path.mutation.graphql
2022-01-26 12:08:38 +05:30

14 lines
297 B
GraphQL

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