@sgorg/datawarehouse-common
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -20,2 +20,6 @@ declare enum Environment { | ||
declare function createEnvironmentConfig(env: Environment, project: string): EnvironmentConfig; | ||
export { AwsAccount, AwsAccounts, AWS_ACCOUNTS, BackendConfig, Environment, EnvironmentConfig, createEnvironmentConfig, }; | ||
declare const HOSTED_ZONES: { | ||
development: string; | ||
production: string; | ||
}; | ||
export { AwsAccount, AwsAccounts, AWS_ACCOUNTS, HOSTED_ZONES, BackendConfig, Environment, EnvironmentConfig, createEnvironmentConfig, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createEnvironmentConfig = exports.Environment = exports.AWS_ACCOUNTS = exports.AwsAccount = void 0; | ||
exports.createEnvironmentConfig = exports.Environment = exports.HOSTED_ZONES = exports.AWS_ACCOUNTS = exports.AwsAccount = void 0; | ||
const global_1 = require("./global"); | ||
@@ -33,2 +33,7 @@ var Environment; | ||
exports.createEnvironmentConfig = createEnvironmentConfig; | ||
const HOSTED_ZONES = { | ||
[Environment.Dev]: `${AwsAccount.Dev}.softgames.de`, | ||
[Environment.Prod]: `${AwsAccount.Prod}.softgames.de`, | ||
}; | ||
exports.HOSTED_ZONES = HOSTED_ZONES; | ||
//# sourceMappingURL=environments.js.map |
import { PROVIDER, REGION, COMPANY_SLUG, COMPANY_NAME } from './config/global'; | ||
import { Environment, EnvironmentConfig, AWS_ACCOUNTS, createEnvironmentConfig } from './config/environments'; | ||
import { Environment, EnvironmentConfig, AWS_ACCOUNTS, HOSTED_ZONES, createEnvironmentConfig } from './config/environments'; | ||
import { ResourceIdentifierOptions, createResourceIdentifiers } from './utils/createResourceIdentifiers'; | ||
@@ -11,2 +11,2 @@ import Policy from './types/policy'; | ||
import DataProvider from './types/dataProviders'; | ||
export { Environment, EnvironmentConfig, Policy, ResourceIdentifier, Tags, DataWarehouseUser, DataWarehouseUserName, ResourceIdentifierOptions, DataWarehouseGroup, DataWarehouseGroupName, DataProvider, COMPANY_NAME, COMPANY_SLUG, PROVIDER, REGION, AWS_ACCOUNTS, createEnvironmentConfig, createResourceIdentifiers, outputValue, }; | ||
export { Environment, EnvironmentConfig, Policy, ResourceIdentifier, Tags, DataWarehouseUser, DataWarehouseUserName, ResourceIdentifierOptions, DataWarehouseGroup, DataWarehouseGroupName, DataProvider, COMPANY_NAME, COMPANY_SLUG, PROVIDER, REGION, AWS_ACCOUNTS, HOSTED_ZONES, createEnvironmentConfig, createResourceIdentifiers, outputValue, }; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.outputValue = exports.createResourceIdentifiers = exports.createEnvironmentConfig = exports.AWS_ACCOUNTS = exports.REGION = exports.PROVIDER = exports.COMPANY_SLUG = exports.COMPANY_NAME = exports.DataProvider = exports.DataWarehouseGroupName = exports.DataWarehouseUserName = exports.Environment = void 0; | ||
exports.outputValue = exports.createResourceIdentifiers = exports.createEnvironmentConfig = exports.HOSTED_ZONES = exports.AWS_ACCOUNTS = exports.REGION = exports.PROVIDER = exports.COMPANY_SLUG = exports.COMPANY_NAME = exports.DataProvider = exports.DataWarehouseGroupName = exports.DataWarehouseUserName = exports.Environment = void 0; | ||
const global_1 = require("./config/global"); | ||
@@ -16,2 +16,3 @@ Object.defineProperty(exports, "PROVIDER", { enumerable: true, get: function () { return global_1.PROVIDER; } }); | ||
Object.defineProperty(exports, "AWS_ACCOUNTS", { enumerable: true, get: function () { return environments_1.AWS_ACCOUNTS; } }); | ||
Object.defineProperty(exports, "HOSTED_ZONES", { enumerable: true, get: function () { return environments_1.HOSTED_ZONES; } }); | ||
Object.defineProperty(exports, "createEnvironmentConfig", { enumerable: true, get: function () { return environments_1.createEnvironmentConfig; } }); | ||
@@ -18,0 +19,0 @@ const createResourceIdentifiers_1 = require("./utils/createResourceIdentifiers"); |
{ | ||
"name": "@sgorg/datawarehouse-common", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Project to share constants and configuration across iac projects", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21962
291