39 lines
790 B
GraphQL
39 lines
790 B
GraphQL
query GetDocumentList($locale: String!) {
|
|
product_documents(filter: { status: { _eq: "published" } }, limit: 500) {
|
|
id
|
|
file {
|
|
id
|
|
filesize
|
|
filename_download
|
|
}
|
|
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
|
id
|
|
title
|
|
}
|
|
type {
|
|
id
|
|
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
|
id
|
|
name
|
|
}
|
|
}
|
|
products {
|
|
id
|
|
products_id {
|
|
id
|
|
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
|
id
|
|
name
|
|
}
|
|
product_type {
|
|
id
|
|
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
|
id
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|