Files
2025-03-28 12:30:19 +11:00

22 lines
500 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
'use strict'
exports.__esModule = true
exports.GraphQLUpload = void 0
var _graphql = require('graphql')
const GraphQLUpload = new _graphql.GraphQLScalarType({
name: 'Upload',
description: 'The `Upload` scalar type represents a file upload.',
parseValue: value => value,
parseLiteral() {
throw new Error('Upload scalar literal unsupported.')
},
serialize() {
throw new Error('Upload scalar serialization unsupported.')
}
})
exports.GraphQLUpload = GraphQLUpload