80 lines
1.1 KiB
GraphQL
80 lines
1.1 KiB
GraphQL
# This fragment queries some elementary data to define the content structure
|
|
|
|
fragment NodeInitial on MapItemInterface {
|
|
id
|
|
type: __typename
|
|
# type: bundle
|
|
|
|
... on TextInterface {
|
|
variant: familles {
|
|
id
|
|
}
|
|
}
|
|
|
|
... on Textprod {
|
|
parents: text_de_depart {
|
|
id
|
|
variant: familles {
|
|
id
|
|
}
|
|
authors: auteurs {
|
|
id
|
|
name
|
|
first_name
|
|
last_name
|
|
}
|
|
|
|
preTitle: field_titre_regular
|
|
title: field_titre_italique
|
|
|
|
edition {
|
|
name
|
|
}
|
|
}
|
|
|
|
siblings: text_en_rebond {
|
|
id
|
|
variant: familles {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
|
|
... on Textref {
|
|
parents: text_de_depart {
|
|
id
|
|
variant: familles {
|
|
id
|
|
}
|
|
}
|
|
|
|
siblings: text_en_rebond {
|
|
id
|
|
variant: familles {
|
|
id
|
|
}
|
|
}
|
|
|
|
authors: auteurs {
|
|
id
|
|
name
|
|
first_name
|
|
last_name
|
|
}
|
|
|
|
preTitle: field_titre_regular
|
|
title: field_titre_italique
|
|
|
|
edition {
|
|
name
|
|
}
|
|
|
|
children: text_produits {
|
|
id
|
|
variant: familles {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|