2021-05-06 16:15:22 -05:00

12 lines
192 B
JavaScript

import { gql } from 'apollo-server-micro'
export default gql`
extend type Query {
invoice(id: ID!): String!
}
extend type Mutation {
createInvoice(amount: Int!): String!
}
`