dots-wrapper 3.7.4 → 3.7.7

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/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
  [![quality](https://sonarcloud.io/api/project_badges/measure?branch=master&project=dots&metric=alert_status)](https://sonarcloud.io/dashboard?branch=master&id=dots)
7
7
  [![coverage](https://sonarcloud.io/api/project_badges/measure?branch=master&project=dots&metric=coverage)](https://sonarcloud.io/dashboard?branch=master&id=dots)
8
8
  [![security](https://sonarcloud.io/api/project_badges/measure?branch=master&project=dots&metric=security_rating)](https://sonarcloud.io/dashboard?branch=master&id=dots)
9
+ [![npm](https://img.shields.io/npm/dm/dots-wrapper.svg)](https://www.npmjs.com/package/dots-wrapper)
9
10
 
10
11
 
11
12
  ## installing
@@ -310,6 +311,9 @@ js.js
310
311
 
311
312
  ## contributors
312
313
 
314
+ <a href="https://github.com/carlosbaraza" target="_blank">
315
+ <img src="https://avatars2.githubusercontent.com/u/1270425?v=3" title="ngryman" width="80" height="80">
316
+ </a>
313
317
  <a href="https://github.com/codyogden" target="_blank">
314
318
  <img src="https://avatars2.githubusercontent.com/u/11383626?v=3" title="ngryman" width="80" height="80">
315
319
  </a>
@@ -0,0 +1,9 @@
1
+ export interface IAppDatabaseSpec {
2
+ cluster_name?: string;
3
+ db_name?: string;
4
+ db_user?: string;
5
+ engine?: string;
6
+ name: string;
7
+ production: boolean;
8
+ version: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-database-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-database-spec.js","sourceRoot":"","sources":["../../../src/app/types/app-database-spec.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { IAppDeploymentProgressStepReason } from ".";
2
- export declare type AppDeploymentProgresStepStatus = 'PENDING' | 'RUNNING' | 'ERROR' | 'SUCCESS';
2
+ export declare type AppDeploymentProgresStepStatus = "PENDING" | "RUNNING" | "ERROR" | "SUCCESS";
3
3
  export interface IAppDeploymentProgressStep {
4
4
  name: string;
5
5
  status: AppDeploymentProgresStepStatus | string;
@@ -1,10 +1,10 @@
1
1
  import { IAppDeploymentProgressStep } from ".";
2
2
  export interface IAppDeploymentProgress {
3
+ error_steps: number;
3
4
  pending_steps: number;
4
5
  running_steps: number;
5
- success_steps: number;
6
- error_steps: number;
7
- total_steps: number;
8
6
  steps: IAppDeploymentProgressStep[];
7
+ success_steps: number;
9
8
  summary_steps: IAppDeploymentProgressStep[];
9
+ total_steps: number;
10
10
  }
@@ -0,0 +1,6 @@
1
+ export interface IAppDomainSpec {
2
+ domain: string;
3
+ type?: string;
4
+ wildcard?: boolean;
5
+ zone?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-domain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-domain.js","sourceRoot":"","sources":["../../../src/app/types/app-domain.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { IAppVariableDefinition, IGithubSource, IGitSource, IImageSource } from ".";
2
+ export interface IAppJobSpec {
3
+ build_command?: string;
4
+ dockerfile_path?: string;
5
+ environment_slug?: string;
6
+ envs?: IAppVariableDefinition[];
7
+ git?: IGitSource;
8
+ github?: IGithubSource;
9
+ gitlab?: IGithubSource;
10
+ image?: IImageSource;
11
+ instance_count?: number;
12
+ instance_size_slug?: string;
13
+ kind?: string;
14
+ name: string;
15
+ run_command?: string;
16
+ source_dir?: string;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-job-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-job-spec.js","sourceRoot":"","sources":["../../../src/app/types/app-job-spec.ts"],"names":[],"mappings":""}
@@ -1,10 +1,21 @@
1
- import { IAppServiceRoute, IGithubSource } from ".";
2
- export interface IAppSpecService {
3
- environment_slug: string;
4
- github: IGithubSource;
5
- instance_count: number;
6
- instance_size_slug: string;
1
+ import { IAppCors, IAppServiceRoute, IAppVariableDefinition, IGithubSource, IGitSource, IImageSource } from ".";
2
+ export interface IAppServiceSpec {
3
+ build_command?: string;
4
+ cors?: IAppCors[];
5
+ dockerfile_path?: string;
6
+ environment_slug?: string;
7
+ envs?: IAppVariableDefinition[];
8
+ git?: IGitSource;
9
+ github?: IGithubSource;
10
+ gitlab?: IGithubSource;
11
+ health_check?: any;
12
+ http_port?: number;
13
+ image?: IImageSource;
14
+ instance_count?: number;
15
+ instance_size_slug?: string;
16
+ internal_ports?: number[];
7
17
  name: string;
8
- routes: IAppServiceRoute[];
9
- run_command: string;
18
+ routes?: IAppServiceRoute[];
19
+ run_command?: string;
20
+ source_dir?: string;
10
21
  }
@@ -1,6 +1,12 @@
1
- import { IAppSpecService } from ".";
1
+ import { IAppDatabaseSpec, IAppDomainSpec, IAppJobSpec, IAppServiceSpec, IAppStaticSiteSpec, IAppVariableDefinition, IAppWorkerSpec } from ".";
2
2
  export interface IAppSpec {
3
+ databases?: IAppDatabaseSpec[];
4
+ domains?: IAppDomainSpec[];
5
+ envs?: IAppVariableDefinition[];
6
+ jobs?: IAppJobSpec[];
3
7
  name: string;
4
- services: IAppSpecService[];
5
- region: string;
8
+ region?: string;
9
+ services?: IAppServiceSpec[];
10
+ static_sites?: IAppStaticSiteSpec[];
11
+ workers?: IAppWorkerSpec[];
6
12
  }
@@ -0,0 +1,19 @@
1
+ import { IAppCors, IAppVariableDefinition, IGithubSource, IGitSource, IImageSource } from ".";
2
+ export interface IAppStaticSiteSpec {
3
+ build_command?: string;
4
+ catchall_document?: string;
5
+ cors?: IAppCors[];
6
+ dockerfile_path?: string;
7
+ environment_slug?: string;
8
+ envs?: IAppVariableDefinition[];
9
+ error_document?: string;
10
+ git?: IGitSource;
11
+ github?: IGithubSource;
12
+ gitlab?: IGithubSource;
13
+ image?: IImageSource;
14
+ index_document?: string;
15
+ name: string;
16
+ output_dir?: string;
17
+ run_command?: string;
18
+ source_dir?: string;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-static-site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-static-site.js","sourceRoot":"","sources":["../../../src/app/types/app-static-site.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface IAppVariableDefinition {
2
+ key: string;
3
+ scope?: string;
4
+ type?: string;
5
+ value?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-variable-definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-variable-definition.js","sourceRoot":"","sources":["../../../src/app/types/app-variable-definition.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { IAppVariableDefinition, IGithubSource, IGitSource, IImageSource } from ".";
2
+ export interface IAppWorkerSpec {
3
+ build_command?: string;
4
+ dockerfile_path?: string;
5
+ environment_slug?: string;
6
+ envs?: IAppVariableDefinition[];
7
+ git?: IGitSource;
8
+ github?: IGithubSource;
9
+ gitlab?: IGithubSource;
10
+ image?: IImageSource;
11
+ instance_count?: number;
12
+ instance_size_slug?: string;
13
+ name: string;
14
+ run_command?: string;
15
+ source_dir?: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=app-worker-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-worker-spec.js","sourceRoot":"","sources":["../../../src/app/types/app-worker-spec.ts"],"names":[],"mappings":""}
@@ -1,20 +1,26 @@
1
- export * from './app-cors-allow-origin';
2
- export * from './app-cors';
3
- export * from './app-deployment-env';
4
- export * from './app-deployment-job';
5
- export * from './app-deployment-log-type';
6
- export * from './app-deployment-progress-step-reason';
7
- export * from './app-deployment-progress-step';
8
- export * from './app-deployment-progress';
9
- export * from './app-deployment-route';
10
- export * from './app-deployment-service';
11
- export * from './app-deployment-static-site';
12
- export * from './app-deployment-worker';
13
- export * from './app-deployment';
14
- export * from './app-service-route';
15
- export * from './app-service-spec';
16
- export * from './app-spec';
17
- export * from './app';
18
- export * from './git-source';
19
- export * from './github-source';
20
- export * from './image-source';
1
+ export * from "./app-cors-allow-origin";
2
+ export * from "./app-cors";
3
+ export * from "./app-database-spec";
4
+ export * from "./app-deployment-env";
5
+ export * from "./app-deployment-job";
6
+ export * from "./app-deployment-log-type";
7
+ export * from "./app-deployment-progress-step-reason";
8
+ export * from "./app-deployment-progress-step";
9
+ export * from "./app-deployment-progress";
10
+ export * from "./app-deployment-route";
11
+ export * from "./app-deployment-service";
12
+ export * from "./app-deployment-static-site";
13
+ export * from "./app-deployment-worker";
14
+ export * from "./app-deployment";
15
+ export * from "./app-domain";
16
+ export * from "./app-job-spec";
17
+ export * from "./app-service-route";
18
+ export * from "./app-service-spec";
19
+ export * from "./app-spec";
20
+ export * from "./app-static-site";
21
+ export * from "./app-variable-definition";
22
+ export * from "./app-worker-spec";
23
+ export * from "./app";
24
+ export * from "./git-source";
25
+ export * from "./github-source";
26
+ export * from "./image-source";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./app-cors-allow-origin"), exports);
18
18
  __exportStar(require("./app-cors"), exports);
19
+ __exportStar(require("./app-database-spec"), exports);
19
20
  __exportStar(require("./app-deployment-env"), exports);
20
21
  __exportStar(require("./app-deployment-job"), exports);
21
22
  __exportStar(require("./app-deployment-log-type"), exports);
@@ -27,9 +28,14 @@ __exportStar(require("./app-deployment-service"), exports);
27
28
  __exportStar(require("./app-deployment-static-site"), exports);
28
29
  __exportStar(require("./app-deployment-worker"), exports);
29
30
  __exportStar(require("./app-deployment"), exports);
31
+ __exportStar(require("./app-domain"), exports);
32
+ __exportStar(require("./app-job-spec"), exports);
30
33
  __exportStar(require("./app-service-route"), exports);
31
34
  __exportStar(require("./app-service-spec"), exports);
32
35
  __exportStar(require("./app-spec"), exports);
36
+ __exportStar(require("./app-static-site"), exports);
37
+ __exportStar(require("./app-variable-definition"), exports);
38
+ __exportStar(require("./app-worker-spec"), exports);
33
39
  __exportStar(require("./app"), exports);
34
40
  __exportStar(require("./git-source"), exports);
35
41
  __exportStar(require("./github-source"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6CAA2B;AAC3B,uDAAqC;AACrC,uDAAqC;AACrC,4DAA0C;AAC1C,wEAAsD;AACtD,iEAA+C;AAC/C,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,+DAA6C;AAC7C,0DAAwC;AACxC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,6CAA2B;AAC3B,wCAAsB;AACtB,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6CAA2B;AAC3B,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,4DAA0C;AAC1C,wEAAsD;AACtD,iEAA+C;AAC/C,4DAA0C;AAC1C,yDAAuC;AACvC,2DAAyC;AACzC,+DAA6C;AAC7C,0DAAwC;AACxC,mDAAiC;AACjC,+CAA6B;AAC7B,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,6CAA2B;AAC3B,oDAAkC;AAClC,4DAA0C;AAC1C,oDAAkC;AAClC,wCAAsB;AACtB,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B"}