Cleanup of code

This commit is contained in:
Niklas Fondberg
2021-07-07 17:11:37 +02:00
parent 267bc4f1c9
commit 32adee1bf4
5 changed files with 54 additions and 39 deletions
+3
View File
@@ -8,6 +8,9 @@ const typeDefs = gql`
type Query {
orders(filter: FilterInput!): OrderResult
order(id: ID!): Order
"""
Will be replaced with a ProductsResult type similar to OrdersResult but we need to change in the similar-images code then
"""
products(limit: Int, visible: Boolean, browsable: Boolean): [Product]
product(id: Int!): Product
categories: [Category]