@types/serverless
Advanced tools
@@ -8,2 +8,3 @@ // Type definitions for serverless 1.72 | ||
// Bryan Hunter <https://github.com/bryan-hunter> | ||
// Thomas Aribart <https://github.com/thomasaribart> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -10,0 +11,0 @@ |
{ | ||
"name": "@types/serverless", | ||
"version": "1.72.3", | ||
"version": "1.72.4", | ||
"description": "TypeScript definitions for serverless", | ||
@@ -31,2 +31,7 @@ "license": "MIT", | ||
"githubUsername": "bryan-hunter" | ||
}, | ||
{ | ||
"name": "Thomas Aribart", | ||
"url": "https://github.com/thomasaribart", | ||
"githubUsername": "thomasaribart" | ||
} | ||
@@ -43,4 +48,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "854461953eea1ebe940fefa24c599bb259e418818b1aa4141d3ed4acd7872374", | ||
"typesPublisherContentHash": "cf1e9791008b2617a8d93765913003f2a0cae573624b496d24016fc5673616ea", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -297,3 +297,3 @@ import Serverless = require('../../../index'); | ||
interface HttpApiEventAuthorizer { | ||
interface NamedHttpApiEventAuthorizer { | ||
name: string; | ||
@@ -303,6 +303,11 @@ scopes?: string[]; | ||
interface IdRefHttpApiEventAuthorizer { | ||
id: string; | ||
scopes?: string[]; | ||
} | ||
interface HttpApiEvent { | ||
method: string; | ||
path: string; | ||
authorizer?: HttpApiEventAuthorizer; | ||
authorizer?: NamedHttpApiEventAuthorizer | IdRefHttpApiEventAuthorizer; | ||
} | ||
@@ -309,0 +314,0 @@ |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 22 Jun 2020 07:10:37 GMT | ||
* Last updated: Fri, 26 Jun 2020 17:18:55 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Hassan Khan](https://github.com/hassankhan), [Jonathan M. Wilbur](https://github.com/JonathanWilbur), [Alex Pavlenko](https://github.com/a-pavlenko), [Frédéric Barthelet](https://github.com/fredericbarthelet), and [Bryan Hunter](https://github.com/bryan-hunter). | ||
These definitions were written by [Hassan Khan](https://github.com/hassankhan), [Jonathan M. Wilbur](https://github.com/JonathanWilbur), [Alex Pavlenko](https://github.com/a-pavlenko), [Frédéric Barthelet](https://github.com/fredericbarthelet), [Bryan Hunter](https://github.com/bryan-hunter), and [Thomas Aribart](https://github.com/thomasaribart). |
25054
1.7%730
0.69%