easywork-common-lib 1.0.509 → 1.0.510
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/dist/common/constants/index.d.ts +1 -0
- package/dist/common/constants/index.js +1 -0
- package/dist/common/constants/index.js.map +1 -1
- package/dist/common/constants/string.constant.d.ts +5 -0
- package/dist/common/constants/string.constant.js +41 -0
- package/dist/common/constants/string.constant.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./regex.constant"), exports);
|
|
18
18
|
__exportStar(require("./app.contants"), exports);
|
|
19
|
+
__exportStar(require("./string.constant"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,iDAA+B;AAC/B,oDAAkC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const VERSION_VALIDATION_MESSAGE = "Version must start with \"v\" followed by a number.";
|
|
2
|
+
export declare const SES_REGIONS: string[];
|
|
3
|
+
export declare const APP_ENVIRONMENTS: string[];
|
|
4
|
+
export declare const CLOUD_STORAGE_SERVICE_TYPES: string[];
|
|
5
|
+
export declare const DATABASE_TYPES: string[];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DATABASE_TYPES = exports.CLOUD_STORAGE_SERVICE_TYPES = exports.APP_ENVIRONMENTS = exports.SES_REGIONS = exports.VERSION_VALIDATION_MESSAGE = void 0;
|
|
4
|
+
exports.VERSION_VALIDATION_MESSAGE = 'Version must start with "v" followed by a number.';
|
|
5
|
+
exports.SES_REGIONS = [
|
|
6
|
+
"us-east-2",
|
|
7
|
+
"us-east-1",
|
|
8
|
+
"us-west-1",
|
|
9
|
+
"us-west-2",
|
|
10
|
+
"af-south-1",
|
|
11
|
+
"ap-southeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-northeast-3",
|
|
14
|
+
"ap-northeast-2",
|
|
15
|
+
"ap-southeast-1",
|
|
16
|
+
"ap-southeast-2",
|
|
17
|
+
"ap-northeast-1",
|
|
18
|
+
"ca-central-1",
|
|
19
|
+
"eu-central-1",
|
|
20
|
+
"eu-west-1",
|
|
21
|
+
"eu-west-2",
|
|
22
|
+
"eu-south-1",
|
|
23
|
+
"eu-west-3",
|
|
24
|
+
"eu-north-1",
|
|
25
|
+
"me-south-1",
|
|
26
|
+
"sa-east-1",
|
|
27
|
+
"us-gov-west-1",
|
|
28
|
+
];
|
|
29
|
+
exports.APP_ENVIRONMENTS = [
|
|
30
|
+
"dev",
|
|
31
|
+
"development",
|
|
32
|
+
"stage",
|
|
33
|
+
"staging",
|
|
34
|
+
"test",
|
|
35
|
+
"testing",
|
|
36
|
+
"prod",
|
|
37
|
+
"production",
|
|
38
|
+
];
|
|
39
|
+
exports.CLOUD_STORAGE_SERVICE_TYPES = ["cloudinary", "s3", "none"];
|
|
40
|
+
exports.DATABASE_TYPES = ["mysql", "postgres"];
|
|
41
|
+
//# sourceMappingURL=string.constant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.constant.js","sourceRoot":"","sources":["../../../src/common/constants/string.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,mDAAmD,CAAC;AAGjF,QAAA,WAAW,GAAG;IACvB,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,eAAe;CAClB,CAAC;AACW,QAAA,gBAAgB,GAAG;IAC5B,KAAK;IACL,aAAa;IACb,OAAO;IACP,SAAS;IACT,MAAM;IACN,SAAS;IACT,MAAM;IACN,YAAY;CACf,CAAC;AAEW,QAAA,2BAA2B,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AAE3D,QAAA,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC"}
|