add Creation queries fields & simulate it as a text_produit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,9 @@ fragment NodePartial on MapItemInterface {
|
||||
strangeness: degres_detrangement
|
||||
}
|
||||
|
||||
|
||||
... on Creation {
|
||||
content: texte
|
||||
}
|
||||
|
||||
# For debug
|
||||
path
|
||||
|
||||
Reference in New Issue
Block a user