aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/list/ListQuery.graphql
blob: ded60c8a80a4abc785d8d36e709e9c5924c9c7be (plain) (blame)
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
30
31
32
33
34
35
36
37
#import "./BugRow.graphql"

query ListBugs(
  $first: Int
  $last: Int
  $after: String
  $before: String
  $query: String
) {
  repository {
    bugs: allBugs(
      first: $first
      last: $last
      after: $after
      before: $before
      query: $query
    ) {
      ...BugList
      pageInfo {
        hasNextPage
        hasPreviousPage
        startCursor
        endCursor
      }
    }
  }
}

fragment BugList on BugConnection {
  totalCount
  edges {
    cursor
    node {
      ...BugRow
    }
  }
}