@candlerip/shared 0.0.21 → 0.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "=22.19.0"
@@ -0,0 +1,2 @@
1
+ import { Envs } from '../environment-variables/index.js';
2
+ export type EnvironmentVariableName = keyof Envs;
@@ -1,3 +1,3 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './env-var-name/index.js';
3
- export * from './envs/index.js';
2
+ export * from './environment-variable-name/index.js';
3
+ export * from './environment-variables/index.js';
@@ -1,3 +1,3 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './env-var-name/index.js';
3
- export * from './envs/index.js';
2
+ export * from './environment-variable-name/index.js';
3
+ export * from './environment-variables/index.js';
@@ -1,2 +1,2 @@
1
- export * from './service-envs/index.js';
1
+ export * from './service-environment-variables/index.js';
2
2
  export * from './service-name/index.js';
@@ -1,2 +1,2 @@
1
- export * from './service-envs/index.js';
1
+ export * from './service-environment-variables/index.js';
2
2
  export * from './service-name/index.js';
@@ -0,0 +1,2 @@
1
+ import { ServiceEnvironmentVariables } from './type.js';
2
+ export declare const SERVICE_ENVIRONMENT_VARIABLES: ServiceEnvironmentVariables;
@@ -1,4 +1,4 @@
1
- export const SERVICE_ENVS = {
1
+ export const SERVICE_ENVIRONMENT_VARIABLES = {
2
2
  'environment-service': ['APP_NAME'],
3
3
  'cache-service': ['APP_NAME', 'MOBILE_APP_URL'],
4
4
  nginx: ['APP_PORT', 'EC2_IP_ADDRESS', 'SSL_PRIVATE_KEY'],
@@ -0,0 +1,5 @@
1
+ import { EnvironmentVariableName } from 'src/environment';
2
+ import { ServiceName } from '../service-name/index.js';
3
+ export type ServiceEnvironmentVariables = {
4
+ [key in ServiceName]: EnvironmentVariableName[];
5
+ };
@@ -1,2 +0,0 @@
1
- import { Envs } from '../envs/index.js';
2
- export type EnvVarName = keyof Envs;
@@ -1,2 +0,0 @@
1
- import { ServiceEnvs } from './type.js';
2
- export declare const SERVICE_ENVS: ServiceEnvs;
@@ -1,5 +0,0 @@
1
- import { EnvVarName } from 'src/environment';
2
- import { ServiceName } from '../service-name/index.js';
3
- export type ServiceEnvs = {
4
- [key in ServiceName]: EnvVarName[];
5
- };