@types/multer
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -14,2 +14,3 @@ // Type definitions for multer 1.4 | ||
import { Request, RequestHandler } from 'express'; | ||
import { Readable } from 'stream'; | ||
@@ -35,9 +36,14 @@ declare global { | ||
size: number; | ||
/** `DiskStorage` Directory to which this file has been uploaded. */ | ||
/** | ||
* A readable stream of this file. Only available to the `_handleFile` | ||
* callback for custom `StorageEngine`s. | ||
*/ | ||
stream: Readable; | ||
/** `DiskStorage` only: Directory to which this file has been uploaded. */ | ||
destination: string; | ||
/** `DiskStorage` Name of this file within `destination`. */ | ||
/** `DiskStorage` only: Name of this file within `destination`. */ | ||
filename: string; | ||
/** `DiskStorage` Full path to the uploaded file. */ | ||
/** `DiskStorage` only: Full path to the uploaded file. */ | ||
path: string; | ||
/** `MemoryStorage` A Buffer containing the entire file. */ | ||
/** `MemoryStorage` only: A Buffer containing the entire file. */ | ||
buffer: Buffer; | ||
@@ -44,0 +50,0 @@ } |
{ | ||
"name": "@types/multer", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "TypeScript definitions for multer", | ||
@@ -54,4 +54,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "434066b0758fdcc2f3cf43e1beb3fd176230b281e3791b382e0e8588502d03bb", | ||
"typesPublisherContentHash": "28d92dc60040ea6bfb62220f475a3d1c90693c5e2827bfb1e4bef0c70a730a01", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 06 Feb 2020 18:47:11 GMT | ||
* Last updated: Fri, 17 Apr 2020 20:55:08 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by jt000 (https://github.com/jt000), vilicvane (https://github.com/vilic), David Broder-Rodgers (https://github.com/DavidBR-SW), Michael Ledin (https://github.com/mxl), HyunSeob Lee (https://github.com/hyunseob), Pierre Tchuente (https://github.com/PierreTchuente), and Oliver Emery (https://github.com/thrymgjol). | ||
These definitions were written by [jt000](https://github.com/jt000), [vilicvane](https://github.com/vilic), [David Broder-Rodgers](https://github.com/DavidBR-SW), [Michael Ledin](https://github.com/mxl), [HyunSeob Lee](https://github.com/hyunseob), [Pierre Tchuente](https://github.com/PierreTchuente), and [Oliver Emery](https://github.com/thrymgjol). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16420
304