Welcome to mirror list, hosted at ThFree Co, Russian Federation.

work_item_notes_by_iid.query.graphql « graphql « work_items « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e0960f3f549c51d976b1f0a907dc4a63b5e72fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#import "~/graphql_shared/fragments/page_info.fragment.graphql"
#import "~/work_items/graphql/discussion.fragment.graphql"

query workItemNotesByIid($fullPath: ID!, $iid: String, $after: String, $pageSize: Int) {
  workspace: project(fullPath: $fullPath) {
    id
    workItems(iid: $iid) {
      nodes {
        id
        iid
        widgets {
          ... on WorkItemWidgetNotes {
            type
            discussions(first: $pageSize, after: $after, filter: ONLY_ACTIVITY) {
              pageInfo {
                ...PageInfo
              }
              nodes {
                id
                notes {
                  nodes {
                    ...Discussion
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}