summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/design_management/graphql/queries/get_design_list.query.graphql
blob: 857f205ab074a25c4e772d0f1d83fe5a9928f870 (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
#import "../fragments/designList.fragment.graphql"
#import "../fragments/version.fragment.graphql"

query getDesignList($fullPath: ID!, $iid: String!, $atVersion: ID) {
  project(fullPath: $fullPath) {
    id
    issue(iid: $iid) {
      designCollection {
        designs(atVersion: $atVersion) {
          edges {
            node {
              ...DesignListItem
            }
          }
        }
        versions {
          edges {
            node {
              ...VersionListItem
            }
          }
        }
      }
    }
  }
}