add Creation queries fields & simulate it as a text_produit

This commit is contained in:
axolotle
2021-07-06 14:55:22 +02:00
parent 0c061298f5
commit f9216653a6
8 changed files with 87 additions and 8 deletions
+2 -1
View File
@@ -5,7 +5,7 @@ fragment NodeFull on MapItemInterface {
... on Textref {
preTitle: field_titre_regular
title: field_titre_italique
italTitle: field_titre_italique
link: lien_reference {
title
url
@@ -33,6 +33,7 @@ fragment NodeFull on MapItemInterface {
variant: familles {
id
}
... on Textprod {
parents: text_de_depart {
id
+38 -1
View File
@@ -63,7 +63,7 @@ fragment NodeInitial on MapItemInterface {
}
preTitle: field_titre_regular
title: field_titre_italique
italTitle: field_titre_italique
edition {
name
@@ -75,5 +75,42 @@ fragment NodeInitial on MapItemInterface {
id
}
}
creations: field_creations {
id
}
}
... on Creation {
parents: texte_de_depart {
id
variant: familles {
id
}
}
siblings: rebonds {
id
}
authors: auteurs {
id
name
first_name
last_name
}
date {
start
# end
}
images {
id
url
alt
}
title
}
}
+3 -1
View File
@@ -28,7 +28,9 @@ fragment NodePartial on MapItemInterface {
strangeness: degres_detrangement
}
... on Creation {
content: texte
}
# For debug
path