add new queries for nodes
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
query AllNodesOfVariant {
|
||||||
|
nodes: textsdepart {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
query AllTags {
|
||||||
|
tags: alltags {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
query Node ($id: Int!) {
|
||||||
|
node: texte (id: $id) {
|
||||||
|
FRAGMENTS
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
query Nodes ($ids: [Int]) {
|
||||||
|
nodes: textsref (ids: $ids) {
|
||||||
|
FRAGMENTS
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
query NodesTrees ($id: Int!) {
|
||||||
|
node: texte (id: $id) {
|
||||||
|
id
|
||||||
|
FRAGMENT
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
export { default as TextsDepart } from './TextsDepart.gql'
|
export { default as AllNodesOfVariant } from './AllNodesOfVariant.gql'
|
||||||
export { default as TextCard } from './TextCard.gql'
|
export { default as AllTags } from './AllTags.gql'
|
||||||
export { default as TextdepartRecursive } from './TextdepartRecursive.gql'
|
export { default as Node } from './Node.gql'
|
||||||
|
export { default as Nodes } from './Nodes.gql'
|
||||||
|
export { default as NodesTrees } from './NodesTrees.gql'
|
||||||
|
|||||||
Reference in New Issue
Block a user