@@ -1,6 +1,31 @@
+#import "../fragments/TextCardFields.gql"
+
query TextsDepart {
textsdepart {
- id,
- title
+ ...TextCardFields
+ children: text_produits {
+ id
+ }
+ siblings: text_en_rebond {
+ title
+ authors: auteurs {
+ name
+ first_name
+ last_name
+ edition {
+ tags {
+ # degres_detrangement: Int
+ notes {
+ note
+ number: numero
}
@@ -52,6 +52,8 @@ export default {
},
getters: {
+ textsDepart: state => state.textsDepart,
textsDepartOptions: state => {
if (!state.textsDepart) return undefined
return state.textsDepart.map(({ id, title }) => ({