aboutsummaryrefslogblamecommitdiffstats
path: root/webui/src/pages/list/ListQuery.graphql
blob: 922e8e09f4e97cc943f5eed740069bed0b464f03 (plain) (tree)
1
2
3
4
5
6
7
8
9








                          
              
        


























                                   
#import "./BugRow.graphql"

query ListBugs(
  $first: Int
  $last: Int
  $after: String
  $before: String
  $query: String
) {
  repository {
    name
    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
    }
  }
}