36 lines
782 B
GraphQL
36 lines
782 B
GraphQL
#import "~/graphql_shared/fragments/page_info.fragment.graphql"
|
|
#import "~/issues/list/queries/issue.fragment.graphql"
|
|
|
|
query getDashboardIssues(
|
|
$hideUsers: Boolean = false
|
|
$isSignedIn: Boolean = false
|
|
$search: String
|
|
$sort: IssueSort
|
|
$state: IssuableState
|
|
$assigneeUsernames: [String!]
|
|
$authorUsername: String
|
|
$afterCursor: String
|
|
$beforeCursor: String
|
|
$firstPageSize: Int
|
|
$lastPageSize: Int
|
|
) {
|
|
issues(
|
|
search: $search
|
|
sort: $sort
|
|
state: $state
|
|
assigneeUsernames: $assigneeUsernames
|
|
authorUsername: $authorUsername
|
|
after: $afterCursor
|
|
before: $beforeCursor
|
|
first: $firstPageSize
|
|
last: $lastPageSize
|
|
) {
|
|
nodes {
|
|
...IssueFragment
|
|
reference(full: true)
|
|
}
|
|
pageInfo {
|
|
...PageInfo
|
|
}
|
|
}
|
|
}
|