summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repository/mutations/lock_path.mutation.graphql
blob: eaebc4ddf17caaac2e854ab108b238f562657e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mutation toggleLock($projectPath: ID!, $filePath: String!, $lock: Boolean!) {
  projectSetLocked(input: { projectPath: $projectPath, filePath: $filePath, lock: $lock }) {
    project {
      id
      pathLocks {
        nodes {
          path
        }
      }
    }
    errors
  }
}