2020-12-09 22:55:16 +01:00
|
|
|
scalar Violation
|
|
|
|
|
|
|
|
type Materiau {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
|
|
|
author: String
|
2020-12-22 16:36:06 +01:00
|
|
|
body: String
|
|
|
|
short_description: String
|
2020-12-09 22:55:16 +01:00
|
|
|
linked_materials: [Materiau]
|
2020-12-22 16:36:06 +01:00
|
|
|
linked_articles: [Article]
|
2020-12-09 22:55:16 +01:00
|
|
|
images: [Image]
|
2020-12-22 16:36:06 +01:00
|
|
|
videos: [VideoLink]
|
|
|
|
tags: [Tag]
|
|
|
|
thesaurus: [Thesaurus]
|
|
|
|
memo: String
|
|
|
|
attachments: [Filefield]
|
|
|
|
# distributor:
|
|
|
|
# manufacturer:
|
|
|
|
# famille:
|
|
|
|
# index:
|
|
|
|
# reference:
|
|
|
|
# samples:
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
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]
|
2020-12-16 16:53:07 +01:00
|
|
|
source: Link
|
|
|
|
showroom: Showroom
|
|
|
|
tags: [Tag]
|
|
|
|
thesaurus: [Thesaurus]
|
|
|
|
date: Date
|
2020-12-22 16:36:06 +01:00
|
|
|
memo: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type Filefield {
|
|
|
|
file: File!
|
|
|
|
description: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type File {
|
|
|
|
fid: String!
|
|
|
|
uuid: String!
|
|
|
|
filename: String!
|
|
|
|
filemime: String!
|
|
|
|
filesize: String!
|
|
|
|
url: String!
|
2020-12-16 16:53:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type Link {
|
|
|
|
url: String
|
|
|
|
title: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type Showroom {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
|
|
|
images: [Image]
|
|
|
|
# email: String
|
|
|
|
# address: Adress
|
|
|
|
# phone: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type Tag {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Thesaurus {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Date {
|
|
|
|
start: String
|
|
|
|
end: 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
|
2020-12-22 16:36:06 +01:00
|
|
|
style_cardmedium: ImageStyle
|
|
|
|
style_cardfull: ImageStyle
|
|
|
|
style_articlecardmedium: ImageStyle
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type ImageStyle {
|
|
|
|
width: Int
|
|
|
|
height: Int
|
|
|
|
url: String
|
|
|
|
}
|