Initial Save
This commit is contained in:
14
node_modules/@apollographql/graphql-upload-8-fork/lib/GraphQLUpload.mjs
generated
vendored
Normal file
14
node_modules/@apollographql/graphql-upload-8-fork/lib/GraphQLUpload.mjs
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { GraphQLScalarType } from 'graphql'
|
||||
export const GraphQLUpload = new 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.')
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user