@types/serverless
Advanced tools
Comparing version 1.18.6 to 1.67.0
@@ -1,6 +0,6 @@ | ||
import Serverless = require("../index"); | ||
import Plugin = require("./Plugin"); | ||
import Serverless = require('../index'); | ||
import Plugin = require('./Plugin'); | ||
declare class PluginManager { | ||
constructor(serverless: Serverless) | ||
constructor(serverless: Serverless); | ||
@@ -7,0 +7,0 @@ setCliOptions(options: Serverless.Options): void; |
@@ -1,2 +0,2 @@ | ||
import Serverless = require("../index"); | ||
import Serverless = require('../index'); | ||
@@ -13,17 +13,17 @@ declare namespace Service { | ||
provider: { | ||
compiledCloudFormationTemplate: { | ||
Resources: { | ||
[key: string]: any; | ||
compiledCloudFormationTemplate: { | ||
Resources: { | ||
[key: string]: any; | ||
}; | ||
Outputs?: { | ||
[key: string]: any; | ||
}; | ||
}; | ||
Outputs?: { | ||
[key: string]: any; | ||
}; | ||
}; | ||
name: string; | ||
stage: string; | ||
region: string; | ||
runtime?: string; | ||
timeout?: number; | ||
versionFunctions: boolean; | ||
name: string; | ||
stage: string; | ||
region: string; | ||
runtime?: string; | ||
timeout?: number; | ||
versionFunctions: boolean; | ||
}; | ||
@@ -30,0 +30,0 @@ constructor(serverless: Serverless, data: {}); |
@@ -1,2 +0,2 @@ | ||
import Serverless = require("../index"); | ||
import Serverless = require('../index'); | ||
@@ -3,0 +3,0 @@ declare class Utils { |
@@ -1,5 +0,5 @@ | ||
import Serverless = require("../index"); | ||
import Serverless = require('../index'); | ||
declare class YamlParser { | ||
constructor(serverless: Serverless) | ||
constructor(serverless: Serverless); | ||
parse(yamlFilePath: string): Promise<any>; | ||
@@ -6,0 +6,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for serverless 1.18 | ||
// Type definitions for serverless 1.67 | ||
// Project: https://github.com/serverless/serverless#readme | ||
@@ -6,2 +6,3 @@ // Definitions by: Hassan Khan <https://github.com/hassankhan> | ||
// Alex Pavlenko <https://github.com/a-pavlenko> | ||
// Frédéric Barthelet <https://github.com/fredericbarthelet> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -15,2 +16,3 @@ | ||
import AwsProvider = require('./plugins/aws/provider/awsProvider'); | ||
import ApiGatewayValidate = require('./plugins/aws/package/compile/events/apiGateway/lib/validate'); | ||
@@ -39,7 +41,7 @@ declare namespace Serverless { | ||
environment?: { [name: string]: string }; | ||
events: Event[]; | ||
} | ||
interface Event { | ||
eventName: string; | ||
} | ||
// Other events than ApiGatewayEvent are available | ||
type Event = ApiGatewayValidate.ApiGatewayEvent | object; | ||
@@ -46,0 +48,0 @@ interface Package { |
{ | ||
"name": "@types/serverless", | ||
"version": "1.18.6", | ||
"version": "1.67.0", | ||
"description": "TypeScript definitions for serverless", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "a-pavlenko" | ||
}, | ||
{ | ||
"name": "Frédéric Barthelet", | ||
"url": "https://github.com/fredericbarthelet", | ||
"githubUsername": "fredericbarthelet" | ||
} | ||
@@ -33,4 +38,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "5afc24d2167669dbd1d9e1f3c10a724c890068bfc039336f86bbc049d067dd1e", | ||
"typesPublisherContentHash": "80dbb296c65351ecd66cdf1850e7c4a78634fb5b24486241cb85ad9ea4f514e8", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -1,5 +0,5 @@ | ||
import Serverless = require("../../../index"); | ||
import Serverless = require('../../../index'); | ||
declare class Aws { | ||
constructor(serverless: Serverless, options: Serverless.Options) | ||
constructor(serverless: Serverless, options: Serverless.Options); | ||
@@ -6,0 +6,0 @@ naming: { [key: string]: () => string }; |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 04 Mar 2020 17:59:57 GMT | ||
* Last updated: Mon, 13 Apr 2020 19:11:32 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), and [Alex Pavlenko](https://github.com/a-pavlenko). | ||
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), and [Frédéric Barthelet](https://github.com/fredericbarthelet). |
Sorry, the diff of this file is not supported yet
10291
11
216