debian-mirror-gitlab/app/assets/javascripts/repository/mutations/lock_path.mutation.graphql

14 lines
284 B
GraphQL
Raw Normal View History

2021-10-27 15:23:28 +05:30
mutation toggleLock($projectPath: ID!, $filePath: String!, $lock: Boolean!) {
projectSetLocked(input: { projectPath: $projectPath, filePath: $filePath, lock: $lock }) {
project {
id
pathLocks {
nodes {
path
}
}
}
errors
}
}