157 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			157 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
scalar Violation
 | 
						|
 | 
						|
type Materiau {
 | 
						|
  id: Int!
 | 
						|
  uuid: String!
 | 
						|
  title: String!
 | 
						|
  author: String
 | 
						|
  body: String
 | 
						|
  short_description: String
 | 
						|
  linked_materials: [Materiau]
 | 
						|
  linked_articles: [Article]
 | 
						|
  images: [Image]
 | 
						|
  videos: [VideoLink]
 | 
						|
  tags: [Tag]
 | 
						|
  thesaurus: [Thesaurus]
 | 
						|
  memo: String
 | 
						|
  attachments: [Filefield]
 | 
						|
  distributor: [Company]
 | 
						|
  manufacturer: [Company]
 | 
						|
  # famille: String
 | 
						|
  # index: Int
 | 
						|
  reference: String
 | 
						|
  samples: [Sample]
 | 
						|
}
 | 
						|
 | 
						|
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
 | 
						|
  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
 | 
						|
}
 | 
						|
 | 
						|
type Filefield {
 | 
						|
  file: File!
 | 
						|
  description: String
 | 
						|
}
 | 
						|
 | 
						|
type File {
 | 
						|
  fid: String!
 | 
						|
  uuid: String!
 | 
						|
  filename: String!
 | 
						|
  filemime: String!
 | 
						|
  filesize: String!
 | 
						|
  url: String!
 | 
						|
}
 | 
						|
 | 
						|
type Link {
 | 
						|
  url: String
 | 
						|
  title: String
 | 
						|
}
 | 
						|
 | 
						|
type Showroom {
 | 
						|
  id: Int!
 | 
						|
  uuid: String!
 | 
						|
  name: String!
 | 
						|
  images: [Image]
 | 
						|
  email: String
 | 
						|
  address: Address
 | 
						|
  phone: String
 | 
						|
}
 | 
						|
 | 
						|
type Company {
 | 
						|
  id: Int!
 | 
						|
  uuid: String!
 | 
						|
  name: String!
 | 
						|
  description: String
 | 
						|
  attachments: [Filefield]
 | 
						|
  memo: String
 | 
						|
  note: Int
 | 
						|
  website: Link
 | 
						|
  departement: String
 | 
						|
  email: String
 | 
						|
  address: Address
 | 
						|
  phone: String
 | 
						|
  infos: String
 | 
						|
}
 | 
						|
 | 
						|
type Tag {
 | 
						|
  id: Int!
 | 
						|
  uuid: String!
 | 
						|
  name: String!
 | 
						|
}
 | 
						|
 | 
						|
type Thesaurus {
 | 
						|
  id: Int!
 | 
						|
  uuid: String!
 | 
						|
  name: String!
 | 
						|
}
 | 
						|
 | 
						|
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
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
type Date {
 | 
						|
  start: String
 | 
						|
  end: String
 | 
						|
}
 | 
						|
 | 
						|
type VideoLink {
 | 
						|
  url: String
 | 
						|
}
 | 
						|
 | 
						|
type Image {
 | 
						|
  id: Int!
 | 
						|
  url: String!
 | 
						|
  alt: String
 | 
						|
  style_minicard: ImageStyle
 | 
						|
  style_cardmedium: ImageStyle
 | 
						|
  style_cardfull: ImageStyle
 | 
						|
  style_articlecardmedium: ImageStyle
 | 
						|
}
 | 
						|
 | 
						|
type ImageStyle {
 | 
						|
  width: Int
 | 
						|
  height: Int
 | 
						|
  url: String
 | 
						|
}
 |