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

56 lines
710 B
GraphQL
Raw Normal View History

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]
# date: [String]
# showroom: [Showroom]
# source: Link
# tags: []
# thesaurus: []
}
# type Showroom {
# id: Int!
# uuid: String!
# }
#
#
# type Link {
# url: String!
# title: String
# }
type VideoLink {
url: String
}
type Image {
id: Int!
url: String!
alt: String
style_minicard: ImageStyle
}
type ImageStyle {
width: Int
height: Int
url: String
}