created thematique page
This commit is contained in:
@@ -2,12 +2,14 @@ scalar Violation
|
||||
|
||||
interface NodeInterface {
|
||||
id: Int!
|
||||
path: String!
|
||||
}
|
||||
|
||||
type Materiau implements NodeInterface {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
title: String!
|
||||
path: String!
|
||||
author: String
|
||||
body: String
|
||||
short_description: String
|
||||
@@ -31,6 +33,7 @@ type Article implements NodeInterface {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
title: String!
|
||||
path: String!
|
||||
author: String
|
||||
body: String
|
||||
linked_materials: [Materiau]
|
||||
@@ -44,11 +47,25 @@ type Article implements NodeInterface {
|
||||
memo: String
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
type SearchResult {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
title: String!
|
||||
bundle: String
|
||||
bundle: String!
|
||||
path: String!
|
||||
short_description: String
|
||||
images: [Image]
|
||||
visuels: [Image]
|
||||
|
@@ -18,6 +18,10 @@ extend type Query {
|
||||
article(id: Int!): Article
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
thematique(id: Int!): Thematique
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
showroom(id: Int!): Showroom
|
||||
}
|
||||
|
Reference in New Issue
Block a user