Initial Save
This commit is contained in:
21
node_modules/@apollographql/graphql-upload-8-fork/lib/GraphQLUpload.js
generated
vendored
Normal file
21
node_modules/@apollographql/graphql-upload-8-fork/lib/GraphQLUpload.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
'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
|
||||
Reference in New Issue
Block a user