Remove old fragments and queries
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
fragment TextCardFields on TextInterface {
|
||||
id
|
||||
bundle
|
||||
title
|
||||
content: texte
|
||||
images {
|
||||
id
|
||||
url
|
||||
alt
|
||||
}
|
||||
videos {
|
||||
url
|
||||
}
|
||||
files: fichiers {
|
||||
fid
|
||||
filename
|
||||
filemime
|
||||
url
|
||||
}
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
# field_titre FIXME ?
|
||||
authors: auteurs {
|
||||
id
|
||||
name
|
||||
first_name
|
||||
last_name
|
||||
}
|
||||
type: __typename
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
#import "./TextCardFields.gql"
|
||||
|
||||
fragment TextFields on TextInterface {
|
||||
...TextCardFields
|
||||
|
||||
... on Textref {
|
||||
edition {
|
||||
id
|
||||
name
|
||||
}
|
||||
tags {
|
||||
id
|
||||
name
|
||||
}
|
||||
strangeness: degres_detrangement
|
||||
notes {
|
||||
content: note
|
||||
number: numero
|
||||
}
|
||||
field_titre_regular
|
||||
field_titre_italique
|
||||
lien_reference {
|
||||
url
|
||||
title
|
||||
}
|
||||
}
|
||||
|
||||
... on Textprod {
|
||||
tags: tagsprod {
|
||||
id
|
||||
name
|
||||
}
|
||||
notes {
|
||||
content: note
|
||||
number: numero
|
||||
links: liens {
|
||||
id
|
||||
bundle
|
||||
title
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
# field_titre FIXME ?
|
||||
authors: auteurs {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
fragment TextTreeFields on TextInterface {
|
||||
id
|
||||
title
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
... on Textref {
|
||||
field_titre_regular
|
||||
field_titre_italique
|
||||
authors: auteurs {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
|
||||
type: __typename
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
#import "../fragments/TextTreeFields.gql"
|
||||
|
||||
fragment TextrefTreeFields on Textref {
|
||||
...TextTreeFields
|
||||
children: text_produits {
|
||||
...TextTreeFields
|
||||
parents: text_de_depart {
|
||||
...TextTreeFields
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
#import "../fragments/TextFields.gql"
|
||||
|
||||
query TextRef ($id: Int!) {
|
||||
text: texte (id: $id) {
|
||||
...TextFields
|
||||
|
||||
... on Textref {
|
||||
children: text_produits {
|
||||
id
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
siblings: text_en_rebond {
|
||||
id
|
||||
title
|
||||
authors: auteurs {
|
||||
name
|
||||
}
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
edition {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
... on Textprod {
|
||||
siblings: text_en_rebond {
|
||||
id
|
||||
title
|
||||
authors: auteurs {
|
||||
name
|
||||
}
|
||||
families: familles {
|
||||
id
|
||||
}
|
||||
edition {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
#import "../fragments/TextrefTreeFields.gql"
|
||||
|
||||
query TextdepartRecursive($id: Int!) {
|
||||
textref(id: $id) {
|
||||
...TextrefTreeFields
|
||||
siblings: text_en_rebond {
|
||||
...TextrefTreeFields
|
||||
siblings: text_en_rebond {
|
||||
...TextrefTreeFields
|
||||
siblings: text_en_rebond {
|
||||
...TextrefTreeFields
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../fragments/TextrefTreeFields.gql"
|
||||
|
||||
query TextdepartRecursive($id: Int!) {
|
||||
textref(id: $id) {
|
||||
INPUT
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
#import "../fragments/TextFields.gql"
|
||||
|
||||
query TextsDepart {
|
||||
textsdepart {
|
||||
...TextFields
|
||||
children: text_produits {
|
||||
id
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
siblings: text_en_rebond {
|
||||
id
|
||||
title
|
||||
families: familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
authors: auteurs {
|
||||
name
|
||||
}
|
||||
edition {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user