mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
Add S3's serverSideEncryption option (#25262)
This commit is contained in:
committed by
Wesley Wigham
parent
e81f217c01
commit
69fb65bf61
2
types/multer-s3/index.d.ts
vendored
2
types/multer-s3/index.d.ts
vendored
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/badunk/multer-s3
|
||||
// Definitions by: KIM Jaesuck a.k.a. gim tcaesvk <https://github.com/tcaesvk>
|
||||
// Gal Talmor <https://github.com/galtalmor>
|
||||
// Matt Terski <https://github.com/terski>
|
||||
// Definitions: https://github.com/DefinitelyType/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -16,6 +17,7 @@ interface Options {
|
||||
contentType?(req: Express.Request, file: Express.Multer.File, callback: (error: any, mime?: string, stream?: NodeJS.ReadableStream) => void): void;
|
||||
metadata?(req: Express.Request, file: Express.Multer.File, callback: (error: any, metadata?: any) => void): void;
|
||||
cacheControl?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, cacheControl?: string) => void) => void) | string;
|
||||
serverSideEncryption?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, serverSideEncryption?: string) => void) => void) | string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
Reference in New Issue
Block a user