add Page query
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
query Page ($id: Int!) {
|
||||
page: static (id: $id) {
|
||||
id
|
||||
title
|
||||
content: texte
|
||||
|
||||
notes {
|
||||
content: note
|
||||
number: numero
|
||||
|
||||
links: liens {
|
||||
# FIXME probably need to query titles and stuff on `Textref` or `Creation`
|
||||
id
|
||||
type: __typename
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
... on Textprod {
|
||||
parents: text_de_depart {
|
||||
id
|
||||
variant: familles {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,3 +3,4 @@ export { default as AllTags } from './AllTags.gql'
|
||||
export { default as Node } from './Node.gql'
|
||||
export { default as Nodes } from './Nodes.gql'
|
||||
export { default as NodesTrees } from './NodesTrees.gql'
|
||||
export { default as Page } from './Page.gql'
|
||||
|
||||
Reference in New Issue
Block a user