Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wocker/pgsql-plugin

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wocker/pgsql-plugin - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7-dev.0

4

lib/controllers/PgSqlController.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc