@candlerip/shared3 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -3,10 +3,10 @@ export interface EnvironmentVariables {
3
3
  REDIS_PORT: number;
4
4
  REDIS_PWD: string;
5
5
  CACHE_SERVICE_PORT: number;
6
- CACHE_URL: string;
7
6
  DATABASE_URL: string;
8
7
  DICTIONARY_SERVICE_PORT: number;
9
8
  DOMAIN_NAME: string;
10
9
  FRONTEND_URL: string;
10
+ REDIS_URL: string;
11
11
  S3_IMAGES_BUCKET_NAME: string;
12
12
  }
@@ -1,2 +1,2 @@
1
1
  import { EnvironmentVariables } from '../../../../environment/index.js';
2
- export type CacheServiceProjectConfig = Pick<EnvironmentVariables, 'CACHE_SERVICE_PORT' | 'DATABASE_URL' | 'REDIS_PWD' | 'CACHE_URL'>;
2
+ export type CacheServiceProjectConfig = Pick<EnvironmentVariables, 'CACHE_SERVICE_PORT' | 'DATABASE_URL' | 'REDIS_PWD' | 'REDIS_URL'>;
@@ -0,0 +1,2 @@
1
+ import { EnvironmentVariables } from '../../../../environment/index.js';
2
+ export type LoggerServiceProjectConfig = Pick<EnvironmentVariables, 'DATABASE_URL'>;
@@ -4,6 +4,7 @@ import { CacheServiceProjectConfig } from '../cache-service-project-config/index
4
4
  import { DictionaryServiceProjectConfig } from '../dictionary-service-poject-config/index.js';
5
5
  import { ImagesInitProjectConfig } from '../images-init-project-config/index.js';
6
6
  import { ImagesProjectConfig } from '../images-project-config/index.js';
7
+ import { LoggerServiceProjectConfig } from '../logger-service-project-config/index.js';
7
8
  import { RedisProjectConfig } from '../redis-project-config/index.js';
8
9
  export type ProjectConfigMap = {
9
10
  'backend-project-config': BackendProjectConfig;
@@ -12,6 +13,6 @@ export type ProjectConfigMap = {
12
13
  'dictionary-service-project-config': DictionaryServiceProjectConfig;
13
14
  'images-project-config': ImagesProjectConfig;
14
15
  'images-init-project-config': ImagesInitProjectConfig;
15
- 'logger-project-config': CacheServiceProjectConfig;
16
+ 'logger-service-project-config': LoggerServiceProjectConfig;
16
17
  'redis-project-config': RedisProjectConfig;
17
18
  };
@@ -1 +1 @@
1
- export declare const PROJECT_CONFIG_NAMES: readonly ["backend-init-project-config", "backend-project-config", "cache-service-project-config", "dictionary-service-project-config", "images-project-config", "images-init-project-config", "logger-project-config", "redis-project-config"];
1
+ export declare const PROJECT_CONFIG_NAMES: readonly ["backend-init-project-config", "backend-project-config", "cache-service-project-config", "dictionary-service-project-config", "images-project-config", "images-init-project-config", "logger-service-project-config", "redis-project-config"];
@@ -5,6 +5,6 @@ export const PROJECT_CONFIG_NAMES = [
5
5
  'dictionary-service-project-config',
6
6
  'images-project-config',
7
7
  'images-init-project-config',
8
- 'logger-project-config',
8
+ 'logger-service-project-config',
9
9
  'redis-project-config',
10
10
  ];
@@ -1,2 +0,0 @@
1
- import { EnvironmentVariables } from '../../../../environment/index.js';
2
- export type LoggerProjectConfig = Pick<EnvironmentVariables, 'DATABASE_URL'>;