2020-12-09 22:55:16 +01:00
|
|
|
scalar Violation
|
|
|
|
|
|
|
|
type Materiau {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
|
|
|
author: String
|
|
|
|
memo: String
|
|
|
|
linked_materials: [Materiau]
|
|
|
|
images: [Image]
|
|
|
|
}
|
|
|
|
|
2020-12-10 22:46:27 +01:00
|
|
|
type Article {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
|
|
|
author: String
|
|
|
|
body: String
|
|
|
|
linked_materials: [Materiau]
|
|
|
|
images: [Image]
|
|
|
|
videos: [VideoLink]
|
|
|
|
# date: [String]
|
|
|
|
# showroom: [Showroom]
|
|
|
|
# source: Link
|
|
|
|
# tags: []
|
|
|
|
# thesaurus: []
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
2020-12-10 22:46:27 +01:00
|
|
|
# type Showroom {
|
|
|
|
# id: Int!
|
|
|
|
# uuid: String!
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# type Link {
|
|
|
|
# url: String!
|
|
|
|
# title: String
|
|
|
|
# }
|
2020-12-09 22:55:16 +01:00
|
|
|
|
2020-12-10 22:46:27 +01:00
|
|
|
type VideoLink {
|
|
|
|
url: String
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type Image {
|
|
|
|
id: Int!
|
|
|
|
url: String!
|
|
|
|
alt: String
|
|
|
|
style_minicard: ImageStyle
|
|
|
|
}
|
|
|
|
|
|
|
|
type ImageStyle {
|
|
|
|
width: Int
|
|
|
|
height: Int
|
|
|
|
url: String
|
|
|
|
}
|