47 lines
685 B
GraphQL
47 lines
685 B
GraphQL
#import "../fragments/TextCardFields.gql"
|
|
|
|
query TextRef ($id: Int!) {
|
|
text: texte (id: $id) {
|
|
...TextCardFields
|
|
|
|
... on Textref {
|
|
prods: text_produits {
|
|
id
|
|
}
|
|
bounces: text_en_rebond {
|
|
id
|
|
title
|
|
authors: auteurs {
|
|
name
|
|
}
|
|
edition {
|
|
name
|
|
}
|
|
}
|
|
tags {
|
|
id
|
|
name
|
|
}
|
|
# degres_detrangement: Int
|
|
notes {
|
|
note
|
|
number: numero
|
|
}
|
|
}
|
|
|
|
... on Textprod {
|
|
tags: tagsprod {
|
|
id
|
|
name
|
|
}
|
|
notes {
|
|
note
|
|
number: numero
|
|
links: liens {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|