update other queries
This commit is contained in:
@@ -19,18 +19,17 @@ fragment TextCardFields on TextInterface {
|
|||||||
}
|
}
|
||||||
families: familles {
|
families: familles {
|
||||||
id
|
id
|
||||||
uuid
|
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
# field_titre
|
# field_titre FIXME ?
|
||||||
authors: auteurs {
|
authors: auteurs {
|
||||||
id
|
id
|
||||||
uuid
|
|
||||||
name
|
name
|
||||||
|
first_name
|
||||||
|
last_name
|
||||||
}
|
}
|
||||||
edition {
|
edition {
|
||||||
id
|
id
|
||||||
uuid
|
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
type: __typename
|
type: __typename
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#import "../fragments/TextCardFields.gql"
|
#import "../fragments/TextFields.gql"
|
||||||
|
|
||||||
query TextRef ($id: Int!) {
|
query TextRef ($id: Int!) {
|
||||||
text: texte (id: $id) {
|
text: texte (id: $id) {
|
||||||
...TextCardFields
|
...TextFields
|
||||||
|
|
||||||
... on Textref {
|
... on Textref {
|
||||||
children: text_produits {
|
children: text_produits {
|
||||||
@@ -18,27 +18,17 @@ query TextRef ($id: Int!) {
|
|||||||
name
|
name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tags {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
}
|
|
||||||
# degres_detrangement: Int
|
|
||||||
notes {
|
|
||||||
note
|
|
||||||
number: numero
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
... on Textprod {
|
... on Textprod {
|
||||||
tags: tagsprod {
|
siblings: text_en_rebond {
|
||||||
id
|
id
|
||||||
name
|
title
|
||||||
}
|
authors: auteurs {
|
||||||
notes {
|
name
|
||||||
note
|
}
|
||||||
number: numero
|
edition {
|
||||||
links: liens {
|
name
|
||||||
id
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#import "../fragments/TextCardFields.gql"
|
#import "../fragments/TextFields.gql"
|
||||||
|
|
||||||
query TextsDepart {
|
query TextsDepart {
|
||||||
textsdepart {
|
textsdepart {
|
||||||
...TextCardFields
|
...TextFields
|
||||||
children: text_produits {
|
children: text_produits {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
@@ -11,21 +11,10 @@ query TextsDepart {
|
|||||||
title
|
title
|
||||||
authors: auteurs {
|
authors: auteurs {
|
||||||
name
|
name
|
||||||
first_name
|
|
||||||
last_name
|
|
||||||
}
|
}
|
||||||
edition {
|
edition {
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tags {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
}
|
|
||||||
# degres_detrangement: Int
|
|
||||||
notes {
|
|
||||||
note
|
|
||||||
number: numero
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user