@types/serverless
Advanced tools
Comparing version 3.12.1 to 3.12.2
{ | ||
"name": "@types/serverless", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"description": "TypeScript definitions for serverless", | ||
@@ -68,4 +68,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serverless", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2212208d77092572d2f887b3c99433a295f36fc6fc1f63b4b5856c405ae49b9e", | ||
"typesPublisherContentHash": "f01e63ebb01735ab06a62dd7672f15ba06ce3578c0c8683ece52372d089e16c9", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -532,3 +532,3 @@ import Serverless = require('../../../index'); | ||
interface CloudwatchEvent { | ||
event: string; | ||
event: CloudwatchEventInternalEvent | string; | ||
name?: string | undefined; | ||
@@ -542,2 +542,17 @@ description?: string | undefined; | ||
interface CloudwatchEventInternalEvent { | ||
source: string | string[]; | ||
"detail-type"?: string | string[]; | ||
detail?: object; | ||
region?: string; | ||
/** | ||
* Supposed to be array of ARNs but needs more info | ||
*/ | ||
resources?: string[]; | ||
version?: string; | ||
id?: string; | ||
time?: string; | ||
account?: string; | ||
} | ||
interface CloudwatchLog { | ||
@@ -544,0 +559,0 @@ logGroup: string; |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 25 Apr 2022 03:01:38 GMT | ||
* Last updated: Tue, 26 Apr 2022 19:31:52 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
37967
954