stacker.news/api/typeDefs/upload.js

15 lines
266 B
JavaScript
Raw Normal View History

2022-05-12 18:44:21 +00:00
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!
}
`