update queries with mapitem

This commit is contained in:
axolotle
2021-06-22 22:24:36 +02:00
parent 5ab6e19cde
commit 3450d1b546
6 changed files with 26 additions and 15 deletions
+14 -4
View File
@@ -1,10 +1,14 @@
# This fragment queries some elementary data to define the content structure
fragment NodeInitial on TextInterface {
fragment NodeInitial on MapItemInterface {
id
type: bundle
variant: familles {
id
type: __typename
# type: bundle
... on TextInterface {
variant: familles {
id
}
}
... on Textprod {
@@ -24,6 +28,12 @@ fragment NodeInitial on TextInterface {
}
... on Textref {
parents: text_de_depart {
id
variant: familles {
id
}
}
siblings: text_en_rebond {
id