mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-08-19 19:53:22 +02:00
Implemented first version of paintings routes
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user