Progress
This commit is contained in:
@@ -7,7 +7,7 @@ type Query {
|
||||
orderBy: AppointmentOrderByInput
|
||||
): Feed!
|
||||
allProducts: [Product]
|
||||
# users: [User!]!
|
||||
users: [User!]!
|
||||
}
|
||||
|
||||
type Feed {
|
||||
@@ -22,7 +22,17 @@ type Mutation {
|
||||
description: String!,
|
||||
start: DateTime!,
|
||||
end: DateTime!,
|
||||
): Appointment!
|
||||
): Appointment!
|
||||
createProduct(
|
||||
input: ProductInput
|
||||
) : Product
|
||||
updateProduct(
|
||||
_id: ID!,
|
||||
input: ProductInput
|
||||
): Product
|
||||
deleteProduct(
|
||||
_id: ID!
|
||||
) : Product
|
||||
signup(
|
||||
email: String!
|
||||
password: String!
|
||||
@@ -68,7 +78,7 @@ type Appointment {
|
||||
type Product {
|
||||
id: ID!
|
||||
title: String!
|
||||
qty: Integer
|
||||
qty: Int
|
||||
}
|
||||
|
||||
type Follow {
|
||||
@@ -77,6 +87,12 @@ type Follow {
|
||||
user: User!
|
||||
}
|
||||
|
||||
input ProductInput {
|
||||
title: String!
|
||||
qty: Int
|
||||
}
|
||||
|
||||
|
||||
input AppointmentOrderByInput {
|
||||
description: Sort
|
||||
url: Sort
|
||||
@@ -88,5 +104,4 @@ enum Sort {
|
||||
desc
|
||||
}
|
||||
|
||||
scalar Integer
|
||||
scalar DateTime
|
||||
|
||||
Reference in New Issue
Block a user