dcdx 1.2.0-next.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/versions.json +1 -1
- package/lib/commands/build.js +8510 -1
- package/lib/commands/database.js +8441 -1
- package/lib/commands/debug.js +9257 -0
- package/lib/commands/profile.js +2 -1
- package/lib/commands/reset.js +9194 -1
- package/lib/commands/run.js +9227 -1
- package/lib/commands/stop.js +9191 -1
- package/lib/index.js +93 -1
- package/lib/types/src/applications/bamboo.d.ts +4 -6
- package/lib/types/src/applications/base.d.ts +8 -12
- package/lib/types/src/applications/bitbucket.d.ts +4 -6
- package/lib/types/src/applications/confluence.d.ts +4 -6
- package/lib/types/src/applications/jira.d.ts +4 -6
- package/lib/types/src/databases/base.d.ts +7 -15
- package/lib/types/src/databases/mssql.d.ts +3 -12
- package/lib/types/src/databases/mysql.d.ts +3 -12
- package/lib/types/src/databases/postgres.d.ts +3 -12
- package/lib/types/src/helpers/ActionHandler.d.ts +39 -0
- package/lib/types/src/helpers/FileWatcher.d.ts +3 -0
- package/lib/types/src/helpers/amps.d.ts +22 -12
- package/lib/types/src/helpers/docker.d.ts +3 -5
- package/lib/types/src/helpers/getApplication.d.ts +2 -6
- package/lib/types/src/helpers/getDatabaseEngine.d.ts +2 -0
- package/lib/types/src/helpers/getZodDefaults.d.ts +3 -0
- package/lib/types/src/helpers/licences.d.ts +2 -2
- package/lib/types/src/helpers/showHelpWithDefaultCommandOptions.d.ts +2 -0
- package/lib/types/src/types/AMPS.d.ts +96 -0
- package/lib/types/src/types/Application.d.ts +65 -0
- package/lib/types/src/types/Database.d.ts +169 -0
- package/package.json +10 -5
- package/lib/commands/database/mssql.js +0 -2
- package/lib/commands/database/mysql.js +0 -2
- package/lib/commands/database/postgres.js +0 -2
- package/lib/commands/reset/bamboo.js +0 -2
- package/lib/commands/reset/bitbucket.js +0 -2
- package/lib/commands/reset/command.js +0 -2
- package/lib/commands/reset/confluence.js +0 -2
- package/lib/commands/reset/jira.js +0 -2
- package/lib/commands/run/bamboo.js +0 -2
- package/lib/commands/run/bitbucket.js +0 -2
- package/lib/commands/run/command.js +0 -2
- package/lib/commands/run/confluence.js +0 -2
- package/lib/commands/run/jira.js +0 -2
- package/lib/commands/start.js +0 -2
- package/lib/commands/stop/bamboo.js +0 -2
- package/lib/commands/stop/bitbucket.js +0 -2
- package/lib/commands/stop/command.js +0 -2
- package/lib/commands/stop/confluence.js +0 -2
- package/lib/commands/stop/jira.js +0 -2
- package/lib/types/src/commands/database/mysql.d.ts +0 -2
- package/lib/types/src/commands/database/postgres.d.ts +0 -2
- package/lib/types/src/commands/reset/bamboo.d.ts +0 -2
- package/lib/types/src/commands/reset/bitbucket.d.ts +0 -2
- package/lib/types/src/commands/reset/command.d.ts +0 -3
- package/lib/types/src/commands/reset/confluence.d.ts +0 -2
- package/lib/types/src/commands/reset/jira.d.ts +0 -2
- package/lib/types/src/commands/run/bamboo.d.ts +0 -2
- package/lib/types/src/commands/run/bitbucket.d.ts +0 -2
- package/lib/types/src/commands/run/command.d.ts +0 -3
- package/lib/types/src/commands/run/confluence.d.ts +0 -2
- package/lib/types/src/commands/run/jira.d.ts +0 -2
- package/lib/types/src/commands/start.d.ts +0 -2
- package/lib/types/src/commands/stop/bamboo.d.ts +0 -2
- package/lib/types/src/commands/stop/bitbucket.d.ts +0 -2
- package/lib/types/src/commands/stop/command.d.ts +0 -3
- package/lib/types/src/commands/stop/confluence.d.ts +0 -2
- package/lib/types/src/commands/stop/jira.d.ts +0 -2
- package/lib/types/src/types/ApplicationOptions.d.ts +0 -13
- package/lib/types/src/types/DatabaseEngine.d.ts +0 -17
- package/lib/types/src/types/DatabaseOptions.d.ts +0 -9
- package/lib/types/src/types/SupportedApplications.d.ts +0 -6
- package/lib/types/src/types/SupportedDatabaseDrivers.d.ts +0 -1
- package/lib/types/src/types/SupportedDatabaseEngines.d.ts +0 -1
- /package/lib/types/src/commands/{database/mssql.d.ts → debug.d.ts} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SupportedDatabaseEngines } from './SupportedDatabaseEngines';
|
|
2
|
-
export type ApplicationOptions = {
|
|
3
|
-
version: string;
|
|
4
|
-
database: SupportedDatabaseEngines;
|
|
5
|
-
port?: number;
|
|
6
|
-
contextPath?: string;
|
|
7
|
-
quickReload?: boolean;
|
|
8
|
-
license?: string;
|
|
9
|
-
clean?: boolean;
|
|
10
|
-
prune?: boolean;
|
|
11
|
-
devMode?: boolean;
|
|
12
|
-
debug?: boolean;
|
|
13
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import EventEmitter from 'events';
|
|
3
|
-
import { DatabaseOptions } from './DatabaseOptions';
|
|
4
|
-
import { SupportedDatabaseDrivers } from './SupportedDatabaseDrivers';
|
|
5
|
-
import { SupportedDatabaseEngines } from './SupportedDatabaseEngines';
|
|
6
|
-
export interface DatabaseEngine extends EventEmitter {
|
|
7
|
-
name: SupportedDatabaseEngines;
|
|
8
|
-
url: string;
|
|
9
|
-
driver: SupportedDatabaseDrivers;
|
|
10
|
-
options: DatabaseOptions;
|
|
11
|
-
start(clean?: boolean): Promise<void>;
|
|
12
|
-
stop(prune?: boolean): Promise<void>;
|
|
13
|
-
run(sql: string | {
|
|
14
|
-
query: string;
|
|
15
|
-
values: unknown[];
|
|
16
|
-
}): Promise<[unknown[], unknown] | null>;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SupportedDatabaseDrivers = 'com.microsoft.sqlserver.jdbc.SQLServerDriver' | 'com.mysql.jdbc.Driver' | 'oracle.jdbc.OracleDriver' | 'org.postgresql.Driver';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SupportedDatabaseEngines = 'postgresql' | 'mysql' | 'mssql';
|
|
File without changes
|