stacker.news/api/typeDefs/upload.js

13 lines
237 B
JavaScript
Raw Normal View History

import { gql } from 'graphql-tag'
2022-05-12 18:44:21 +00:00
export default gql`
extend type Mutation {
getSignedPOST(type: String!, size: Int!, width: Int!, height: Int!): SignedPost!
}
type SignedPost {
url: String!
fields: JSONObject!
}
`