aboutsummaryrefslogblamecommitdiffstats
path: root/webui/src/list/ListQuery.graphql
blob: bf9ea80a4ae5da5670ae4c1c92fe74cb44701491 (plain) (tree)




































                                   
#import "./BugRow.graphql"

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