{"_id":"@types/graphql-upload","_rev":"2531475","name":"@types/graphql-upload","description":"TypeScript definitions for graphql-upload","dist-tags":{"latest":"8.0.10","ts3.3":"8.0.4","ts3.4":"8.0.4","ts3.5":"8.0.4","ts3.6":"8.0.6","ts3.7":"8.0.7","ts3.8":"8.0.8","ts3.9":"8.0.8","ts4.0":"8.0.8","ts4.1":"8.0.10","ts4.2":"8.0.10","ts4.3":"8.0.10","ts4.4":"8.0.10","ts4.5":"8.0.10","ts4.6":"8.0.10"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-01-20T10:16:20.000Z","created":"2019-05-13T17:50:40.743Z","8.0.10":"2022-01-20T10:02:15.706Z","8.0.9":"2022-01-10T21:32:38.008Z","8.0.8":"2022-01-01T12:32:19.621Z","8.0.7":"2021-08-23T20:19:45.379Z","8.0.6":"2021-07-06T21:02:52.048Z","8.0.5":"2021-06-09T00:31:54.717Z","8.0.4":"2020-09-03T18:55:00.681Z","8.0.3":"2019-08-26T15:21:06.600Z","8.0.2":"2019-08-23T15:45:07.876Z","8.0.1":"2019-08-12T17:13:13.769Z","8.0.0":"2019-05-13T17:50:40.743Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"versions":{"8.0.10":{"name":"@types/graphql-upload","version":"8.0.10","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^16.2.0"},"typesPublisherContentHash":"7caf85df86a89d10ce9dedcff62e1b6b60dab0f9d9e6fc0ae665e7ce606db49b","typeScriptVersion":"4.1","_id":"@types/graphql-upload@8.0.10","dist":{"shasum":"73fc7c73337b0ae2b5c551626a3d9894865aa744","size":2071,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.10.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.10_1642672935499_0.29404929858220274"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-20T10:12:25.911Z","publish_time":1642672935706,"_cnpm_publish_time":1642672935706},"8.0.9":{"name":"@types/graphql-upload","version":"8.0.9","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^16.2.0"},"typesPublisherContentHash":"fdcb79d677ed0a648656c6c7514fefcd1e527c12f171828f37a1b40c9fd5abb6","typeScriptVersion":"4.1","_id":"@types/graphql-upload@8.0.9","dist":{"shasum":"7e248af0cf0bae40968a114b26322801562ee48f","size":2058,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.9.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.9_1641850357854_0.5953529082775304"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-10T21:33:10.942Z","publish_time":1641850358008,"_cnpm_publish_time":1641850358008},"8.0.8":{"name":"@types/graphql-upload","version":"8.0.8","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^15.3.0"},"typesPublisherContentHash":"715d052fe39b2ad4be5daac42091f864e7fb4a7657c2ffda60275cbc94c9bfb9","typeScriptVersion":"3.8","_id":"@types/graphql-upload@8.0.8","dist":{"shasum":"694473dda78bc3309908a24f128d66f4a48a80a0","size":2060,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.8.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.8_1641040339473_0.6347628841928499"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-01T12:32:27.741Z","publish_time":1641040339621,"_cnpm_publish_time":1641040339621},"8.0.7":{"name":"@types/graphql-upload","version":"8.0.7","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^15.3.0"},"typesPublisherContentHash":"654b5c42d0e67bcdc5c6e871432a04d5c6b8e92479b64d03f23f1c717eb66aa9","typeScriptVersion":"3.7","_id":"@types/graphql-upload@8.0.7","dist":{"shasum":"71dd5d4a8d9ddb598df91298d6e98a943061b255","size":2084,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.7.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.7_1629749985135_0.699154504987735"},"_hasShrinkwrap":false,"publish_time":1629749985379,"_cnpm_publish_time":1629749985379},"8.0.6":{"name":"@types/graphql-upload","version":"8.0.6","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^15.3.0"},"typesPublisherContentHash":"587537a2f161dc0225092cfb6903bf1e86156caf16378b632c7d966615408857","typeScriptVersion":"3.6","_id":"@types/graphql-upload@8.0.6","dist":{"shasum":"6212b69fabb171389ca3c29e0a54b8c0d7b12301","size":2075,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.6.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.6_1625605371905_0.43207597650165264"},"_hasShrinkwrap":false,"publish_time":1625605372048,"_cnpm_publish_time":1625605372048},"8.0.5":{"name":"@types/graphql-upload","version":"8.0.5","description":"TypeScript definitions for graphql-upload","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^15.3.0"},"typesPublisherContentHash":"b2ecf71de17322029b0f9859166636e10896d04f14f699f91ee14b7d0d689b7f","typeScriptVersion":"3.6","_id":"@types/graphql-upload@8.0.5","dist":{"shasum":"d6adce53f82630e59dca8900c2285877ae61b9eb","size":2065,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.5_1623198714552_0.41694250082099304"},"_hasShrinkwrap":false,"publish_time":1623198714717,"_cnpm_publish_time":1623198714717},"8.0.4":{"name":"@types/graphql-upload","version":"8.0.4","description":"TypeScript definitions for graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^15.3.0"},"typesPublisherContentHash":"c998722b32f0659e19e9562ed4dbabe114288107ed4696f50b968fa2d1eacb8d","typeScriptVersion":"3.3","_id":"@types/graphql-upload@8.0.4","dist":{"shasum":"23a8ffb3d2fe6e0ee07e6f16ee9d9d5e995a2f4f","size":1963,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.4.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.4_1599159300585_0.9158940404441689"},"_hasShrinkwrap":false,"publish_time":1599159300681,"_cnpm_publish_time":1599159300681},"8.0.3":{"name":"@types/graphql-upload","version":"8.0.3","description":"TypeScript definitions for graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"^14.5.3"},"typesPublisherContentHash":"e9fd850ee26794f103edf44101365b3fa5b4482b09c5f96e287efab3d6ae1e52","typeScriptVersion":"3.3","_id":"@types/graphql-upload@8.0.3","dist":{"shasum":"b371edb5f305a2a1f7b7843a890a2a7adc55c3ec","size":1935,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.3_1566832866443_0.366544205848357"},"_hasShrinkwrap":false,"publish_time":1566832866600,"_cnpm_publish_time":1566832866600},"8.0.2":{"name":"@types/graphql-upload","version":"8.0.2","description":"TypeScript definitions for graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/koa":"*","graphql":"14.5.0"},"typesPublisherContentHash":"03cc2031de83d117c8af3fb57079e6b4499efdc75b3a73bc54d5d87524fb3123","typeScriptVersion":"3.3","_id":"@types/graphql-upload@8.0.2","dist":{"shasum":"88d8fc4a30c681d57592f1deca720d19c50b50f6","size":1932,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.2_1566575107731_0.20535304997889492"},"_hasShrinkwrap":false,"publish_time":1566575107876,"_cnpm_publish_time":1566575107876},"8.0.1":{"name":"@types/graphql-upload","version":"8.0.1","description":"TypeScript definitions for graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/fs-capacitor":"*","@types/graphql":"*","@types/koa":"*"},"typesPublisherContentHash":"c98ed32e0c9c6d6bc46c1c24d7cd02e7d492ce2ba3c38bf9fd858b0f3cd3388b","typeScriptVersion":"3.3","_id":"@types/graphql-upload@8.0.1","dist":{"shasum":"12c804255c681fd06a904b67bde7506f2484f1a8","size":1928,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.1_1565629993583_0.23288207052425536"},"_hasShrinkwrap":false,"publish_time":1565629993769,"_cnpm_publish_time":1565629993769},"8.0.0":{"name":"@types/graphql-upload","version":"8.0.0","description":"TypeScript definitions for graphql-upload","license":"MIT","contributors":[{"name":"Mike Marcacci","url":"https://github.com/mike-marcacci","githubUsername":"mike-marcacci"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/graphql-upload"},"scripts":{},"dependencies":{"@types/express":"*","@types/graphql":"*","@types/koa":"*"},"typesPublisherContentHash":"420ae02bdb297109911ee7b36184b72569a7413098dbc399608b91a1cc3c8655","typeScriptVersion":"3.3","_id":"@types/graphql-upload@8.0.0","dist":{"shasum":"cf1a464e1ad3d185d6e1d77b5df0ca26057a572c","size":1858,"noattachment":false,"key":"/@types/graphql-upload/-/@types/graphql-upload-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/graphql-upload/download/@types/graphql-upload-8.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-upload_8.0.0_1557769840631_0.6879684747576296"},"_hasShrinkwrap":false,"publish_time":1557769840743,"_cnpm_publish_time":1557769840743}},"readme":"# Installation\r\n> `npm install --save @types/graphql-upload`\r\n\r\n# Summary\r\nThis package contains type definitions for graphql-upload (https://github.com/jaydenseric/graphql-upload#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload/index.d.ts)\r\n````ts\r\n// Type definitions for graphql-upload 8.0\n// Project: https://github.com/jaydenseric/graphql-upload#readme\n// Definitions by: Mike Marcacci <https://github.com/mike-marcacci>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 4.1\n\n/* tslint:disable:no-unnecessary-generics */\n\nimport { IncomingMessage, ServerResponse } from \"http\";\nimport { GraphQLScalarType } from \"graphql\";\nimport { RequestHandler } from \"express\";\nimport { DefaultContext, DefaultState, Middleware } from \"koa\";\nimport { ReadStream } from \"fs-capacitor\";\n\nexport interface UploadOptions {\n  maxFieldSize?: number | undefined;\n  maxFileSize?: number | undefined;\n  maxFiles?: number | undefined;\n}\n\nexport interface GraphQLOperation {\n  query: string;\n  operationName?: null | string | undefined;\n  variables?: null | unknown | undefined;\n}\n\nexport function processRequest(\n  request: IncomingMessage,\n  response: ServerResponse,\n  uploadOptions?: UploadOptions\n): Promise<GraphQLOperation | GraphQLOperation[]>;\n\nexport function graphqlUploadExpress(\n  uploadOptions?: UploadOptions\n): RequestHandler;\n\nexport function graphqlUploadKoa <StateT = DefaultState, ContextT = DefaultContext>(\n  uploadOptions?: UploadOptions\n): Middleware<StateT, ContextT>;\n\nexport const GraphQLUpload: GraphQLScalarType;\n\nexport interface FileUpload {\n  filename: string;\n  mimetype: string;\n  encoding: string;\n  createReadStream(): ReadStream;\n}\n\nexport type Upload = Promise<FileUpload>;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 10 Jan 2022 21:31:40 GMT\r\n * Dependencies: [@types/graphql](https://npmjs.com/package/@types/graphql), [@types/express](https://npmjs.com/package/@types/express), [@types/koa](https://npmjs.com/package/@types/koa), [@types/fs-capacitor](https://npmjs.com/package/@types/fs-capacitor)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Mike Marcacci](https://github.com/mike-marcacci).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-upload","license":"MIT"}