summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
blob: 90901f54d54617c82544ac77e501adf3795a6f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
  project(fullPath: $projectPath) {
    repository {
      tree(path: $path, ref: $ref) {
        commit {
          id
          title
          message
          webUrl
          authoredDate
          author {
            name
            avatarUrl
            webUrl
          }
          pipeline {
            detailedStatus {
              detailsPath
              icon
              tooltip
              text
              group
            }
          }
        }
      }
    }
  }
}