18910fa2ed
This reverts commit d0314ab73c42ebf85fe2f418dddd681af45dbc55.
15 lines
266 B
JavaScript
15 lines
266 B
JavaScript
import { gql } from 'apollo-server-micro'
|
|
|
|
export default gql`
|
|
scalar JSONObject
|
|
|
|
extend type Mutation {
|
|
getSignedPOST(type: String!, size: Int!, width: Int!, height: Int!): SignedPost!
|
|
}
|
|
|
|
type SignedPost {
|
|
url: String!
|
|
fields: JSONObject!
|
|
}
|
|
`
|