gitlab-org--gitlab-foss/app/assets/javascripts/boards/graphql/board_lists.query.graphql

39 lines
926 B
GraphQL

#import "ee_else_ce/boards/graphql/board_list.fragment.graphql"
query BoardLists(
$fullPath: ID!
$boardId: ID!
$filters: BoardIssueInput
$isGroup: Boolean = false
$isProject: Boolean = false
) {
group(fullPath: $fullPath) @include(if: $isGroup) {
id
board(id: $boardId) {
id
hideBacklogList
lists(issueFilters: $filters) {
# We have ID in a deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
nodes {
...BoardListFragment
}
}
}
}
project(fullPath: $fullPath) @include(if: $isProject) {
id
board(id: $boardId) {
id
hideBacklogList
lists(issueFilters: $filters) {
# We have ID in a deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
nodes {
...BoardListFragment
}
}
}
}
}