renamed text_en_rebonds, text_de_depart et text_produits to siblings, parents and children

This commit is contained in:
axolotle
2021-03-10 17:32:48 +01:00
parent 9ffc2bf167
commit 19f37aa23b
9 changed files with 45 additions and 45 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
fragment TextTreeFields on TextInterface {
id
title
familles {
families: familles {
id
name
}
__typename
type: __typename
}
+2 -2
View File
@@ -2,9 +2,9 @@
fragment TextrefTreeFields on Textref {
...TextTreeFields
text_produits{
children: text_produits {
...TextTreeFields
text_de_depart {
parents: text_de_depart {
...TextTreeFields
}
}
+2 -2
View File
@@ -5,10 +5,10 @@ query TextRef ($id: Int!) {
...TextCardFields
... on Textref {
prods: text_produits {
children: text_produits {
id
}
bounces: text_en_rebond {
siblings: text_en_rebond {
id
title
authors: auteurs {
+3 -3
View File
@@ -3,11 +3,11 @@
query TextdepartRecursive($id: Int!) {
textref(id: $id) {
...TextrefTreeFields
text_en_rebond {
siblings: text_en_rebond {
...TextrefTreeFields
text_en_rebond {
siblings: text_en_rebond {
...TextrefTreeFields
text_en_rebond {
siblings: text_en_rebond {
...TextrefTreeFields
}
}