improving graphql defs

This commit is contained in:
2020-12-22 22:00:12 +01:00
parent 2175e7ae2d
commit 665a550748
2 changed files with 112 additions and 25 deletions

View File

@@ -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 {