add new fragments for different levels of data
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# This fragment queries some elementary data to define the content structure
|
||||
|
||||
fragment NodeInitial on TextInterface {
|
||||
id
|
||||
type: bundle
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
|
||||
... on Textprod {
|
||||
parents: text_de_depart {
|
||||
id
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
siblings: text_en_rebond {
|
||||
id
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
... on Textref {
|
||||
|
||||
siblings: text_en_rebond {
|
||||
id
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
authors: auteurs {
|
||||
id
|
||||
name
|
||||
first_name
|
||||
last_name
|
||||
}
|
||||
|
||||
preTitle: field_titre_regular
|
||||
title: field_titre_italique
|
||||
|
||||
children: text_produits {
|
||||
id
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user