2020-12-09 22:55:16 +01:00
|
|
|
scalar Violation
|
|
|
|
|
2020-12-24 17:11:51 +01:00
|
|
|
interface NodeInterface {
|
|
|
|
id: Int!
|
2020-12-25 17:37:15 +01:00
|
|
|
path: String!
|
2020-12-24 17:11:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type Materiau implements NodeInterface {
|
2020-12-09 22:55:16 +01:00
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
2020-12-25 17:37:15 +01:00
|
|
|
path: String!
|
2020-12-09 22:55:16 +01:00
|
|
|
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]
|
2020-12-22 18:17:02 +01:00
|
|
|
distributor: [Company]
|
|
|
|
manufacturer: [Company]
|
2020-12-22 22:00:12 +01:00
|
|
|
# famille: String
|
|
|
|
# index: Int
|
|
|
|
reference: String
|
|
|
|
samples: [Sample]
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
2020-12-24 17:11:51 +01:00
|
|
|
type Article implements NodeInterface {
|
2020-12-10 22:46:27 +01:00
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
2020-12-25 17:37:15 +01:00
|
|
|
path: String!
|
2020-12-10 22:46:27 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-12-25 17:37:15 +01:00
|
|
|
type Thematique implements NodeInterface {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
|
|
|
path: String!
|
|
|
|
author: String
|
|
|
|
body: String
|
|
|
|
linked_materials: [Materiau]
|
|
|
|
images: [Image]
|
|
|
|
tags: [Tag]
|
|
|
|
memo: String
|
|
|
|
}
|
|
|
|
|
2020-12-24 14:50:13 +01:00
|
|
|
type SearchResult {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
title: String!
|
2020-12-25 17:37:15 +01:00
|
|
|
bundle: String!
|
|
|
|
path: String!
|
2020-12-24 14:50:13 +01:00
|
|
|
short_description: String
|
|
|
|
images: [Image]
|
|
|
|
visuels: [Image]
|
|
|
|
reference: String
|
|
|
|
}
|
|
|
|
|
2020-12-22 22:00:12 +01:00
|
|
|
type Sample {
|
|
|
|
showroom: Showroom
|
|
|
|
location: String
|
|
|
|
}
|
|
|
|
|
2020-12-22 16:36:06 +01:00
|
|
|
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]
|
2020-12-22 22:00:12 +01:00
|
|
|
email: String
|
|
|
|
address: Address
|
|
|
|
phone: String
|
2020-12-16 16:53:07 +01:00
|
|
|
}
|
|
|
|
|
2020-12-22 18:17:02 +01:00
|
|
|
type Company {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
2020-12-22 22:00:12 +01:00
|
|
|
description: String
|
2020-12-22 18:17:02 +01:00
|
|
|
attachments: [Filefield]
|
|
|
|
memo: String
|
|
|
|
note: Int
|
|
|
|
website: Link
|
|
|
|
departement: String
|
|
|
|
email: String
|
|
|
|
address: Address
|
2020-12-22 22:00:12 +01:00
|
|
|
phone: String
|
|
|
|
infos: String
|
2020-12-22 18:17:02 +01:00
|
|
|
}
|
|
|
|
|
2020-12-16 16:53:07 +01:00
|
|
|
type Tag {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Thesaurus {
|
|
|
|
id: Int!
|
|
|
|
uuid: String!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
2020-12-22 18:17:02 +01:00
|
|
|
type Address {
|
|
|
|
langcode: String
|
|
|
|
country_code: String
|
|
|
|
administrative_area: String
|
|
|
|
locality: String
|
|
|
|
dependent_locality: String
|
|
|
|
postal_code: String
|
|
|
|
sorting_code: String
|
|
|
|
address_line1: String
|
|
|
|
address_line2: String
|
|
|
|
organization: String
|
|
|
|
given_name: String
|
|
|
|
additional_name: String
|
|
|
|
family_name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-12-16 16:53:07 +01:00
|
|
|
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-25 11:33:39 +01:00
|
|
|
style_minicard_url: String
|
2020-12-22 16:36:06 +01:00
|
|
|
style_cardmedium: ImageStyle
|
2020-12-25 11:33:39 +01:00
|
|
|
style_cardmedium_url: String
|
2020-12-22 16:36:06 +01:00
|
|
|
style_cardfull: ImageStyle
|
2020-12-25 11:33:39 +01:00
|
|
|
style_cardfull_url: String
|
2020-12-22 16:36:06 +01:00
|
|
|
style_articlecardmedium: ImageStyle
|
2020-12-25 11:33:39 +01:00
|
|
|
style_articlecardmedium_url: String
|
|
|
|
style_hd: ImageStyle
|
|
|
|
style_hd_url: String
|
2020-12-09 22:55:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type ImageStyle {
|
|
|
|
width: Int
|
|
|
|
height: Int
|
|
|
|
url: String
|
|
|
|
}
|