improving graphql defs
This commit is contained in:
@@ -17,10 +17,10 @@ type Materiau {
|
||||
attachments: [Filefield]
|
||||
distributor: [Company]
|
||||
manufacturer: [Company]
|
||||
# famille:
|
||||
# index:
|
||||
# reference:
|
||||
# samples:
|
||||
# famille: String
|
||||
# index: Int
|
||||
reference: String
|
||||
samples: [Sample]
|
||||
}
|
||||
|
||||
type Article {
|
||||
@@ -40,6 +40,11 @@ type Article {
|
||||
memo: String
|
||||
}
|
||||
|
||||
type Sample {
|
||||
showroom: Showroom
|
||||
location: String
|
||||
}
|
||||
|
||||
type Filefield {
|
||||
file: File!
|
||||
description: String
|
||||
@@ -64,15 +69,16 @@ type Showroom {
|
||||
uuid: String!
|
||||
name: String!
|
||||
images: [Image]
|
||||
# email: String
|
||||
# address: Adress
|
||||
# phone: String
|
||||
email: String
|
||||
address: Address
|
||||
phone: String
|
||||
}
|
||||
|
||||
type Company {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
name: String!
|
||||
description: String
|
||||
attachments: [Filefield]
|
||||
memo: String
|
||||
note: Int
|
||||
@@ -80,8 +86,8 @@ type Company {
|
||||
departement: String
|
||||
email: String
|
||||
address: Address
|
||||
# infos
|
||||
# phone
|
||||
phone: String
|
||||
infos: String
|
||||
}
|
||||
|
||||
type Tag {
|
||||
|
Reference in New Issue
Block a user