-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.gql
38 lines (32 loc) · 856 Bytes
/
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
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
"""customer """
type Customer {
id: ID!
firstName: String!
lastName: String!
createdAt: DateTime!
}
"""
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
"""
scalar DateTime
type Query {
customers: [Customer!]!
customer(id: Int!): Customer!
}
type Mutation {
createCustomer(createCustomerInput: CreateCustomerInput!): Customer!
updateCustomer(updateCustomerInput: UpdateCustomerInput!): Customer!
removeCustomer(id: Int!): Customer!
}
input CreateCustomerInput {
"""Example field (placeholder)"""
exampleField: Int!
}
input UpdateCustomerInput {
"""Example field (placeholder)"""
exampleField: Int
id: Int!
}