UNPKG

graphql-upload

Version:

Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.

13 lines (11 loc) 322 B
'use strict'; /** * Official [GraphQL multipart request spec](https://github.com/jaydenseric/graphql-multipart-request-spec) * URL. Useful for error messages, etc. * @kind constant * @name SPEC_URL * @type {string} * @ignore */ exports.SPEC_URL = 'https://github.com/jaydenseric/graphql-multipart-request-spec';