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

15 lines
297 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 {
2022-01-26 12:08:38 +05:30
id
2021-10-27 15:23:28 +05:30
path
}
}
}
errors
}
}