summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/design_management/graphql/queries/get_design_list.query.graphql
blob: 96efa8e8242ebba94c24055f06fe3628b733a7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import "../fragments/design_list.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) {
          nodes {
            ...DesignListItem
          }
        }
        versions {
          nodes {
            ...VersionListItem
          }
        }
      }
    }
  }
}