Remove old fragments and queries

This commit is contained in:
axolotle
2021-06-04 09:14:00 +02:00
parent 4c9de477fd
commit 1f7ec02434
8 changed files with 0 additions and 212 deletions
-32
View File
@@ -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
}
-52
View File
@@ -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
}
}
}
}
}
-19
View File
@@ -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
}
-11
View File
@@ -1,11 +0,0 @@
#import "../fragments/TextTreeFields.gql"
fragment TextrefTreeFields on Textref {
...TextTreeFields
children: text_produits {
...TextTreeFields
parents: text_de_depart {
...TextTreeFields
}
}
}
-47
View File
@@ -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
}
}
}
}
}
-16
View File
@@ -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
}
}
-28
View File
@@ -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
}
}
}
}