diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-03 09:10:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-03 09:10:53 +0300 |
commit | b29d7709c1c992d4e5aa481155ef60003cd43d55 (patch) | |
tree | b201a427596491432f78aadadabce70df9c71a6a /app/graphql/queries | |
parent | c657078ecb4bff69e58f6911713e143c99f2c71f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/queries')
-rw-r--r-- | app/graphql/queries/epic/epic_children.query.graphql | 160 |
1 files changed, 0 insertions, 160 deletions
diff --git a/app/graphql/queries/epic/epic_children.query.graphql b/app/graphql/queries/epic/epic_children.query.graphql deleted file mode 100644 index c50a73aafb2..00000000000 --- a/app/graphql/queries/epic/epic_children.query.graphql +++ /dev/null @@ -1,160 +0,0 @@ -fragment PageInfo on PageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor -} - -fragment RelatedTreeBaseEpic on Epic { - id - iid - title - webPath - relativePosition - userPermissions { - __typename - adminEpic - createEpic - } - descendantWeightSum { - closedIssues - openedIssues - } - descendantCounts { - __typename - openedEpics - closedEpics - openedIssues - closedIssues - } - healthStatus { - __typename - issuesAtRisk - issuesOnTrack - issuesNeedingAttention - } -} - -fragment EpicNode on Epic { - ...RelatedTreeBaseEpic - state - reference(full: true) - relationPath - createdAt - closedAt - confidential - hasChildren - hasIssues - labels { - __typename - nodes { - __typename - id - color - description - textColor - title - } - } - group { - __typename - id - fullPath - } -} - -query childItems( - $fullPath: ID! - $iid: ID - $pageSize: Int = 100 - $epicEndCursor: String = "" - $issueEndCursor: String = "" -) { - group(fullPath: $fullPath) { - __typename - id - path - fullPath - epic(iid: $iid) { - __typename - ...RelatedTreeBaseEpic - children(first: $pageSize, after: $epicEndCursor) { - __typename - edges { - __typename - # We have an id in deeply nested fragment - # eslint-disable-next-line @graphql-eslint/require-id-when-available - node { - __typename - ...EpicNode - } - } - pageInfo { - __typename - ...PageInfo - } - } - issues(first: $pageSize, after: $issueEndCursor) { - __typename - edges { - __typename - node { - __typename - id - iid - epicIssueId - title - blocked - closedAt - state - createdAt - confidential - dueDate - weight - webPath - reference(full: true) - relationPath - relativePosition - assignees { - __typename - edges { - __typename - node { - __typename - id - webUrl - name - username - avatarUrl - } - } - } - milestone { - __typename - id - title - startDate - dueDate - } - healthStatus - labels { - __typename - nodes { - __typename - id - color - description - textColor - title - } - } - } - } - pageInfo { - __typename - ...PageInfo - } - } - } - } -} |