blob: 82bb186cc1481541d4036c7ec2a48a32529b6ce6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# import * from './generated/prisma.graphql'
type Mutation {
createItem(title: String, description: String, price: Int, image: String, largeImage: String): Item!
updateItem(id: ID!, title: String, description: String, price: Int): Item!
deleteItem(id: ID!): Item
}
type Query {
items: [Item]!
item(where: ItemWhereUniqueInput!): Item
}
|