@tsed/cli-plugin-passport
Advanced tools
Comparing version 1.11.3 to 1.12.0
@@ -1,5 +0,5 @@ | ||
import { IGenerateCmdContext, ProvidersInfoService } from "@tsed/cli"; | ||
import { GenerateCmdContext, ProvidersInfoService } from "@tsed/cli"; | ||
import { ProjectPackageJson, QuestionOptions, SrcRendererService, Tasks } from "@tsed/cli-core"; | ||
import { PassportClient } from "../services/PassportClient"; | ||
export interface IPassportGenerateOptions extends IGenerateCmdContext { | ||
export interface PassportGenerateOptions extends GenerateCmdContext { | ||
passportPackage: string; | ||
@@ -14,4 +14,4 @@ } | ||
constructor(providersInfoService: ProvidersInfoService); | ||
onGeneratePrompt(initialOption: IGenerateCmdContext): Promise<QuestionOptions>; | ||
onGenerateExec(ctx: IPassportGenerateOptions): Tasks; | ||
onGeneratePrompt(): Promise<QuestionOptions>; | ||
onGenerateExec(ctx: PassportGenerateOptions): Tasks; | ||
private mapOptions; | ||
@@ -18,0 +18,0 @@ private getTemplate; |
@@ -20,3 +20,3 @@ "use strict"; | ||
} | ||
onGeneratePrompt(initialOption) { | ||
onGeneratePrompt() { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -93,3 +93,3 @@ this.packages = yield this.passportClient.getPackages(); | ||
tslib_1.__metadata("design:type", Function), | ||
tslib_1.__metadata("design:paramtypes", [Object]), | ||
tslib_1.__metadata("design:paramtypes", []), | ||
tslib_1.__metadata("design:returntype", Promise) | ||
@@ -96,0 +96,0 @@ ], PassportGenerateHook.prototype, "onGeneratePrompt", null); |
{ | ||
"name": "@tsed/cli-plugin-passport", | ||
"version": "1.11.3", | ||
"version": "1.12.0", | ||
"main": "lib/index.js", | ||
@@ -12,4 +12,4 @@ "typings": "lib/index.d.ts", | ||
"devDependencies": { | ||
"@tsed/cli": "1.11.3", | ||
"@tsed/cli-core": "1.11.3", | ||
"@tsed/cli": "1.12.0", | ||
"@tsed/cli-core": "1.12.0", | ||
"@types/change-case": "^2.3.1" | ||
@@ -16,0 +16,0 @@ }, |
Sorry, the diff of this file is not supported yet
19711