integrated thematique in serahc results

This commit is contained in:
2020-12-24 14:50:13 +01:00
parent a4bbdecdd2
commit ee97e675e3
12 changed files with 352 additions and 33 deletions

View File

@@ -40,6 +40,17 @@ type Article {
memo: String
}
type SearchResult {
id: Int!
uuid: String!
title: String!
bundle: String
short_description: String
images: [Image]
visuels: [Image]
reference: String
}
type Sample {
showroom: Showroom
location: String

View File

@@ -6,6 +6,10 @@ extend type Query {
materiaux(ids: [Int]): [Materiau]
}
extend type Query {
searchresults(ids: [Int]): [SearchResult]
}
extend type Query {
article(id: Int!): Article
}