mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-08-19 11:43:22 +02:00
40 lines
660 B
TypeScript
40 lines
660 B
TypeScript
export function getPaintingQuery(uuid: string) {
|
|
return `
|
|
{
|
|
nodeQuery(
|
|
filter: {conditions: [{field: "uuid", value: "${uuid}"}]}
|
|
) {
|
|
entities {
|
|
entityUuid
|
|
... on NodeOeuvre {
|
|
title
|
|
absolutePath
|
|
fieldUrlAlias
|
|
fieldOeuvreAuteurs {
|
|
entity {
|
|
fieldAuteurAuteur {
|
|
entity {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
fieldVisuels {
|
|
entity {
|
|
name
|
|
vignette
|
|
publicUrl
|
|
}
|
|
}
|
|
fieldMusee {
|
|
entity {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
}
|