add base query for text cards
This commit is contained in:
@@ -1,5 +1,32 @@
|
||||
#import "../fragments/TextCardFields.gql"
|
||||
|
||||
query TextRef ($id: Int!) {
|
||||
textref (id: $id) {
|
||||
title
|
||||
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
|
||||
numero
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user