-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.gql
53 lines (47 loc) · 1.07 KB
/
schema.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
input CustomerInput {
address: String!
description: String!
email: String!
firstName: String!
lastName: String!
organizations: String!
phone: String!
}
type CustomerTypeDto {
address: String!
description: String!
email: String!
firstName: String!
lastName: String!
organizations: String!
phone: String!
}
input ItemInput {
customerId: String!
description: String!
price: Int!
title: String!
}
type ItemTypeDto {
customerId: String!
description: String!
id: ID!
price: Int!
title: String!
}
type Mutation {
createCustomer(input: CustomerInput!): CustomerTypeDto!
createItem(input: ItemInput!): ItemTypeDto!
deleteItem(id: String!): ItemTypeDto!
updateItem(id: String!, input: ItemInput!): ItemTypeDto!
}
type Query {
customer(id: String!): CustomerTypeDto!
customers: [CustomerTypeDto!]!
hello: String!
item(id: String!): ItemTypeDto!
items: [ItemTypeDto!]!
}