debian-mirror-gitlab/app/assets/javascripts/boards/graphql/board_lists.query.graphql

39 lines
926 B
GraphQL
Raw Normal View History

2021-02-22 17:27:13 +05:30
#import "ee_else_ce/boards/graphql/board_list.fragment.graphql"
2021-01-03 14:25:43 +05:30
2021-12-11 22:18:48 +05:30
query BoardLists(
2021-01-03 14:25:43 +05:30
$fullPath: ID!
$boardId: ID!
$filters: BoardIssueInput
$isGroup: Boolean = false
$isProject: Boolean = false
) {
group(fullPath: $fullPath) @include(if: $isGroup) {
2022-01-26 12:08:38 +05:30
id
2021-01-03 14:25:43 +05:30
board(id: $boardId) {
2022-01-26 12:08:38 +05:30
id
2021-10-27 15:23:28 +05:30
hideBacklogList
2021-01-03 14:25:43 +05:30
lists(issueFilters: $filters) {
2022-01-26 12:08:38 +05:30
# We have ID in a deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
2021-01-03 14:25:43 +05:30
nodes {
...BoardListFragment
}
}
}
}
project(fullPath: $fullPath) @include(if: $isProject) {
2022-01-26 12:08:38 +05:30
id
2021-01-03 14:25:43 +05:30
board(id: $boardId) {
2022-01-26 12:08:38 +05:30
id
2021-10-27 15:23:28 +05:30
hideBacklogList
2021-01-03 14:25:43 +05:30
lists(issueFilters: $filters) {
2022-01-26 12:08:38 +05:30
# We have ID in a deeply nested fragment
# eslint-disable-next-line @graphql-eslint/require-id-when-available
2021-01-03 14:25:43 +05:30
nodes {
...BoardListFragment
}
}
}
}
}