materio-d9/web/modules/custom/materio_graphql/graphql/materio_extension.base.grap...

77 lines
941 B
GraphQL

scalar Violation
type Materiau {
id: Int!
uuid: String!
title: String!
author: String
memo: String
linked_materials: [Materiau]
images: [Image]
}
type Article {
id: Int!
uuid: String!
title: String!
author: String
body: String
linked_materials: [Materiau]
images: [Image]
videos: [VideoLink]
source: Link
showroom: Showroom
tags: [Tag]
thesaurus: [Thesaurus]
date: Date
}
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
}
type VideoLink {
url: String
}
type Image {
id: Int!
url: String!
alt: String
style_minicard: ImageStyle
}
type ImageStyle {
width: Int
height: Int
url: String
}