|
@@ -1,8 +1,8 @@
|
|
|
-#import "../fragments/TextCardFields.gql"
|
|
|
+#import "../fragments/TextFields.gql"
|
|
|
|
|
|
query TextRef ($id: Int!) {
|
|
|
text: texte (id: $id) {
|
|
|
- ...TextCardFields
|
|
|
+ ...TextFields
|
|
|
|
|
|
... on Textref {
|
|
|
children: text_produits {
|
|
@@ -18,27 +18,17 @@ query TextRef ($id: Int!) {
|
|
|
name
|
|
|
}
|
|
|
}
|
|
|
- tags {
|
|
|
- id
|
|
|
- name
|
|
|
- }
|
|
|
- # degres_detrangement: Int
|
|
|
- notes {
|
|
|
- note
|
|
|
- number: numero
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
... on Textprod {
|
|
|
- tags: tagsprod {
|
|
|
+ siblings: text_en_rebond {
|
|
|
id
|
|
|
- name
|
|
|
- }
|
|
|
- notes {
|
|
|
- note
|
|
|
- number: numero
|
|
|
- links: liens {
|
|
|
- id
|
|
|
+ title
|
|
|
+ authors: auteurs {
|
|
|
+ name
|
|
|
+ }
|
|
|
+ edition {
|
|
|
+ name
|
|
|
}
|
|
|
}
|
|
|
}
|