gitlab-org--gitlab-foss/app/assets/javascripts/design_management/graphql/queries/get_design.query.graphql

35 lines
703 B
GraphQL

#import "../fragments/design.fragment.graphql"
#import "~/graphql_shared/fragments/author.fragment.graphql"
query getDesign(
$fullPath: ID!
$iid: String!
$atVersion: DesignManagementVersionID
$filenames: [String!]
) {
project(fullPath: $fullPath) {
id
issue(iid: $iid) {
id
designCollection {
designs(atVersion: $atVersion, filenames: $filenames) {
nodes {
...DesignItem
issue {
id
title
webPath
webUrl
participants {
nodes {
...Author
}
}
}
}
}
}
}
}
}