fixed article graphql refactoring, continued to improve graphql for materials
This commit is contained in:
@@ -5,9 +5,22 @@ type Materiau {
|
||||
uuid: String!
|
||||
title: String!
|
||||
author: String
|
||||
memo: String
|
||||
body: String
|
||||
short_description: String
|
||||
linked_materials: [Materiau]
|
||||
linked_articles: [Article]
|
||||
images: [Image]
|
||||
videos: [VideoLink]
|
||||
tags: [Tag]
|
||||
thesaurus: [Thesaurus]
|
||||
memo: String
|
||||
attachments: [Filefield]
|
||||
# distributor:
|
||||
# manufacturer:
|
||||
# famille:
|
||||
# index:
|
||||
# reference:
|
||||
# samples:
|
||||
}
|
||||
|
||||
type Article {
|
||||
@@ -24,6 +37,21 @@ type Article {
|
||||
tags: [Tag]
|
||||
thesaurus: [Thesaurus]
|
||||
date: Date
|
||||
memo: String
|
||||
}
|
||||
|
||||
type Filefield {
|
||||
file: File!
|
||||
description: String
|
||||
}
|
||||
|
||||
type File {
|
||||
fid: String!
|
||||
uuid: String!
|
||||
filename: String!
|
||||
filemime: String!
|
||||
filesize: String!
|
||||
url: String!
|
||||
}
|
||||
|
||||
type Link {
|
||||
@@ -67,6 +95,9 @@ type Image {
|
||||
url: String!
|
||||
alt: String
|
||||
style_minicard: ImageStyle
|
||||
style_cardmedium: ImageStyle
|
||||
style_cardfull: ImageStyle
|
||||
style_articlecardmedium: ImageStyle
|
||||
}
|
||||
|
||||
type ImageStyle {
|
||||
|
Reference in New Issue
Block a user