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