@wocker/pgsql-plugin
Advanced tools
Comparing version 1.0.6 to 1.0.7-dev.0
@@ -9,5 +9,5 @@ import { AppConfigService, DockerService } from "@wocker/core"; | ||
protected init(email?: string, password?: string, skipPassword?: boolean): Promise<void>; | ||
protected create(user: string, password: string, host: string, port: string, service: string): Promise<void>; | ||
protected create(service: string, user: string, password: string, host: string, port: string): Promise<void>; | ||
protected destroy(service: string): Promise<void>; | ||
protected start(restart?: boolean, service?: string): Promise<void>; | ||
protected start(service?: string, restart?: boolean): Promise<void>; | ||
protected stop(service?: string): Promise<void>; | ||
@@ -14,0 +14,0 @@ default(service: string): Promise<void>; |
@@ -39,3 +39,3 @@ "use strict"; | ||
} | ||
create(user, password, host, port, service) { | ||
create(service, user, password, host, port) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -53,3 +53,3 @@ yield this.pgSqlService.create(service, user, password, host, port); | ||
} | ||
start(restart, service) { | ||
start(service, restart) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -98,3 +98,4 @@ yield this.pgSqlService.start(service, restart); | ||
(0, core_1.Command)("pgsql:create <service>"), | ||
__param(0, (0, core_1.Option)("user", { | ||
__param(0, (0, core_1.Param)("service")), | ||
__param(1, (0, core_1.Option)("user", { | ||
type: "string", | ||
@@ -104,3 +105,3 @@ alias: "u", | ||
})), | ||
__param(1, (0, core_1.Option)("password", { | ||
__param(2, (0, core_1.Option)("password", { | ||
type: "string", | ||
@@ -110,3 +111,3 @@ alias: "p", | ||
})), | ||
__param(2, (0, core_1.Option)("host", { | ||
__param(3, (0, core_1.Option)("host", { | ||
type: "string", | ||
@@ -116,3 +117,3 @@ alias: "h", | ||
})), | ||
__param(3, (0, core_1.Option)("port", { | ||
__param(4, (0, core_1.Option)("port", { | ||
type: "number", | ||
@@ -128,2 +129,3 @@ alias: "p", | ||
(0, core_1.Command)("pgsql:destroy <service>"), | ||
__param(0, (0, core_1.Param)("service")), | ||
__metadata("design:type", Function), | ||
@@ -135,3 +137,4 @@ __metadata("design:paramtypes", [String]), | ||
(0, core_1.Command)("pgsql:start [service]"), | ||
__param(0, (0, core_1.Option)("restart", { | ||
__param(0, (0, core_1.Param)("service")), | ||
__param(1, (0, core_1.Option)("restart", { | ||
type: "boolean", | ||
@@ -142,3 +145,3 @@ alias: "r", | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Boolean, String]), | ||
__metadata("design:paramtypes", [String, Boolean]), | ||
__metadata("design:returntype", Promise) | ||
@@ -148,2 +151,3 @@ ], PgSqlController.prototype, "start", null); | ||
(0, core_1.Command)("pgsql:stop [service]"), | ||
__param(0, (0, core_1.Param)("service")), | ||
__metadata("design:type", Function), | ||
@@ -155,2 +159,3 @@ __metadata("design:paramtypes", [String]), | ||
(0, core_1.Command)("pgsql:use <service>"), | ||
__param(0, (0, core_1.Param)("service")), | ||
__metadata("design:type", Function), | ||
@@ -157,0 +162,0 @@ __metadata("design:paramtypes", [String]), |
{ | ||
"name": "@wocker/pgsql-plugin", | ||
"version": "1.0.6", | ||
"author": "Kris Papercut<krispcut@gmail.com>", | ||
"version": "1.0.7-dev.0", | ||
"author": "Kris Papercut <krispcut@gmail.com>", | ||
"description": "PostgresSQL plugin for wocker", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"keywords": [ | ||
"wocker" | ||
"wocker", | ||
"plugin" | ||
], | ||
"main": "./lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"homepage": "https://kearisp.github.io/wocker/plugins/pgsql", | ||
@@ -27,4 +28,4 @@ "repository": { | ||
"dependencies": { | ||
"@wocker/core": "^1.0.13", | ||
"@wocker/utils": "^1.0.5" | ||
"@wocker/core": "^1.0.19", | ||
"@wocker/utils": "^1.0.7" | ||
}, | ||
@@ -31,0 +32,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
30248
672
0
3
1
Updated@wocker/core@^1.0.19
Updated@wocker/utils@^1.0.7